Re: [AMaViS-user] Can spam be both stored locally and passed on to a common email?

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'; &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-19-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Can spam be both stored locally and passed on to a common email?

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/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0