Steve,

> About to upgrade Amavisd-new and SpamAssassin in a number of gateways
> which I administer, and I was expecting to be able to configure to send
> "ordinary" spam (say 5.0 to 15) to one quarantine (an email address on
> the main mail server), and Really Bad spam (15+) to a local address on
> my gateway/spamfiltering box.
> I had thought that there were features in v2.3.3 which would allow me to
> do this, but now that I come to do it I can't see how to. Of course,
> "sa_quarantine_cutoff_level" *will* allow me to completely discard
> high-scoring spam, but I'm reluctant to go that far.
> Any easy way to achieve what I'm after?

1. set kill level at 15, which will quarantine mail with core above 15 to
the 'really bad spam' quarantine, configurable with $spam_quarantine_to
(can be a mail address).

2. set tag2_level at 5, which will tag spam with score above 5.
Rewrite recipient address for mail above (possibly per-recipient)
tag2_level by appending address extension, e.g. '+spam':
  $recipient_delimiter = '+';
  @addr_extension_spam_maps = ('spam');

3. use Postfix virtual maps (e.g. pcre-based) to rewrite addresses of the form
[EMAIL PROTECTED] to any address you like, e.g.:

/^(.*)\+spam@([EMAIL PROTECTED])\.example\.com$/   [EMAIL PROTECTED]

See:
  http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext

Mark


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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