GNOME Bugzilla – Bug 247821
IPv4 SMTP relay is not contacted, if IPv6 address exists
Last modified: 2013-09-10 14:03:26 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. Have a machine, which have both IPv4 and IPv6 address. 2. Run SMTP server, which listen only on IPv4 port. 3. Try to send mail via this machine (use its name, not IP). Actual Results: error message telling that it can't connect to port 25 of selected machine Expected Results: Try IPv6 address first, if it fails, try IPv4 address, too. How often does this happen? Every time. Additional Information: It has ugly workaround - fill IPv4 address, not server name to Evolution.
this only happens if you build evo explicitly to use IPv6
Yes, I have used --enable-ipv6. But in heterogenous environment it should be able to contact IPv4 address, too, evein in this particular case (for example KMail does it).
what's the point of having an IPv6 address if it isn't going to work? this is a network problem, not an evolution problem.
Transition phase. Network can be in state, where some services are already IPv6 ready, but others not yet. General problem, not related only to Evolution. Two examples from real life: - You have a IPv6 network, but SMTP server is not yet IPv6 ready and listens on IPv4 only. - Both machines have IPv6 addresses, SMTP server listens on IPv6 address, but somewhere between them is firewall, which drops all IPv6 SMTP requests. In these cases you cannot use IPv6 enabled Evolution, but you can use other IPv6 enabled client without any problems.
reopening. evolution did it wrong, sorry for the messing around.
Created attachment 44230 [details] [review] should fix it
Created attachment 44244 [details] [review] updated patch w/ some fixes
2nd patch committed to both branches