procmail
[Top] [All Lists]

Re: Variables in conditions

2002-05-29 18:54:11
In an older episode (29.05.2002, 18:22:42), Andrew Edelstein
<andrew(_at_)pure-chaos(_dot_)com> wrote:

* TO${MYVAR}
isn't matched, nor is
* TO$MYVAR or * TO ${MYVAR}(_at_)doma(_dot_)in

could someone point me in the right direction?

Are you sure you're using "TO${MYVAR}"? The correct form would be
"^TO${MYVAR}".
The ^ is important.

now i used:
* ^TO${LISTNAME}
and the log says:
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To)
:(.*[^a-zA-Z])?)${LISTNAME}"

:(

wolfgang

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