I'm having a problem at the moment on a corporate e-mail server whereby Exim is appending its server hostname onto the end of the sender's e-mail address, despite that e-mail address already being fully qualified.
For example, a user sends an e-mail from:
the.sender@mycompany.co.uk
and Exim is changing this to:
"the.sender@mycompany.co.uk"@corp-2.mycompany.co.uk
This is no longer a valid e-mail address and as a result receiving mail servers usually reject the message because it can't verify the sender.
Exim config at: http://pastebin.com/4nS6T1Aw
Exim output from a dummy delivery (exim -bh) at: http://pastebin.com/UTXC8RuR
From the looks of it, something weird is going on with quotation marks and I think Exim's tripping itself up, but I'm scratching my head on this one and would appreciate any help!
Thanks
"control = submission/sender_retain/domain=".
Removing the empty "/domain=" modifier fixed it!
I realise that that modifier was unnecessary unless I wanted to alter the sender's domain (which I didn't), so in effect I was blanking out the sender's original domain and then leaving Exim to pick up the pieces as best it could.
– Matt Aug 07 '14 at 15:01sender="duncan@domain"@domain– Dessa Simpson Aug 16 '18 at 04:33