Re: verify recipient - temp error instead of perm error

Slavko via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
Dňa 13. augusta 2025 7:32:46 UTC používateľ Frank Richter via Exim-users <[email protected]> napísal:

>$ exim -d+all -v -bv [email protected]
>…
>08:51:29 2696420 local_part=test domain=gmial.com
>08:51:29 2696420 checking domains
>08:51:29 2696420 cached no match for +local_domains
>08:51:29 2696420 cached lookup data = NULL
>08:51:29 2696420 gmial.com in "!+local_domains "? yes (end of list)
>08:51:29 2696420 calling checkonly router
>08:51:29 2696420 checkonly router called for [email protected]
>08:51:29 2696420   domain = gmial.com
>08:51:29 2696420 gmial.com in "*"? yes (matched "*")
>08:51:30 2696420 DNS lookup of gmial.com (MX) gave TRY_AGAIN
>08:51:30 2696420 gmial.com in dns_again_means_nonexist? no (option unset)
>08:51:30 2696420 returning DNS_AGAIN
>08:51:30 2696420  writing neg-cache entry for gmial.com-MX-8000c3, ttl -1
>08:51:30 2696420 gmial.com in "*"? yes (matched "*")
>08:51:30 2696420 DNS_AGAIN treated as DNS_NODATA (domain in mx_fail_domains)
>08:51:30 2696420 DNS lookup of gmial.com (AAAA) gave TRY_AGAIN
>08:51:30 2696420 gmial.com in dns_again_means_nonexist? no (option unset)
>08:51:30 2696420 returning DNS_AGAIN
>08:51:30 2696420  writing neg-cache entry for gmial.com-AAAA-8000c3, ttl -1
>08:51:30 2696420 DNS lookup of gmial.com (A) gave TRY_AGAIN
>08:51:30 2696420 gmial.com in dns_again_means_nonexist? no (option unset)
>08:51:30 2696420 returning DNS_AGAIN
>08:51:30 2696420  writing neg-cache entry for gmial.com-A-8000c3, ttl -1
>08:51:30 2696420 checkonly router: defer for [email protected]
>08:51:30 2696420   message: host lookup did not complete
>[email protected] cannot be resolved at this time: host lookup did not complete
>
>Lookups for A and AAAA return also SERVFAIL.

Thanks, now i understand it -- fallback to A/AAAA... Perhaps
you can play with mx_domains too, IMO nowadays will be safe
to force MX records...

BTW, you asked how to change temporary error message, you
can use the same "trick" with warn as i posted and extend it
to catch temp DNS error -- exim has variable for it (sorry, i don't
remmember its name), but i never used it with verify. And then
use defer with own message, instead of deny...

regards


-- 
Slavko
https://www.slavino.sk/

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.