procmail
[Top] [All Lists]

Re: Correcting broken Message-ID:

2007-07-19 10:30:25
Am 2007-07-13 16:56:45, schrieb Michelle Konzack:
############################################################
#  ATTENTION:  I am currently NOT in Strasbourg because    #
#              haveing the last 4 weeks of my military     #
#              service and can not reply in short delays.  #
############################################################

Hello,

I like the 'mutt' feature to repare broken threads but sometimes it does
not work because they are:

        Message-ID: 12345(_dot_)67890(_at_)somedomain(_dot_)tld

but according to the RFC it should be

        Message-ID: <12345(_dot_)67890(_at_)somedomain(_dot_)tld>

So, now I have in my "procmailrc" at the beginning following construct:

----[ '~/.procmailrc' ]-----------------------------------------
:0fhw
* ! ^Message-ID:
| formail -a Message-ID:

:0
* ! ^Message-ID:.*<.*>
{
  MSGID=`formail -czx Message-ID: |sed 's/<> //g'`

               Oops, - should be:    sed 's/.*[<> ]//g'
  
  :0fw
  |formail -I "Message-ID: <${MSGID}>"
}
----------------------------------------------------------------

and like to know, whether someone has a better solution for it.

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    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

------------------------- END OF REPLIED MESSAGE -------------------------
######################################################################
   ATTENTION  ATTENTION  ATTENTION  ATTENTION  ATTENTION  ATTENTION
   I am currently NOT in Strasbourg because I have the last
   17 days of my military service and can not reply in short delays.
######################################################################

*********************************************************************
* Do not Cc: me, because I am on THIS list, if I write here.        *
* Keine Cc: an mich, bin auf DIESER Liste wenn ich hier schreibe.   *
* Ne me mettez pas en Cc:, je suis sur CETTE liste, si j'ecris ici. *
*********************************************************************

Hello, 


Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    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

<Prev in Thread] Current Thread [Next in Thread>