procmail
[Top] [All Lists]

RE: Checking the Message Body for certain words

2004-03-19 18:08:50


-----Original Message-----
From: Robert Krueger
Sent: Friday, March 19, 2004 2:58 PM

Hi,
  I have this simple little one-liner that should check the message body
and search for any of these words.  Upon finding a match, it should send
the email to red-spam.  Or at least I thought it should work this way.
But it doesn't.   I still get this viagra crap, but I don't know why.
Can someone tell me why?  ( The *'s are to make the line PG Rated )

# A last little check of the email body for especially repugnant stuff. 
:0: * B ?? (**ick|**nt|**ck|***sy|viagra)
red-spam

Robert,

You may be able to tune up your patterns to match the variant of the
v-word present in the example that you gave, but you may soon find that
most spam disquises the text in the body via base64, html, and other
encodings. Simple procmail scripts, and greps, won't be able to find
those obfuscated words.


_______________________________________________
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>