[ale] procmail whitelist

David S. Jackson deepbsd at earthlink.net
Wed Sep 24 10:06:22 EDT 2003


On Sun, Sep 21, 2003 at 07:50:04PM -0400 Joe Steele <joe at madewell.com> wrote:
> Here's an example you could modify to suit your 
> needs (some code from spambouncer.org):
> 
> WHITELIST=${HOME}/.whitelist
> :0
> * ? test -f ${WHITELIST} && (formail \
>                                 -zxList-Id: \
>                                 -zxCc: \
>                                 -zxFrom: \
>                                 -zxResent-By: \
>                                 -zxResent-From: \
>                                 -zxResent-Sender: \
>                                 -zxResent-To: \
>                                 -zxReply-To: \
>                                 -zxSender: \
>                                 -zxTo: \
>     | grep -i -f ${WHITELIST})
> ${HOME}/inbox/friends

Cool.  This looks like an interesting way to do it too.

-- 
David S. Jackson                                dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lewis's Law of Travel:
	The first piece of luggage out of the chute doesn't
	belong to anyone, ever.



More information about the Ale mailing list