Peter,

> We store spam locally in the amavisd server, like this:
> $spam_quarantine_method = 'local:spam-%b-%i-%n.gz';
>
> Now there is a request that all spam should also be
> sent on to a mail account in another server, like this:
> $spam_quarantine_to = "spamblock\@";
>
> Is it possible to combine these two, and how do I write
> in amavisd.conf?

There can be only one quarantining mechanism at a time.

By combining two similar mechanisms you can pretty much
achieve what you need with a bit of a trick:

- keep quarantining at what you currently have,
  this will store mail above kill level to local file system;

- additionally, set:
    @spam_lovers_maps = (1);
  which will make everyone receive his spam;

- and set:
    @addr_extension_spam_maps = ('spam');
    recipient_delimiter = '+';
  which will rewrite every recipient address of local recipients
  for mail with spam score above tag2_level to: [EMAIL PROTECTED]

- configure Postfix virtual alias mapping (pcre-based)
  to rewrite addresses like [EMAIL PROTECTED] to [EMAIL PROTECTED]
  (see http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext )

(you may want to keep tag2_level the same value as kill_level
for consistency)

  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