On Tue, 18 Mar 2003 08:15:09 -0600 Jason Crowe
#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)
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
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