Bug 154808 - "Check What The Server Supports" fails for SSL mailboxes
Summary: "Check What The Server Supports" fails for SSL mailboxes
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.50
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-29 12:11 UTC by Ryan Winter
Modified: 2008-02-23 20:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Winter 2007-12-29 12:11:41 UTC
Version:           1.9.50 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Add the address of a POP3 or IMAP mailbox that only supports SSL connections. If you select the "Check What The Server Supports", the port will always revert to the non-SSL version, and the error "Could not connect host: Unknown error." is reported. At this point, the SSL and TLS options are disabled.
Comment 1 Allen Winter 2007-12-30 02:28:52 UTC
Ryan,

Can you try again please?
 make sure you are using qt-copy, with the patches applied.
 and make sure you are using a very new kdelibs.

hopefully, the new ssl code that was merged few days ago will make this bug go away.
Comment 2 Ryan Winter 2007-12-30 03:32:06 UTC
Hi Allen,

I just finished compiling the latest qt-copy, kdelibs, kdepimlibs and kdepim however this bug is still there. Looking at wireshark, KDE 3.5.8 attempts to connect to 143 (IMAP), and when this connection fails, it then connects to 993 (IMAPS).

However the latest KDE svn just checks the port 143 and then reports the failure.
Comment 3 Thomas McGuire 2007-12-30 15:14:21 UTC
POP and IMAP still use the old servertest from libkdepim, which seems to be broken. It should be ported over to the servertest from kdepimlibs/mailtransport.
It has nothing to do with the new SSL support, AFAIK QSslSocket is used (and that is OK in this case).
Comment 4 Thomas McGuire 2008-02-23 20:32:36 UTC
Check what the server supports should work fine now, I've ported it to the new servertest.