On 19 Nov 2003, at 00:31, Vicki Brown wrote:
:0
* ? formail -x"From" -x"From:" -x"Sender:" \
-x"Reply-To:" -x"Return-Path:" -x"To:" \
| egrep -is -f ${FILTERDIR}/whitelist
${DEFAULT}
I use this:
.friends consists of the following:
StringPatternToMatch Path/To/Mailbox
service(_at_)paypal(_dot_)com eTailers/Paypal
amazon.com eTailers/Amazon
fred(_at_)domain(_dot_)tld Friends/Fred.Smith
boss(_at_)corporate(_dot_)tld Business/PHB
CLEANFROM=|formail -IReply-To: -rtzxTo:
FRIENDS=$HOME/.friends
ISLISTED=`grep -i "^$CLEANFROM " $FRIENDS`
:0
* ISLISTED ?? ^[^ ]+[ ]+\/[^ ]+
{
DUMMY=`touch $UNAME`
:0:
$MLDIR/$MATCH
}
--
"I do not feel obliged to believe that same God who endowed us with
sense, reason, and intellect had intended for us to forego their use."
-Galileo
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail