procmail
[Top] [All Lists]

Re: How can I forward an email?

2010-07-07 15:57:32
On Wed, 7 Jul 2010, proc1(_at_)fuckaround(_dot_)org wrote:
:0 c
* ^From:.*(fenix)
{
 :0c
 !user2(_at_)fuckaround(_dot_)org

 :0
 fenix
}

You've used the 'c' correctly inside the braces. It will forward to user2
and then also procees the recipe to deliver to the 'fenix' folder.

But the 'c' on the outside recipe will also cause the entire recipe to be treated as a duplicate, and with no other recipes after it, procmail will deliver a copy to the 'default' mail folder, in parallel with everything between the braces.

- 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

<Prev in Thread] Current Thread [Next in Thread>