On Sun, Nov 09, 2025 at 06:14:36PM +0000, Slavko via Exim-users wrote:
> >Correct. It wasn't before its hardware/OS upgrade either. I do need to
> >look into that eventually, but it hasn't happened yet.
> 
> AFAIK exim has useful options for that:
> 
> + disable_ipv6 -- global option, does as name says
> + dns_ipv4_lookup -- global option, does as name says
> + ipv4_only -- transport option, IPv4 only DNS
> + exclude all IPv6 in transport (::/0)
 
You are correct, I will look at those. The part that confused me
was that my system does not have IPv6 and does not use IPv6 for normal
Email. Exim works perfectly fine as is to send mail and figures out on
its own not to use IPv6. As far as I know it's always been auto sensing
and that worked.
I *think* (just a guess) there may be a borderline bug where callouts
aren't using the same logic than the one to send Emails and try to 
use IPv6 and fail with that confusing "canont assign requested address"
instead of falling back to IPv4.
I just confirmed I have nothing about v4 or v6 in the config file:
magic:~$ grep -i ipv /var/lib/exim4/config.autogenerated 
magic:~$ 

> I would suggest do not modify GAI settings, nowadays system does
> that properly.
 
Thanks for confirming my guess.

> BTW, more than 50 % of the world does IPv6, it is really time, to start
> with it.

This is also why I'm not jumping at squelching this in the config file.
I indeed should setup v6 on that server, never mind that something seems
wrong in the callback code on the autodetection side.

On Mon, Nov 10, 2025 at 12:50:42AM +0300, Evgeniy Berdnikov via Exim-users 
wrote:
>  Your original post has reference to log file with callout to ipv4 address.
>  Now you talking about ipv6. It's not a good to change topic on the fly...
 
it's the exact same topic. I showed that callouts worked, and that my
primary interface set to IPv4, works perfectly fine.
During more debugging, I then found out that some callbacks are trying to
use IPv6 and failing
As discussed above I should indeed enable v6 on that server, but I do believe
it is a minor bug in callbacks to only try v6 on a v4 system.

Hope that makes sense.

MArc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/                       | PGP 7F55D5F27AAF9D08

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

Reply via email to