thx a lot , I have edited the required_hits (it is 98) in local.cf already,
however it still
marked my mails are spam.

I post partial local.cf here. thx a lot for all~~~

(I can't find the amavis score in amavisd.conf)

=================================================================
###      this is local.cf    ###
required_hits           98
rewrite_subject         1
#use_bayes              1
#bayes_path             /etc/mail/.spamassassin/bayes
#auto_learn             1
skip_rbl_checks         0
#use_razor2             1
#use_dcc                        1
#use_pyzor              1
always_add_headers      0
#dcc_add_header         0
report_safe             0
use_terse_report        0
spam_level_stars        1
dns_available           yes


=================================================================
###   this is amavisd.conf  (part of) ###

use strict;

$mydomain = 'haha.com';      # (no useful default)

$daemon_user  = 'clamav';       # (no default;  customary: vscan or amavis)
$daemon_group = 'clamav';       # (no default;  customary: vscan or amavis)

$TEMPBASE = "$MYHOME/tmp";     # prefer to keep home dir /var/amavis clean?

$ENV{TMPDIR} = $TEMPBASE;       # wise to set TMPDIR, but not obligatory
$forward_method = 'smtp:127.0.0.1:10025';  # where to forward checked mail
$notify_method = $forward_method;          # where to submit notifications

$max_servers  =  2;   # number of pre-forked children          (default 2)
$max_requests = 10;   # retire a child after that many accepts (default 10)

$child_timeout=5*60;  # abort child if it does not complete each task in n
sec

$unix_socketname = "$MYHOME/amavisd.sock"; # amavis helper protocol socket

$inet_socket_port = 10024;        # accept SMTP on this local TCP port
@inet_acl = qw( 127.0.0.1 );      # allow SMTP access only from localhost IP

$DO_SYSLOG = 0;                   # (defaults to false)
$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)

$log_level = 2;           # (defaults to 0)

$log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type
(%F)]|INFECTED (%V)], #
<%o> -> [<%R>|,][? %i ||, quarantine %i], Message-ID: %m, Hits: %c';


$final_virus_destiny      = D_BOUNCE;  # (defaults to D_BOUNCE)
$final_banned_destiny     = D_BOUNCE;  # (defaults to D_BOUNCE)
$final_spam_destiny       = D_BOUNCE;  # (defaults to D_REJECT)
$final_bad_header_destiny = D_PASS;  # (defaults to D_PASS), D_BOUNCE
suggested

$viruses_that_fake_sender_re = new_RE(
  qr'nimda|hybris|klez|bugbear|yaha|braid|sobig|fizzer|palyh|peido|holar'i,
  qr'tanatos|lentin|bridex|mimail|trojan\.dropper|dumaru|parite|spaces'i,
  qr'dloader|galil|gibe|swen|netwatch|bics|sbrowse|sober|rox|val(hal)?la'i,

qr'frethem|sircam|be?agle|tanx|mydoom|novarg|shimg|netsky|somefool|moodown'i
,
  qr'@mm|@MM',    # mass mailing viruses as labeled by f-prot and uvscan
  qr'Worm'i,      # worms as labeled by ClamAV, Kaspersky, etc
  [qr'^(EICAR|Joke\.|Junk\.)'i         => 0],
  [qr'^(WM97|OF97|W95/CIH-|JS/Fort)'i  => 0],
  [qr/.*/ => 1],  # true by default  (remove or comment-out if undesired)
);


$spam_admin = "[EMAIL PROTECTED]";
$mailfrom_notify_admin     = "[EMAIL PROTECTED]";
$mailfrom_notify_recip     = "[EMAIL PROTECTED]";
$mailfrom_notify_spamadmin = "[EMAIL PROTECTED]";

$mailfrom_to_quarantine = '';   # override sender address with null return
path


$QUARANTINEDIR = "$MYHOME/quarantine";

$virus_quarantine_to = new_RE(                # per-recip multiple
quarantines
$spam_quarantine_to = 'spam-quarantine';
$X_HEADER_TAG = 'X-Virus-Scanned';      # (default: undef)
$X_HEADER_LINE = "by amavisd-new at $mydomain";

$undecipherable_subject_tag = 'HKNCS: ***This mail has not been scanned***
';  # undef disables it

$remove_existing_x_scanned_headers = 0; # leave existing X-Virus-Scanned
alone
$remove_existing_spam_headers  = 1;     # remove existing spam headers if

$keep_decoded_original_re = new_RE(
  qr'^MAIL-UNDECIPHERABLE$',  # retain full mail if it contains
undecipherables
  qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
);





=================================================================

----- Original Message ----- 
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: "ml" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 08, 2004 9:52 PM
Subject: Re: not enough score marked as spam???


> At 05:54 PM 6/8/04 +0800, ml wrote:
> >     The below message is that amavisd sent to admin, said:  "(11.6
> > points, 98.0 required)"
> >why it notice me that is a spam even the points didn't meet the
requirement ?
>
> You're using amavis.. amavis does not honor SA's required_hits and uses
> it's own thresholds.
>
> I suspect your problem is that you edited required_hits in your local.cf,
> but did not reconfigure amavis.
>
> If that's not the problem, care to show us what your amavis and SA score
> options look like?
>
>

Reply via email to