procmail
[Top] [All Lists]

Re: Error on recipe

2003-03-13 05:55:52
Laurent Balloy skribis:

:0H
* ^TO_.*(cadeaurelation\.com)

:0HE:
* ^X-RCPT-TO: <\/[^@<>]+
$MAILDIR/`/usr/sbin/postalias -q $MATCH /etc/postfix/aliases`

The ^TO_ is for specific addresses, use ^TO for other strings. 
The H-flag is the default. Further the recipes can be combined.

 :0:
 * ! ^TO(cadeaurelation\.com)
 *   ^X-RCPT-TO: <\/[^@<>]+
 $MAILDIR/`/usr/sbin/postalias -q $MATCH /etc/postfix/aliases`

What if MATCH contains a space?


-- 
Affijn, Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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