procmail
[Top] [All Lists]

Re: Filtering Forwarded Email.

2005-03-09 17:29:37
Sean wrote,

:0
| formail -I "X-Envelope-From:" | $DELIVERY

Delivery was set to $1 in a settings file, and this handles further piped
delivery just fine.  You could just use $1, but this variable assignment
makes it easier to follow in the rcfile.

You can't use $1. Procmail will invoke a shell to run that command line, so $1 would be replaced with whatever is $1 in the shell's invocation. Saving it in an ordinary variable is the proper way to go.

____________________________________________________________
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>