Re: [exim] Message ID's / Message tracking

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Andrew Johnson
CC: exim-users
Tárgy: Re: [exim] Message ID's / Message tracking
On Wed, 8 Jun 2005, Andrew Johnson wrote:

> I have a number of Exim instances running in a load balanced environment
> that pass the emails through a 3rd party Virus scanning appliance. However
> the disadvantage of this is that when the appliance passes back the email, I
> get a different Exim Message-ID generated. I know I can store the ID in an
> X-Header, but is there any way of displaying this X-Header in a log file so
> that I can track the message through the logs to see where in the platform
> the message has got to.


There is already a header that does exactly what you want. It is called
Message-ID. Exim includes it in the <= log line. The contents of
Message-ID: are supposed to be unique for every message. You may want to
consider what to do if an incoming message does not have a Message-ID.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book