Peter wrote:

> --- Gary V <[EMAIL PROTECTED]> wrote:

>> Peter wrote:
>> 
>> > --- Joshua wrote:
>> 
>> >> On Tuesday 12 December 2006 17:56, Peter Matulis wrote:
>> >> > Is there currently a feature (not a hack) in amavisd-new that
>> >> allows
>> >> > for the deletion/discard of mail with SA scores greater than a
>> >> > specified value?
>> >> 
>> >> Look for $sa_kill_level_deflt in the config file.
>> 
>> > I'm using this setting to determine what is spam.  My evasive
>> action is
>> > D_PASS.  I want to keep doing this until the SA score reaches
>> another
>> > specified value at which point my evasive action becomes D_DISCARD.
>> 
>> > Peter
>> 
>> But $sa_tag2_level_deflt determines what is spam.

> Sorry, yes, I currently have

> $sa_tag2_level_deflt = $sa_kill_level_deflt

>> Set $sa_kill_level_deflt to the score at which you wish to discard,
>> then set $final_spam_destiny to D_DISCARD.

> Then what happens to mail between those two values?  Clearly I'm
> missing something here.  I want it to be passed (D_PASS).

It is passed to the recipient (and marked as spam).

>> $sa_tag2_level_deflt = 5;
>> $sa_kill_level_deflt = 20;
>> 
>> Now spam will get quarantined at 20. If you don't want this high
>> scoring spam to get quarantined then you would set:
>> 
>> spam_quarantine_to = undef;
>> 
>> Alternately you could keep some spam in the quarantine:
>> $sa_tag2_level_deflt = 5;
>> $sa_kill_level_deflt = 15;
>> $sa_quarantine_cutoff_level = 25;

> I don't want to do any quarantining at all.  I achieve this by having
> 'spam_quarantine_to' commented out.

If you are using amavisd-new 20030616-Px, then this will prevent
quarantining, but if you are running a newer version, or you were
to upgrade from the old version to a new version, then you will
have to set:
spam_quarantine_to = undef;

This is because in versions 2.0 and newer the default is to quarantine
locally. The default in 20030616-p10 and older was to not quarantine.

>  Nowhere do you mention D_PASS.  Why?

The action described in $final_spam_destiny does not occur until you
reach $sa_kill_level_deflt. $sa_kill_level_deflt is also the point at
which quarantining occurs. You want to discard this mail, so you cannot
set $final_spam_destiny = D_PASS;
You want to set:
$final_spam_destiny = D_DISCARD;
(or possibly)
$final_spam_destiny = D_BOUNCE;

This may help:
http://www200.pair.com/mecham/spam/amavisd-settings.html

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to