procmail
[Top] [All Lists]

Re: Deleting Unsubscribe mails

1996-10-28 09:59:42
Zach Babayco asked,

| On one of the lists that I subscribe to, there are at least 4 or 5 people 
| each day that send unsubscribe messages to the list.  Worse, none of them 
| can spell it right.  "unsiscribe", "unsuvscribe", etc.  I've been able to 
| filter them out if they put it in the header, but I don't know what to do 
| to get Procmail to search the message body.  How can I do this?  

Look at the procmailrc(5) man page.  The `B' flag on a recipe tells procmail
to search the body instead of the head.  `HB' or `BH' tells procmail to
search the entire text.  `H' (search only the body) is the default.  They
can be overridden for individual condition lines.

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