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.
* ? ($FORMAIL -x From: -x Sender: -x Reply-To: | fgrep -iqf $SPAMMERS)
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
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