procmail
[Top] [All Lists]

Re: Problem with missing "Message-ID:"

2005-04-28 07:25:33
Am 2005-04-28 14:44:51, schrieb Dallman Ross:
On Thu, Apr 28, 2005 at 02:11:51PM +0200, Michelle Konzack wrote:

  __( '/home/michelle.konzack/.procmailrc' )____________________________
 /
| ####################################################################
| # Correcting broken Messge-id: header
| :0 fhw
| * ! ^Message-ID:
| | formail -a Message-ID:
 \______________________________________________________________________

Yes it works, but now I have encountered a new problem.

If the "Message-ID:" is

Message-ID: 20050428140913(_dot_)12345(_at_)freenet(_dot_)de

I can not repaire broken Mail-Threads, because the "Message-ID:"
Header should be:

Message-ID: <20050428140913(_dot_)12345(_at_)freenet(_dot_)de>
            ^                               ^

So how can I correct this problem ?

I don't follow, because formail -a Message-Id: does add
the < and > symbols to the Message-Id it creates.

This is right and I have tested it like you

  2:44pm [~/Mail] 318[0]> formail -a Message-Id: < /dev/null
 From foo(_at_)bar  Thu Apr 28 14:44:23 2005
 Message-Id: 
<A(_dot_)A(_dot_)7CE(_dot_)nqNcCB(_at_)panix5(_dot_)panix(_dot_)com>

But what I like to have, IF the "Message-ID:" header exist
but it is a broken, I like to add the missing "< >" to it.
 
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)

____________________________________________________________
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