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.
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.
Updated to 3.10.1 and the issue is the same.
This should be fixed in 3.13.0. Feel free to reopen if not, we will have another lookg at it.