On Thu, 13 Nov 2003, Robert Allerstorfer wrote:
RA>
RA> But, if I say
RA>
RA> C = "['/@#_!=,;: \\\"\`\$\.\*\+\-\?\^\(\)\[]"
RA>
RA> :0
RA> * ^Subject:.*(v$C?iagra)
RA> $MYSPAM
RA>
RA> id does not work. The log says:
RA>
RA> procmail: Assigning "C=['/@#_!=,;: \"`$\.\*\+\-\?\^\(\)\[]"
RA> procmail: No match on "^Subject:.*(v$C?iagra)"
RA>
RA> Can anybody please point me what I did wrong?
RA>
I can see two things. You need to tell procmail to expand the variable
and you need to make sure it can identify that the variable is C rather
than, for example, C?iagra.
* $ ^Subject:.*(v${C}?iagra)
Alan
( Please do not email me AS WELL as replying to the list. Please
address personal email to alan+1@ as lists@ is not read. A
password autoresponder may be invoked if this email is very old. )
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail