hello mark,
I saw that you are the main author of amavis. thanks for the input - I think
this is the definitely the solution for me. I have just updated amavisd-new on
my FreeBSD testmachine from the ports tree to 2.5.0.
now my example config is
$sa_tag_level_deflt = -900;
$sa_tag2_level_deflt = 0.2;
$sa_kill_level_deflt = $sa_tag2_level_deflt;
$spam_quarantine_to = "[EMAIL PROTECTED]";
to send all mail above 0.2 points to [EMAIL PROTECTED]
if I understand you and the example correct, there is no problem to generate a
second (rest of all) quarantine - but how can I define a second quarantine
email ? it would be nice, for example: [EMAIL PROTECTED] for all mail above
$sa_tag3_level_deflt = 8. local quarantine on the UNIX machine is not always
questioned.
thanks for the capable and accurate answers to this mailing list.
greetings from austria
arno
amavisd.conf example:
---------------------
# a quick reference:
# tag_level contents category: CC_CLEAN,
# controls adding the X-Spam-Status and X-Spam-Level headers,
# tag2_level contents category: CC_SPAMMY,
# controls adding 'X-Spam-Flag: YES', editing (tagging) Subject,
# and adding address extensions,
# tag3_level contents category: CC_SPAMMY, minor category 1,
# like tag2, but may insert different Subject tag
# e.g. @spam_subject_tag3_maps=('***BLATANT*SPAM*** ');
# kill_level contents category: CC_SPAM,
# controls 'evasive actions' (reject, quarantine);
# it only makes sense to maintain the relationship:
# tag_level <= tag2_level <= tag3_level <= kill_level <
# < dsn_cutoff_level <= quarantine_cutoff_level
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mark Martinec
Gesendet: Donnerstag, 7. Juni 2007 12:49
An: [email protected]
Betreff: Re: [AMaViS-user] two quarantines
Arno,
> we use amavisd-new with a sendmail sandwich config - it works very well
> there is always a single quarantine at "tag2-level" defined.
> now some organisations (mostly large ones) want to define two
> quarantines.
> - one with score between tag2-level and about 6 points and
> - one with all the spams above 6 points
> is this possible with amavisd-new ?
With recent versions of amavisd-new (2.5.1, 2.5.0) it is
possible to make use of $tag3_level and *_by_ccat configurations.
Tag3 is similar to tag2, both turn on CC_SPAMMY contents category,
while tag3 also turns on a minor contents category 1 (in addition
to the default 0 as tag2 does).
The following relation is common:
tag <= tag2 <= tag3 <= kill level
The usual quarantining takes place at kill level.
To turn on also quarantining at tag3 level (which is: CC_SPAMMY,1 ),
and direct it to a dedicated directory, something like the following
can be used:
$sa_tag2_level_deflt = 6.2; # add 'spam' headers at that level
$sa_tag3_level_deflt = 8; # add 'blatant spam' headers
# optional but nice:
@spam_subject_tag2_maps = ('***SPAM*** _SCORE_ ');
@spam_subject_tag3_maps = ('***BLATANT*SPAM**** _SCORE_ ');
# quarantining at tag2 level (optional)
$quarantine_to_maps_by_ccat{+CC_SPAMMY} = ['spam-quarantine'];
$quarantine_method_by_ccat{+CC_SPAMMY} = 'local:spammy2/%m.gz';
# quarantining at tag3 level (this is the one we are talking about)
$quarantine_to_maps_by_ccat{CC_SPAMMY.",1"} = ['spam-quarantine'];
$quarantine_method_by_ccat{CC_SPAMMY.",1"} = 'local:spammy3/%m.gz';
# quarantining at kill level (a default, stated explicitly)
$quarantine_to_maps_by_ccat{+CC_SPAM} = ['spam-quarantine'];
$quarantine_method_by_ccat{+CC_SPAM} = 'local:spam/%m.gz';
Note that quarantining controls are independent from passing/blocking mail.
Mail is blocked at kill level (unless destiny is D_PASS or recipient is
*_lover), this is hard-wired.
Mark
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/