This is a discussion on Re: [AMaViS-user] Can spam be both stored locally and passed on to a common email? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Peter, > We store spam locally in the amavisd server, like this: > $spam_quarantine_method = 'local:spam-%b-%i-%n.gz'; &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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: user+spam@domain - configure Postfix virtual alias mapping (pcre-based) to rewrite addresses like user+spam@domain to spamblock@wherever (see http://www.ijs.si/software/amavisd/a...s.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=...057&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|