procmail
[Top] [All Lists]

Re: mysql & green/black list

2003-03-18 11:06:07


On Tue, 18 Mar 2003 08:15:09 -0600 Jason Crowe 
<jcrowe(_at_)midwestglove(_dot_)com> wrote:

#for the blacklist
* ? ($FORMAIL -x From: -x Sender: -x Reply-To: -x Received: | $FGREP -iqf
$SPAMMERS)

# for the whitelist
* ? ($FORMAIL -x From: -x Sender: -x Resent-From: | $FGREP -iqf $FRIENDS)

Won't this only work if you have complete email addresses listed in the
$SPAMMERS & $FRIENDS list. If some cases I have blacklisted whole domains
while in others I have only black listed specific email addresses.

I list ONLY domains in the blacklist file to block whole domains, for obvious
reasons. my whitelist file is complete emailaddresses, again for obvious
reasons.

If you put a complete address in the blacklist, only mails with the complete
address will get blocked. it's a simple (f)grep.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail