Evan Platt a écrit :
> At 11:22 AM 7/16/2009, you wrote:
>> I have a postfix/SA setup and I was wondering if anyone knew how to
>> COPY an email marked as spam instead of redirecting.
>> Not this:
>> /^X-Spam-Flag: YES/   REDIRECT spam...@example.com

if you use amavisd-new, configure it to add a "+spam" extension. then in
postfix, use recipient_bcc_maps:

/^(.*)\+s...@example\.com$/  somebox...@example.net

I am assuming you use '+' as an extension delimiter.


if you don't want to use amavisd-new, then it's easier to do this in
your delivery agent (dovecot+sieve, maildrop, ... etc). otherwise, you
can use FILTER instead of REDIRECT to pass the message to a script
(which will need to resubmit mail. beware of infinite loops here).

> 
> As that's really a postfix question, not a SpamAssassin question, if you
> don't get an answer here you may want to try on a postfix mailing list. 

indeed.

Reply via email to