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

Bruce A. Bergman bruceb at fatcity.com
Mon Sep 22 16:13:42 UTC 2014


Thanks Andreas. Actually, WHO put the headers in there is less important 
to me than knowing how to get them out. :) I didn't honestly think about 
whether exim4 was adding the header or not, or else I would have come to 
the same conclusion as you, so thanks for setting that part straight.

However, my main question was (and still is): how I can I get rid of the 
excess header? Is there a rule I can create in exim4 that will remove an 
extra header of a particular type? If there is, I think that'll be an 
excellent way to clean this issue up.

Thanks!
bruce

On 2014-09-21 05:00, pkg-exim4-users-request at lists.alioth.debian.org 
wrote:

> From: Andreas Metzler <ametzler at bebt.de>
> 
> 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@##str_replacement_1##> 
>> <-- presumably generated by exim4 [...] Message-Id: 
>> <20140829202747.39484800@##str_replacement_2##> <-- 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 
> [1]>
> 
> 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'


Links:
------
[1] 
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-message_processing.html#SECID226



More information about the Pkg-exim4-users mailing list