https://exim.org/exim-html-current/doc/html/spec_html/ch-address_rewriting.html
says:
> There are some circumstances in which Exim automatically rewrites
> domains in addresses. The two most common are when an address is given
> without a domain (referred to as an “unqualified address”) or when an
> address contains an abbreviated domain that is expanded by DNS lookup.
While the first part works for me:
trying to send mail to "sergio" exim treats it as unqualified address,
and qualifies it it with qualify_domain,
the second part does not:
trying to send mail to "sergio@not-fqdn-host" exim says "Unrouteable
address". It doesn't treat it as unqualified address, and doesn't tries
to qualify it. dnslookup router doesn't help, debug shows:
dnslookup router called for sergio@not-fqdn-host
domain = not-fqdn-host
not-fqdn-host in "*"? yes (matched "*")
DNS lookup of not-fqdn-host (MX) gave HOST_NOT_FOUND
returning DNS_NOMATCH
not-fqdn-host MX DNSSEC
dnslookup router declined for sergio@not-fqdn-host
"more" is false: skipping remaining routers
no more routers
It's true not-fqdn-host has no MX record, but has address:
$ host not-fqdn-host
host.fqdn.tld has address 10.1.1.1
mx_domains is not set.
1. Is it possible to make exim treat not-fqdn-host as unqualified
address, or only address without domain can be unqualified?
2. Hot to lookup fqdn address?
exim 4.92-8+deb10u3, debian buster
--
sergio.