On Sun, Aug 29, 2004 at 07:42:44PM +0200, Thomas Creutz wrote:
"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
Yes, I didn't read carefully. Here:
TO=`formail -I Reply-To: -I Return-Path: -I From -R To: From: -fzrx From:`
--
dman
____________________________________________________________
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