procmail
[Top] [All Lists]

Re: help for a newbie

2004-11-28 16:36:16
* jondola(_at_)mtaonline(_dot_)net <jondola(_at_)mtaonline(_dot_)net> :
The white list I'm refering to is a list of email addresses, one per line.
Also should the whitelist be only the mail address, and not something along
the lines of: name name <name(_at_)internet(_dot_)addy>, in the fashion of 
mutt's 
alias file?

I use mutt, and my ~/.aliases file as (one of) my whitelists.  Here
is what I do :

WHITELIST=$HOME/.aliases
WHITE=white

:0:
* ^From:.*\/[A-Za-z0-9_(_dot_)+-]+(_at_)[A-Za-z0-9_(_dot_)+-]+
* ? grep -i "$MATCH" $WHITELIST
$WHITE

So your whitelist can be the aliases file type format, or just a
list of addresses.

-- 
T R O Y  P I G G I N S
e : troy(_at_)piggo(_dot_)com

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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