On Sun, Apr 28, 2002 at 02:47:22PM +0200, [EMAIL PROTECTED] wrote: > However to rid my private inbox of that last 5% of spam I'd like to only > accept messages from a list of addresses...
Relatively untested, but how about: # check whitelist. reverse the sense of the fgrep... FROM=`formail -rtzxTo:` :0: * ? /bin/fgrep -qvxis "$FROM" $HOME/.whitelist junkmail Should work well enough. I did something like this in front of my domain filter (I dump all hotmail.com, for example, but there are a couple I *do* want). -- Marc Wilson [EMAIL PROTECTED] [EMAIL PROTECTED]