On 2025/04/12 10:29 PM, Sander ter Steege via Exim-users wrote:
This is my first post to this list, so if I missed finding this info in a FAQ 
somewhere, please forgive me.

You're in the right place to be asking.

I’m configuring a new exim server (4.98 on Almalinux 9) to replace a really old 
one (4.63 on CentOS 5) and I’m running into problems when sending mail for 
authenticated users.
I’ve checked if exim knows its local domains using exim -bt and it does 
recognise the local user without any problem.
However when I try to send an email using a MTA exim adds the value of the 
primary_hostname after the authenticated username even if it contains a valid 
local email address and I’m completely puzzled why it would do this.

So when I try to send an email from u...@example.com it works without a 
problem, but as soon as I try the same using Thunderbird as an MTA it changes 
the from to “u...@examle.com”@primary_hostname.com

Does anyone have a hint where to start looking?

The Exim docs are at https://exim.org/docs.html - use the appropriate
version for your exim binary, as you primary reference.

Appending a domain is usually under the control of the "qualify_domain" option -
but that only operates on "addresses that do not have a domain qualification".
So, something else is doing this, and without an appropriate check.

You could use the debug facilities to observe the processing done on a
message, looking for the place the modification is applied.
--
Cheers,
  Jeremy

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to