Thank you for the incredible help so far.
I have another newbie question.
My etc/procmailrc is growing and is becoming hard to track.
Is there a way that I organize the spam detection in the BODY of the
message to fgrep certain words that I was told to filter out?
I read a tutorial that uses fgrep from entire messages against headers.
Something like.
#
SPAMMERS=/etc/SPAMMERS
:0
* ? ($FORMAIL -x From: -x Sender: -x Reply-To: | fgrep -iqf $SPAMMERS)
/dev/null
This works extremely well if the spammers didn't use bogus information
in these headers.
Is there a way to apply the same thing but for message body?
In other words.
Let's assume that I have SPAMMERS file containing words that we need to
filter.
viagra
incest
slut
mortgage
And other words.
How do I check against the message body and not the headers?
Looking at the above, is it possible to check against the subject line
too, (-x Subject:)?
As always, thank you for all the help.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail