On Thu, May 22, 2025 at 03:34:39PM +0200, Leonardo Boselli via Exim-users wrote:
> the domain is good, also it is addressed to leo@myhost , not to > leo@myhost.****.** so it should anyway find the address in > /etc/hosts My remote armchair diagnosis: Mail routing does not use /etc/hosts. Exim needs to look up the MX record for the domain to route it. In the cases when it works, what happens is that exim makes a query for MX on myhost, and the resolver qualifies myhost to myhost.example.com based on "domain" or "search" directives in /etc/resolv.conf. When it doesn't work, the automatic qualify still happens, but the actual DNS query (with the full domain) fails. What is your local_domains option set to? It is those domains, and *only* those, literally spelled, which will, in a normal configuration, bypass any DNS lookup. -- Ian -- ## 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/