procmail
[Top] [All Lists]

Re: Simplest Whitelist?

2003-11-27 11:29:44
On Nov 27, 2003, at 5:50 AM, Tim Rice wrote:

# Deliver Whitelist addresses

My Favorite is as follows:

        :0
        * ? [ -s $HOME/.whitelist ]
        * ? fgrep -iqf $HOME/.whitelist
        $DEFAULT

The first line checks to see if the .whitelist file exists.
The second line checks ALL the headers against the lines in the .whitelist,
and if any one of them matches...

We find this quite versitile and servicable.

Caveats:

1) No blank lines in the .whitelist, or "Everything Matches!"
2) Don't put the user's own email address in the whitelist.

Aloha mai Nai`a!
--
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."


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

<Prev in Thread] Current Thread [Next in Thread>