procmail
[Top] [All Lists]

Question about filtering by criteria in the body

2006-10-17 22:57:54
         In an ongoing effort to get rid of all this gawd awful image spam, 
until the new OCR spam filtering system is in place, I'm looking at 
temporarily implementing a solution that I hope will do what I need for the 
time being.  I'm looking at doing a rule that will grab the criteria '<img 
alt="" ' in the body (all the image spam seems to use a blank alt with the 
image tag in exactly the same way from what I can tell) and automatically 
flag it as image spam and toss it in a new folder.  It's a test for now, 
and a stopgap, so I'm well aware of the 1% potential for false 
positives.  But since that's not likely to be an issue with me, I'm more 
than happy to do it.  Here's what I'm thinking will work, but rather than 
risk having it crash and not filter anything, I'd like your opinion to see 
if this would catch the requested image spam and sort it into another folder.

# This addition filters viruses
:0
* B ?? \<img src=\"\"
mail/images

         Would that little rule work?  Thanks in advance.


Steven Lake
Owner/Technical Writer
Raiden's Realm
www.raiden.net
A friendly web community



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail