procmail
[Top] [All Lists]

Using a variable in condition

2008-02-14 05:15:05
Hi there,

I'm afraid this is a dumb question.

I'm trying to youse a pre-defined variable in the condition-line (this
is my test-example).

PMLIST="^(To|Cc)(_dot_)*procmail(_at_)lists\(_dot_)RWTH-Aachen\(_dot_)DE"
:0 #Jens
* $PMLIST
| $DELIVERMAIL -e -a jens -m user.jens.Listen.procmail

But it won't work. The 'normal' way, everything works out fine.

:0 #Jens
* ^(To|Cc)(_dot_)*procmail(_at_)lists\(_dot_)RWTH-Aachen\(_dot_)DE
| $DELIVERMAIL -e -a jens -m user.jens.Listen.procmail

Can anyone give me a hint?

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