procmail
[Top] [All Lists]

Re: forwarding to two places, and appending info to header

2002-11-21 13:09:36
On Thu, 21-Nov-2002, at 08:26:42 -0700, terry(_at_)terrytraub(_dot_)org wrote:
    # check the "live" list for approved addresses and header keywords
    :0c:
{
* ? formail -x"From" -x"From:" -x"Sender:" -x"Reply-To:" -x"Return-Path:" -x"To:" -x"Received:" -x"Subject:" | grep -iF --file=live.txt
    ${MAILDIR}/regular.mail

    # Also forward it to web mail (how to combine both actions?)
    :0
<SNIP>
    !blisterpeanuts(_at_)yahoo(_dot_)com
}


should do it.

--
Generalizations are always inaccurate.  -Mugsy


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