procmail
[Top] [All Lists]

Re: filter mail using .aliases file

2004-04-22 23:36:24
LuKreme wrote:

On 20 Apr 2004, at 20d, 17:32, Troy Piggins wrote:

:0:
* ? formail -x "From:" -x "From" -x "Sender:" \
 | egrep -i -is -f $PROCMAILDIR/whitelist
white


:0 h
CLEANFROM=|formail -IReply-To: -rtzxTo:

WHITELIST=$HOME/.aliases

:0
*  * $ ? formail -IReply-To: -rtzxTo: | egrep -w \"$CLEANFROM\"
white

might work.


Thanks, mate.  Will try.

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

_______________________________________________
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>