Hello,
Using Exim 4.80.1 I am logging rewritten SMTP addresses using
'log_selector = +address_rewrite' and the 'S' rewrite flag.
As an example of what is logged:
===================
2013-08-23 16:34:37 "<abc@???>" from smtp recipient rewritten
as "abc@???"
===================
This is okay, but is there any way to tie up the logged message with the
Exim message id (i.e. something like 1VCtXO-0005Wt-M2)?
I'll take a stab at this and assume that the message id has not been
assigned yet to the actual message, so it can't be logged?
I would like to process the logs to see who is sending email to us using
the old '@plym.ac.uk' domain, but need to ensure that the message was
actually delivered. (I'm going to ignore messages which are rejected due
to spam/malware etc.) Obviously using the message id, and looking for a
'=> or '->', indicates that it was accepted and delivered. Not sure how
I can do that without the message id though.
Any thoughts?
Thanks,
John.
--
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001