Re: recipient verify defer (making calloout connection): T=remote_smtp Cannot assign requested address

Jeremy Harris via Exim-users <[email protected]> Sat, 8 Nov 2025 19:07:42 +0000
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
On 2025/11/08 5:52 PM, Marc MERLIN via Exim-users wrote:
> if interface is set to an IPv4 address in the config, would would exim
> even try to do IPv6 and then, indeed, fail?

Yes - the "interface" option selects the interface.  It does not
directly set the local address that gets used, nor filter the list
of peer addresses resulting from DNS lookup.

It looks like the "failed to assign address" error is being
treated as a message error rather than a host error, therefore
resulting in a DEFER for the message rather than going on
to try other hosts for the message.

The dnslookup router has an option "ipv4_only" which might help.
-- 
Cheers,
   Jeremy

-- 
## 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/