Re: Clarification about qurantine vs. D_DISCARD
Damian <[email protected]> Sat, 7 Oct 2023 09:15:10 +0200
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
> I am reading amavis documentation and would like some clarification > about the way amavis is handeling the a message score by SpamAssassin. > > With a configuration like: > > $sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level > $sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level > $sa_kill_level_deflt = 15.0; # triggers spam evasive actions (e.g. blocks mail) > $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off > ... > $final_spam_destiny = D_DISCARD; > > I am trying to understand if the action will be: > > - a mail with a score less than 5 is not spam and delivered to the > recipient > - a mail with a score between 5 and 14.99 is tagged and delivered to the > recipient > - a mail with a score above 15 is quarantined and not delivered > - a mail with a score above 25 is not quarantined and not delivered > > In other words, $final_spam_destiny is triggered by @sa_kill_level_deflt > and not by @sa_tag2_level_deflt. > > Am I understanding properly? The kill level is a threshold above which the mail will be categorized as CC_SPAM. $final_spam_destiny is a setting pertaining to CC_SPAM, yes. However, it defines what to do with the original mail, not whether to quarantine it. That would be separate settings.