Re: [exim] Exim not always logging Message-ID

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Mike Brudenell
日付:  
To: Exim Users
題目: Re: [exim] Exim not always logging Message-ID
Hi, Jeremy -

We used to compile Exim from source, but current policy here now is to use
the version from the Ubuntu distribution: the LTS version, sadly, so I
don't get fixes for up to 2 years. (So it might be something I need to
discuss again with our Head of Group. :-)

I've just posted a follow-up message (which you've probably read by now)
with my analysis of why I think it's not getting logged. The TL;DR version
is:

1. Missing Message-ID value gets generated and header added to message
structure
2. …but isn't recorded in the msgid_header variable
3. …so the logging code later sees msgid_header is still NULL so doesn't
log anything for the message-id.

I'll send in a bug report detailing this and discuss returning to compiling
from source with colleagues.

Cheers,
Mike B-)


On 1 June 2016 at 12:55, Jeremy Harris <jgh@???> wrote:

> On 01/06/16 12:16, Mike Brudenell wrote:
> > However if the message arriving over SMTP *does not include* a
> > "Message-ID:" header then no value gets logged.
>
> Not looked at the source yet, but that's kinda-reasonable: what
> was there at accept time is logged.
>
>
> > Is this a bug/oversight?
>
> Both?
>
> > Is it a feature I could request, or are there technical reasons why it
> > couldn't be logged?
>
> I doubt you've missed anything, and it is a reasonable request
> ( https://bugs.exim.org/ please ). Would you prefer a separate
> log line? Message-ID on delivery lines? An Event raised?
>
>
> > This is making it a real pain to try and trace a message generated by an
> > on-site system, sent out through Exim on our local gateways to an
> external
> > host, which (I think, but am trying to prove) is relaying it back to our
> > Google-hosted mailboxes. The message-id would be the information to link
> > the outgoing entry in Exim's logs to the incoming messages in Google's
> logs
> > whilst having no access to the logs of the intermediate server.
>
> Aha. I was going to suggest the confirmation (C=) field, but you
> just torpedoed that...
>
> Sounds like you would like a quick patch to test :)
> Can you compile from source?
> --
> Cheers,
> Jeremy
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/





--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm