On Tue, 18 Mar 2003 06:51:54 -0500, David Turley <dturley(_at_)pobox(_dot_)com>
On Mon, 17 Mar 2003 23:49:46 -0800 Multimedia Fan
# check against whitelist
* ? ($FORMAIL -x From: -x Sender: -x Resent-From: | $FGREP -iqf
But when I try similar recipe for a blacklisted body filtering.
# Check against blacklist
* ? ($FGREP -if $blacklist)
I'm wondering why you don't use the same type of test in both cases, especilly
since you know the first works? Spammers addresses are going to be in the
headers, not the body. I can managed the majority of my mail with two rules.
(Although the catch the other 20%it takes several dozend more rules. :-)
#for the blacklist
* ? ($FORMAIL -x From: -x Sender: -x Reply-To: -x Received: | $FGREP -iqf
# for the whitelist
* ? ($FORMAIL -x From: -x Sender: -x Resent-From: | $FGREP -iqf $FRIENDS)
I would like to thank you, since it was your procmail samples that were
the ones I read and learned from.
As for my black list, the problem is I don't black list by the address
in the headers, since spammers are morphing these from one to another.
For that I am using SBL 's database
And then lookup whois arin.net's whois database to obtain the spammers
netblock and then use etc/mail/access to refuse emails.
# Custom Offers LLC
216.109.73 550 Sorry, we do accept spam
I am trying to filter some words in the body of the message that we have
policy against and spammers who advertise their web sites.
procmail mailing list