Bug 3244 - Claws-mail fails connection to imap server as "connection refused" (ipv6=unreachable, ipv4=reachable)
Summary: Claws-mail fails connection to imap server as "connection refused" (ipv6=unre...
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.10.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-08-07 22:53 UTC by Bruno
Modified: 2015-11-23 15:15 UTC (History)
0 users

See Also:


Attachments

Description Bruno 2014-08-07 22:53:16 UTC
When attempting to connect to imap server claws-mail show error message stating that connection was refused.

stracing claws-mail during such an operation shows:
socket()
connect( ipv6-addr ): NETWORK UNREACHABLE

write(stderr, ... IMAP error on hostname.tld: connection refused ...)


I would expect claws-mail to retry connection to ipv4 address and only if that one fails too, report either failure cause of connection to ipv6 address or ipv4 address, but not an invented "connection refused" when it effectively is "network unreachable". "connection refused" means that either server or a firewall in between has actively rejected the connection. If there is no granularity regarding the cause available the error message should rather be "connection failed" instead of "connection refused".

Should apply to more recent releases as well unless news omitted to report a fix.
Comment 1 Paul 2014-08-21 10:32:57 UTC
version 3.9.0 is 18 months old and several releases and many changes have happened since then. Re-open this bug if you can reproduce it with the latest release.
Comment 2 Bruno 2014-08-23 19:50:43 UTC
Updated to 3.10.1 and the issue is the same.
Comment 3 Andrej Kacian 2015-11-23 15:15:26 UTC
This should be fixed in 3.13.0. Feel free to reopen if not, we will have another lookg at it.

Note You need to log in before you can comment on or make changes to this bug.