<div dir="ltr">You need to set<br>$sa_kill_level_deflt = 8.9;<br>$final_spam_destiny = D_DISCARD;<br><br><div><div><br>On Thu, Nov 28, 2013 at 8:11 PM, Sharma, Ashish via amavis-users <<a href="mailto:amavis-users@amavis.org">amavis-users@amavis.org</a>> wrote:<br>
><br>> All,<br>><br>> I have a postfix, amavisd-new, content filter setup.<br>><br>> I use Amavisd-new to just add spam scores in the mail headers and rest of the logic to treat that email is taken care in the Content filter after that.<br>
><br>> Right now I have a spam score threshold of 6.9, emails above that are tagged as spam and are forwarded to content filter.<br>><br>> What I intend to do now is to change this setup so that mails with spam score up to 8.9 go to content filter but mails having more spam score than that should be discarded plainly by Amavisd-new, but I don't know how to do that or even it is possible with amavisd-new at all or not.<br>
><br>> Please help me on the above.<br>><br>> Following are my amavisd.conf settings for reference:<br>><br>> $sa_tag_level_deflt = -999; # add spam info headers if at, or above that level<br>> $sa_tag2_level_deflt = 6.9; # add 'spam detected' headers at that level<br>
> $sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail)<br>> $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent<br>> $sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid From<br>
> # $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off<br>> $penpals_bonus_score = 8; # (no effect without a @storage_sql_dsn database)<br>> $penpals_threshold_high = $sa_kill_level_deflt; # don't waste time on hi spam<br>
> $bounce_killer_score = 100; # spam score points to add for joe-jobbed bounces<br>><br>> $final_virus_destiny = D_PASS;<br>> $final_spam_destiny = D_PASS;<br>> $final_banned_destiny = D_PASS;<br>
> $final_bad_header_destiny = D_PASS;<br>><br>> Thanks<br>> Ashish Sharma</div></div></div>