procmail
[Top] [All Lists]

Setting Environment Variables in Procmail

1997-06-06 14:38:00
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? 

Thanks. :)

--
Catherine

<Prev in Thread] Current Thread [Next in Thread>