[Mailman-Users] Mailman is rewriting Message-Id

Roel Wagenaar roel at wagenaar.nu
Wed Nov 13 18:47:58 CET 2013

"Stephen J. Turnbull" <stephen at xemacs.org> wrote:

> Roel Wagenaar writes:
>  > Seems to work fine, unfortunatily mailman is rewriting the Message-Id
of the
>  > injected emails.
> Seems very unlikely to me.  The code you propose changing should prevent
> that already.  How did you determine that Mailman is rewriting the
> Message-Id?
> I suspect that what is actually happening is that you have an MUA that
> does not set Message-ID and you are CC'ing yourself to check.  Somehow the
> message gets to Mailman without a Message-ID, so Mailman (or something
> before Mailman in the process) adds one to the post it distributes, and
> something (probably your MTA on the way back in to your mailbox) adds one
> independently to the CC that you receive.
> There are several other possible explanations (besides Mailman altering an
> existing Message-ID, which can't be completely ruled out but I'd bet a
> euro against a yen that something else is doing it), as well, but you
> haven't given enough information to diagnose the issue.
>  > Is it save to alter /usr/lib/mailman/Mailman/Message.py so that the
>  > 
>  >         if not self.has_key('message-id'):
>  >             self['Message-ID'] = Utils.unique_message_id(mlist)
>  > 
>  > is changed into:
>  > 
>  >         if not self.has_key('message-id'):
>  >             self['List-Message-ID'] = Utils.unique_message_id(mlist)
> No, it's not safe.  Messages really should have a message ID according to
> the RFCs, and if Mailman receives a message without one, it should add
> one.  Lack of a Message ID will mess up threading in archives and MUAs, as
> most likely each downstream recipient will get a different Message ID,
> just as you do.

Roel Wagenaar,

Linux-User #469851 with the Linux Counter; http://linuxcounter.net/

Antw.: Omdat het de volgorde verstoord waarin mensen tekst lezen.
Vraag: Waarom is top-posting een slechte gewoonte?
Antw.: Top-posting.
Vraag: Wat is het meest ergerlijke in e-mail?

Always remember you're unique, just like everyone else.

More information about the Mailman-Users mailing list