I had a recipe:
:0 E
* $ ^TO_(${MARP_REPLY_FROM}|${MARP_REPLY_TO})
* $ ^subject:.*${MARP_MUNGED_PASSWORD}
* ^FROM_MAILER
{
but hit two related problems.
Where the subject is:
Subject: Re: Marp plus address test (password is rockand??roll - please
remove the question marks and reply)
and $MARP_MUNGED_PASSWORD is "rockand??roll"
I don't get a match. I assume this is because the ?? characters are being
used as in a regular expression.
Similar problem if the address is test+marp(_at_)clifford(_dot_)ac in the
variables.
I have tried grep instead, with success:
* ? echo "${MARP_TOCC}" | grep -s -e "${MARP_REPLY_FROM}\|${MARP_REPLY_TO}"
with previously set MARP_TOCC=`formail -cz -x to: -x cc:`
Is there a procmail solution rather than using grep?
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