How to fix Exim SMTP AUTH rewritting the from address

June 08, 2012 at 07:55 AM | categories: Tips, Exim, Email | View Comments

When using SMTP Authentication with exim and the default configuration you will find that exim rewrites the sender address to "email@address"@smtp_server_hostname

Return-Path:    <"andrew@topdog.za.net"@xxxx.xxxx.co.za>
...
Sender:     "andrew@topdog.za.net"@xxxx.xxxx.co.za
...

To fix this you need to modify your acl_check_rcp acl and add sender_retain to control.

accept  authenticated = *
          control       = submission/sender_retain

Restart exim and you are good to go.


blog comments powered by Disqus