At 02:09 PM 6/6/97 -0700, Catherine Hampton wrote:
I've got a recipe that attempts to set an environment variable. It looks
like this:
:0:
* (^FROM_MAILER|\
^From.*[^0-9a-z]abuse@|\
^From(_dot_)*[^0-9a-z]dummy(_at_)c-zone\(_dot_)net|\
^From.*[^0-9a-z]hostmaster@|\
^From(_dot_)*[^0-9a-z]mattm(_at_)idci\(_dot_)net|\
^From.*[^0-9a-z]nobody@|\
^From.*[^0-9a-z]noc@|\
^From(_dot_)*[^0-9a-z]NotesServer1(_at_)hotmail\(_dot_)com|\
^From.*[^0-9a-z]spam@|\
^From.*[^0-9a-z]support@)
ADMINTAG=yes
This causes all mail which matches to be saved in a folder named
ADMINTAG=yes, which is (obviously) not what I wanted. How do I make
procmail understand it is to set the variable and then move on?
I believe you need curly braces, as in:
{ ADMINTAG=yes }
(the spaces are important for parsing reasons I forget right now :-)
Cheers,
Stan