On 10/30/07, Voytek Eymont wrote:

> >> On Sat, October 20, 2007 2:45 am, Gary V wrote:
>
> >
> > For spam, quarantine is triggered by kill_level, so, to prevent spam
> > from getting quarantined, you could set kill_level high (like 9999). For
> > example:
> >
> >
> > $sa_kill_level_deflt = 9999;
> >
> >
> > This means the user should get all the spam, with spam above
> > tag2_level addressed to [EMAIL PROTECTED]
> >
> > Exactly what is it you want to do with a message that has a bad header?
> > For example, if you want to pass bad_header messages and prevent them
> > from getting quarantined, you could set:
> >
> > $final_bad_header_destiny = D_PASS;
> > and:
> > $bad_header_quarantine_to = undef;
>
>
> I was thinking of:
>
> deleting virus emails;

$final_virus_destiny = D_DISCARD;
$virus_quarantine_to = undef;

> delivering to 'Spam' both spam and badheader;
> quarantining banned files
>

$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS;
$recipient_delimiter = '+';
@addr_extension_spam_maps = ('spam');
@addr_extension_bad_header_maps = ('spam');
$sa_tag2_level_deflt = 6.31; # or whatever is reasonable to you
# address is changed to user+spam at $sa_tag2_level_deflt
$sa_kill_level_deflt = 9999;

Actually, since your users may eventually be able to set their own
kill_level, you may want to set:
$final_spam_destiny = D_DISCARD;

Provided you have a spam quarantine, this will allow them to
quarantine spam (at some kill_level that they set), and not get a
second copy in their spam folder. Then, you need to decide how you are
going to quarantine spam - in my setup I quarantine to SQL and use
MailZU. This way the users can access their individual quarantines.
It's not a good idea to let users discard anything they want however.
In other words, if you do not have a spam quarantine, they could set
their kill_level at 1.0 and loose a lot of legitmate mail. If you
decide to disable spam quarantine, then you should set:
$final_bad_header_destiny = D_PASS;
so users don't loose mail. Just don't configure your system in such a
way that the users are allowed to do stupid things.

To sum up, (as suggestions) you can either D_PASS and disable spam
quarantine, or enable spam quarantine and D_DISCARD. In the first
case, the kill_level setting will not affect what goes in the spam
folder, and in the second case, it will.

Since you are passing bad_header messages, you may not want (or need)
another copy in a quarantine, so you should be able to disable
bad_header quarantine (as mentioned previously):

$bad_header_quarantine_to = undef;

Personally, I'm not convinced all mail with bad headers should be
treated as spam.

> --
> Voytek

-- 
Gary V

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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