Im trying to setup procmail to use a white list file ~/mail/white.lst Each email in the file is on a new line like..

[EMAIL PROTECTED]
[EMAIL PROTECTED]
etc...

In my procmail.rc file ive got this

# Test if the email's sender is in the whitelist
:0
* ? formail -x"From" -x"From:" -x"Sender:" \
    -x"Reply-To:" -x"Return-Path:" -x"To:" \
    | egrep -is -f white.lst
{
  LOG="White Listed -- "
  :0:
   ${DEFAULT}
}

but the problem is every email that is proccessd is marked as a "White Listed -- " email and so nothing ever reaches the spam filters (in the next rule) Can anyone help me?

--
Stuart
...slowly but surley the pengines are stelling my thoughts, so leave a message now...


_______________________________________________
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish

Reply via email to