I would like to add the message ID the accepting system is using.
Consider these scrubbed log entries (just protecting mail addresses)
The additional detail I want is (sendmail example)
(Ok: queued as CBB8034800E0)
domain.tld is not real
2008-05-07 17:20:12 1Jtr3c-0004Gf-Ss <= efr@???
H=([10.100.118.57]) [10.100.118.57] P=esmtp S=2514
id=D2EEB5BA-6F67-41D6-A989-78747BB08EB7@???
2008-05-07 17:20:13 1Jtr3c-0004Gf-Ss => kag@??? R=dnslookup
T=remote_smtp H=relay.domain.tld [10.99.50.150]
X=TLSv1:DHE-RSA-AES256-SHA:256
2008-05-07 17:20:13 1Jtr3c-0004Gf-Ss -> mco@??? R=dnslookup
T=remote_smtp H=relay.domain.tld [10.99.50.150]
X=TLSv1:DHE-RSA-AES256-SHA:256
2008-05-07 17:20:13 1Jtr3c-0004Gf-Ss Completed
sendmail would log detail like this...
May 7 17:25:23 mail sendmail[1945]: m47LPNb01943: to=dtho@???,
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31356,
relay=mailserver.domain.tld. [10.99.50.150], dsn=2.0.0, stat=Sent (Ok:
queued as CBB8034800E0)
Since exim is my relay server I need to be able to correlate messages
between systems. Time stamps are not as reliable.