procmail
[Top] [All Lists]

Re: .forward and .procmailrc issue - Want to classify mail first andonly forward non-spam

2009-11-16 14:41:33
On Mon, 16 Nov 2009, David Carvalho wrote:
How can I avoid this, if it seems that .forward
Is processed earlier than .procmailrc ?

In ~user/.procmailrc (after all spam scanning)...

:0
!forwardingaddress(_at_)otherdomain(_dot_)tld

Beware of issues with SPF and the Envelope From used to forward the mail..... You may have to pipe mail to sendmail instead....

- C
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail