procmail
[Top] [All Lists]

Variable substitution in condition

2003-02-27 12:30:30
Hello,

I am trying to write a recipe which is something like this.

A VAR is set by reading a list from a file. EX. VAR=foo|bar|abra|cad|
I want to expand it in a recipe. Like:

:0
* ^To.*(${VAR}).*

I know the whole line after '*' is sent literally. How can I expand it
or How can I write such recipe with a functionality like this?

Thank You.
-- 
vikram...
~~~~~~~~~~~~~~~~~~~~~~~~~~
Matter will be damaged in direct proportion to its value.
-- 
~|~
 =
Registered Linux User #285795

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