Anders,

> I'd like to have all mail tagged above $sa_tag2_level_deflt delivered to
> the quarantine, and a warning sent to the recipient about the fact that
> there's a mail in the quarantine, and not pass the mail on until released.

Although doable, you are trying to use tag2_level mechanisms for
something they were not designed for, instead of using kill_level
for the purpose. Most defaults are wrong for your purpose.

tag2 mechanisms are intended for filtering at the LDA or MUA stage:
it normally affects header editing, defanging, adding address extensions,
but not quarantining, because mail above tag2 level (and below kill) level 
DOES get delivered to user (so there is no need for quarantine), and if a 
user decides to delete it or redirect it to a separate folder (procmail or 
similar), it's his choice.

> What happens now is that the sender gets a DSN. Spam admin gets
> informed, and the recipient gets the original e-mail defanged and the
> warning text prepended.
> If I disable the defaning, the recipient gets the original mail with
> subject changed.
> In these cases, the quarantine is absolutely of no use, since the
> messages are delivered anyway...

Let's first rewrite your request:

- have all mail tagged above KILL LEVEL delivered to the quarantine,

already a default;
Set kill level as appropriate (your current tag2_level setting).


- and a warning sent to the recipient about the fact that
  there's a mail in the quarantine,

this is nor particularly useful, especially for spam - why replace
one junk mail with another junk mail with a need for two actions
instead of one for the user to verify his suspect mail.

But if you insist:
  $warnrecip_maps_by_ccat{+CC_SPAM} = 1;

A better choice may be to let quarantine management software
collect daily summary of quarantined messages and send that
to user as a single message.


- and not pass the mail on until released.

Already a default at kill_level.


> What happens now is that the sender gets a DSN.

Bounce for can be suppressed, eithe unconditionally:
  $final_spam_destiny = D_DISCARD;

or based high spam level:
  $final_spam_destiny = D_BOUNCE;
  $sa_dsn_cutoff_level = 12;


> Spam admin gets informed,

To turn off spam admin notifications:

  @spam_admin_maps = ();


Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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