On Fri, 2013-08-23 at 17:22 +0100, Jeremy Harris wrote: > On 23/08/13 17:09, John Horne wrote: > > 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 "<[email protected]>" from smtp recipient rewritten > > as "[email protected]" > > =================== > > The Id is assigned when a message is accepted, > So at the DATA stage. That is after SMTP rewrites.
The problem is, as far as I can tell, is that if I use the 'E', 'F' or 'T' rewrite flags instead, then I still get no message id (since were not at the DATA stage yet), and if I wait until the DATA stage I have then lost the chance to have the SMTP addresses rewritten. I think we might have to do this a different way, by allowing the 'plym.ac.uk' domain in without any SMTP rewriting. We can then log that the domain has been used during the DATA ACL. John. -- John Horne, Plymouth University, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 -- ## 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/
