[Pkg-exim4-users] Two Message-ID headers - filter out to only one?

Andreas Metzler ametzler at bebt.de
Sat Sep 20 16:50:56 UTC 2014


On 2014-09-15 "Bruce A. Bergman" <bruceb at fatcity.com> wrote:
[...]
> to users. When it does so, it seems to insert its own Message-ID header, and
> that results in two Message-ID headers in the outgoing message. Some remote
[...]
> Looking at the outgoing message, I see:

>    Message-ID: <6a6f578b3e36ac79970664a958f99a57 at www.example.com>  <--
> presumably generated by exim4
>    [...]
>    Message-Id: <20140829202747.39484800 at www.example.com>  <-- WordPress
> plugin generated

> Is there any rule I can insert that would take one of the Message-ID headers
> out of a message before it is sent on? I don't think it really matters which
> one is kept... This isn't a big deal; it's really more of an annoyance than
> anything, but if I could nix it, I'd be happy. :)

Hello,

Neither of your M-ID headers is generated by exim, the format is not
the one exim would use.
<http://www.exim.org/exim-html-current/doc/html/spec_html/ch-message_processing.html#SECID226>

Also exim should not add a Message-ID if it is missing:
---------------------------------------------------
(SID)ametzler at argenau:/tmp/AUTOGEN/autogen-5.18.4$ cat /tmp/message-with-id
Date: Sat, 20 Sep 2014 18:35:05 +0200
To: ametzler at localhost
From: ametzler at bebt.de
Subject: test with ID
Message-ID: <ohs1eo3pungaebeejuonaeh6EimeeTheighaeniquouzu at midonly.argenau.bebt.
de>

This is a test mailing
(SID)ametzler at argenau:/tmp/AUTOGEN/autogen-5.18.4$ cat /tmp/message-no-id
Date: Sat, 20 Sep 2014 18:35:05 +0200
To: ametzler at localhost
From: ametzler at bebt.de
Subject: test without ID - added by exim

This is a test mailing
ametzler at argenau:~/GIT/writing/autogen$ swaks -s localhost -f ametzler at bebt.de -
t ametzler at localhost --data /tmp/message-with-id
[...]
ametzler at argenau:~/GIT/writing/autogen$ swaks -s localhost -f ametzler at bebt.de -
t ametzler at localhost --data /tmp/message-no-id
[...]
---------------------------------------------------
Which results in these delivered messages:
Subject: test with ID
Message-ID: <ohs1eo3pungaebeejuonaeh6EimeeTheighaeniquouzu at midonly.argenau.bebt.de>
[...]
Subject: test without ID - added by exim
Message-Id: <E1XVNh8-0001c0-6r at midonly.argenau.bebt.de>
---------------------------------------------------

I am sorry that this is not helpful beyond "you need to search
somewhere else".

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-users mailing list