Newsgroup: it.comp.os.linux.sys
Titolo: amavisd livelli spam

riformulo la domanda backscatering, poichè he messo di far passare la
posta e consegnarla in spam,
 
solo che sta arrivando di tutto, vorrei capire come settare amavisd in
maniera che dopo il  valore di spam score 6.0 l'email venga direttamente
cancellata, senza inviare nessun messaggio quindi _DISCARD credo
 
adesso entra in spam messaggi fino a questo livello
 
X-Quarantine-ID: <rmbSftLR1Wj2>
X-Virus-Scanned: amavisd-new at 
bitit.it
 
X-Spam-Flag: YES
X-Spam-Score: 14.74
X-Spam-Level: **************
X-Spam-Status: Yes, score=14.74 tagged_above=2 required=5
tests=[BAYES_99=3.5, BAYES_999=0.2, HELO_MISC_IP=0.001,
HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, MIME_HTML_ONLY=0.723,
     PHP_ORIG_SCRIPT=2.337, RCVD_IN_BL_SPAMCOP_NET=1.347,
     RCVD_IN_BRBL_LASTEXT=1.449, RCVD_IN_PSBL=2.7, RCVD_IN_RP_RNBL=1.31,
     RDNS_NONE=0.793, SPF_FAIL=0.001, URIBL_BLOCKED=0.001]
autolearn=spam Received: from 
bitit.it
 ([127.0.0.1])
 
 
questo è parte di quello che  quello che ho in amavisd.conf
-----
$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above
that level
 
$sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g.
blocks mail)
 
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely
valid From # $sa_quarantine_cutoff_level = 25; # spam level beyond
which quarantine is off $penpals_bonus_score = 8;    # (no effect
without a @storage_sql_dsn database) $penpals_threshold_high =
$sa_kill_level_deflt;  # don't waste time on hi spam
$bounce_killer_score = 100;  # spam score points to add for joe-jobbed
bounces
 
$sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail
is larger $sa_local_tests_only = 0;    # only tests which do not
require internet access?
 
# @lookup_sql_dsn =
#   ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306', 'user1',
'passwd1'], #     ['DBI:mysql:database=mail;host=host2', 'username2',
'password2'], #     ["DBI:SQLite:dbname=$MYHOME/sql/mail_prefs.sqlite",
'', ''] ); # @storage_sql_dsn = @lookup_sql_dsn;  # none, same, or
separate database
 
# $timestamp_fmt_mysql = 1; # if using MySQL *and* msgs.time_iso is
TIMESTAMP; #   defaults to 0, which is good for non-MySQL or if
msgs.time_iso is CHAR(16)
 
$virus_admin               = undef;                    # notifications
recip.
 
$mailfrom_notify_admin     = undef;                    # notifications
sender $mailfrom_notify_recip     = undef;                    #
notifications sender $mailfrom_notify_spamadmin =
undef;                    # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender
if undef
 
@addr_extension_virus_maps      = ('virus');
@addr_extension_banned_maps     = ('banned');
@addr_extension_spam_maps       = ('spam');
@addr_extension_bad_header_maps = ('badh');
# $recipient_delimiter = '+';  # undef disables address extensions
altogether # when enabling addr extensions do also Postfix/
main.cf
:
recipient_delimiter=+
 
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
# $dspam = 'dspam';
 
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA =      100*1024;  # bytes  (default undef, not
enforced) $MAX_EXPANSION_QUOTA = 300*1024*1024;  # bytes  (default
undef, not enforced)
 
$sa_spam_subject_tag = '***Spam*** ';
$defang_virus  = 1;  # MIME-wrap passed infected mail
$defang_banned = 1;  # MIME-wrap passed mail containing banned name
# for defanging bad headers only turn on certain minor contents
categories: $defang_by_ccat{CC_BADH.",3"} = 1;  # NUL or CR character
in header $defang_by_ccat{CC_BADH.",5"} = 1;  # header line longer than
998 characters $defang_by_ccat{CC_BADH.",6"} = 1;  # header field
syntax error
 
 
# OTHER MORE COMMON SETTINGS (defaults may suffice):
 
# $myhostname = '
host.example.com
';  # must be a fully-qualified domain
name!
 
# $notify_method  = 'smtp:[127.0.0.1]:10025';
# $forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with
milter!
 
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
 
$final_spam_destiny       = D_BOUNCE;   #!!!  D_DISCARD / D_REJECT
#$final_spam_destiny       = D_PASS;   #!!!  D_DISCARD / D_REJECT
$final_bad_header_destiny = D_BOUNCE;
 
----- 
 
grazie enrico
 

 
 se ho capito bene è questo parametro :
$sa_quarantine_cutoff_level 
 
 
giusto?
 

 
 
UFF. perchè in spam arriva posta con spam-score  oltre 15 punti?
 
$sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g.
blocks mail)
 
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely
valid From 
$sa_quarantine_cutoff_level = 8; # spam level beyond
