After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 247821 - IPv4 SMTP relay is not contacted, if IPv6 address exists
IPv4 SMTP relay is not contacted, if IPv6 address exists
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other All
: Normal normal
: ---
Assigned To: Not Zed
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2003-08-22 14:01 UTC by Stanislav Brabec
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
should fix it (75.83 KB, patch)
2004-09-21 02:25 UTC, Not Zed
none Details | Review
updated patch w/ some fixes (71.02 KB, patch)
2004-09-22 09:34 UTC, Not Zed
none Details | Review

Description Stanislav Brabec 2003-08-22 14:01:09 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.
Comment 1 Jeffrey Stedfast 2003-08-22 14:06:00 UTC
this only happens if you build evo explicitly to use IPv6
Comment 2 Stanislav Brabec 2003-08-22 14:10:14 UTC
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).
Comment 3 Jeffrey Stedfast 2003-08-22 14:16:21 UTC
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.
Comment 4 Stanislav Brabec 2003-08-22 14:41:22 UTC
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.
Comment 5 Not Zed 2004-09-21 02:24:48 UTC
reopening.  evolution did it wrong, sorry for the messing around.

Comment 6 Not Zed 2004-09-21 02:25:53 UTC
Created attachment 44230 [details] [review]
should fix it
Comment 7 Not Zed 2004-09-22 09:34:42 UTC
Created attachment 44244 [details] [review]
updated patch w/ some fixes
Comment 8 Not Zed 2004-09-23 04:37:19 UTC
2nd patch committed to both branches