Salam Mohamed,
Am 2005-02-08 17:56:44, schrieb Mohamed Badri:
Hi,
OTRE=`formail -xX-Original-To | /bin/sed -e 's/@.*//' -e 's/ //'`
It's quite simple, but after a lot of modifications, it still don't work.
the email address is in "X-Original-To" header field.
Can you send the FULL "X-original-To:" Header line ?
I have to use " instead of ' and the Header with : and a <SPACE> must
be quoted in sed like
OTRE=`formail -x X-Original-To: | /bin/sed -e "s/@.*//" -e "s/\ //"`
what's wrong with his procmailrc ?
thank's for your help.
Salam
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature
____________________________________________________________
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