Re: Using vars in condition test?1995-12-19 13:59:48Is is possible to use variables in the condition line like yes. # Assign variable LISTNAME=procmail :0 * ^To:.*$LISTNAME procmail-folder How do I make procmail expand $LISTNAME before sending the test to egrep? Use "$" (as described in the procmailrc man page): :0 * $ ^To:.*$LISTNAME procmail-folder If you think LISTNAME might have characters meaningful to regexp and you don't want them to be interpreted as regexps, use $\LISTNAME (v3.11): :0 * $ ^To:.*$\LISTNAME Alan
|
|