[Mailman-Users] Mailman is rewriting Message-Id
Barry Warsaw
barry at list.org
Wed Nov 13 17:02:15 CET 2013
On Nov 13, 2013, at 02:53 PM, Roel Wagenaar wrote:
>Seems to work fine, unfortunatily mailman is rewriting the Message-Id of the
>injected emails.
>
>From info on the web I was led to believe this should not happen, however I
>can not find a config option to overrule this behaviour.
>
>Is it save to alter /usr/lib/mailman/Mailman/Message.py so that the section:
>
> 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)
That code will only add a Message-ID if the inject message is missing that
header. It can't be involved in "rewriting" it.
-Barry
More information about the Mailman-Users
mailing list