procmail
[Top] [All Lists]

Re: Problem with missing "Message-ID:"

2005-04-28 07:22:24
Am 2005-04-28 15:21:21, schrieb Ruud H.G. van Tol:
Klaus Johannes Rusch schreef:

 |/usr/bin/perl5 -n -p -e 's/^Message-Id: (.*)$/Message-Id: <$1>/'

Aaargh, please learn formail.

But Formail wiil remove the "Message-ID:" Header and write a new one.
I want to keep the "Message-ID" and add only the "< >" to it.

But why perl if

    |sed 's/^Message-Id: (.*)$/Message-Id: <$1>/'

Greetings
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)

Attachment: 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