Re: Really not prefer IPv6 MX
Sam Varshavchik <[email protected]> Thu, 05 Dec 2024 21:23:22 -0500
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
Alessandro Vesely writes: > I had in mind to patch add_records(), in rfc1035mxlist.c, as it's the only > place where ESMTP_PREFER_IPV6_MX is looked up, but at a closer look it > wouldn't have worked. > > >> I think this change needs to be done at a higher level, in libesmtp.c when >> it actually goes through the list of MXes, and then introduce the logic >> there to skip unwanted IP addresses. > > > I just upgraded to 1.3.13; I'll see what happens. It should help, but it won't be a complete solution, it can still attempt an IPv6 connection, if all the stars are aligned just the right, or the wrong, way. I had some time to look at this. I just uploaded build 20241204 that implements this via an esmtproutes setting, so in esmtproutes: comcast.net: /ipv4only should do the trick. The nice thing is that this allows ESMTP_PREFER_IPV6_MX=1 to use IPv6 by default, except for the problem children. _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCZ1JgGgAKCRCKYPgoojZS 4iFrAP93RhXLD1+NpS+ecn8IQ0IhhS0z0j5+7w+SbqvrF1abJgEAqPKvJ6nvypo3 dpGLKI/zW3RjX+1H243yMq3hUBbGRgM= =TOeJ -----END PGP SIGNATURE-----