procmail
[Top] [All Lists]

Re: Why - > No match on "^To:.*${TO}"

2004-08-29 10:55:00
"Dallman Ross" <dman(_at_)nomotek(_dot_)com> schrieb im Newsbeitrag
news:20040829164620(_dot_)GB12059(_at_)panix(_dot_)com(_dot_)(_dot_)(_dot_)

TO=`formail -x "To:" | sed -e "s/^.*<//" | sed -e "s/>.*$//"`

That is much messier than it needs to be.

Try just

   TO=`formail -IReply-To: -fzrx To:`

This will give me the adress from the sender... and not the adress vom
the reciver

Thomas




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