procmail
[Top] [All Lists]

Extract senders address

2008-06-05 02:04:13
Why can't I extract senders address according to these rules in Timo's
procmail tips?
http://lipas.uwasa.fi/~ts/info/proctips.html#replyto


REPLYTO_=`formail -cXReply-To: | head -1 | formail -rtzxTo:`

or

REPLYTO_=`egrep "^Reply-To:" | head -1 \
         | formail -c -rt -xTo: \
         | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`

Variable REPLYTO_ is allways foo(_at_)bar

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