-----Original Message-----
From: Matee Moshkovits
Sent: Wednesday, February 08, 2006 8:27 AM
I need to do some complex filtering and dont know how. here is the suto
code ... and I need to know how to do it in procmail spamkiller=" a long
list of email addresses that spammers target on my system"
if TO = spamkiller then
if somepart of the body = " things spammer use in email like the words
online pharmacy" then dump to $HOME/mail/mail/SPAM
else if somepart of the body= "other things spammers use in emails like
"advertise with us" then dump to $HOME/mail/mail/SPAM
some more else if statments.
Spamassassin offers a better technical solution, if you can afford
the cpu cycles. Case in point: spammers often base64 encode their
spam messages. Therefore, a procmail recipe won't even "see" the
clear text form of the spam pattern it is looking for. Spamassassin
will decode the message body before applying its scoring rules.
- Gary
____________________________________________________________
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