procmail
[Top] [All Lists]

Re: How to discard messages with a particular word in the body from a blacklist?

2002-12-09 11:49:30
At 11:05 2002-12-09 -0700, Scott Wiersdorf wrote:

   ## put all your words and phrases here
    :0:
    * B ?? this is spam
    * B ?? can anybody help me
    * B ?? sentence or word matching from a blacklist
    /var/log/spam

This would require _all_ of those phrases to match, and each phrase would need to be on the same line (newline != ' '). Also, joe schmuck probably doesn't have write perms to /var/log/ - perhaps you're expecting the above is executed from /etc/procmailrc, rather than from a users own .procmailrc?

:0:
* 9876543210^0 B ?? this\>+is\>+spam
* 9876543210^0 B ?? can\>+anybody\>+help\>+me
* 9876543210^0 B ?? sentence\>+or\>+word\>+matching\>+from\>+a\>+blacklist
spew.mbx

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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