On Wed, 8 Jun 2005, Andrew Johnson wrote:

> That's my problem, it's "supposed" to be unique, and it may not have one at
> all... So what I need is a way of either replacing it with the Exim
> generated one (And writing that to the log file), or somehow sending the
> X-Header where I would put the Exim generated one to the Log file.

Replacing an existing Message-ID: is a Bad Idea, since it is supposed to
uniquely identify a message. Adding one when there is none is trivial,
and has been discussed on this list before.

Adding your own X-Header and writing it to the log file is trivial in a
DATA ACL. However, it would be in a separate log line, not in the <= 
line that would follow.

Making sure there is no such X-Header in incoming messages 
from outside is easy if you can easily identify "outside" hosts (e.g. by 
IP address).

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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to