Version: 1.9.52 (using Devel) Installed from: Compiled sources When I start kmail for the first time, a wizard pops-up, asking me for my e-mail address and (after choosing IMAP) in a second stap asking the addresses of my incoming and outgoing mail servers. After entering that, a message appears that it is checking the security capabilities of the server, and it hangs for a long time (at least one minute), without any more feedback. It feels like kmail is in an endless loop. Only after some time, kmail comes alive again. Debug messages before the hang: kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::IdentityManager::commit: emitting changed() for identity 1396690545 kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::Identity::writeConfig: Store: "Email Address" : QVariant(QString, "fhimpe@telenet.be") kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::Identity::writeConfig: Store: "Organization" : QVariant(QString, "Linux") kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::Identity::writeConfig: Store: "Identity" : QVariant(QString, "Default") kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::Identity::writeConfig: Store: "uoid" : QVariant(uint, 1396690545) kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::Identity::writeConfig: Store: "Name" : QVariant(QString, "Frederik Himpe") kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 0x171ce70 ) kmail(8415)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "765247430" kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig() kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTest::start: 0x177fc50 kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::reconnect: Connecting to: "192.168.100.1" : 25 kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::reconnect: Connecting to: "192.168.100.1" : 465 kmail(8415)/kdepimlibs (kpimidentities) KPIMIdentities::IdentityManager::slotIdentitiesChanged: KPIMIdentities::IdentityManager::slotIdentitiesChanged : ":1.141" kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotConnected: kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotConnected: normal connect kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotSocketRead: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 0 , Mode 0 kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::sendInitialCapabilityQuery: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::sendInitialCapabilityQuery: Hostname for EHLO is "localhost.localnet" kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotSocketRead: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 1 , Mode 0 kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::handleSMTPIMAPResponse: No authentication possible kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::finalResult: Modes: QSet(0) kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::finalResult: Capabilities: QSet() kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::finalResult: Normal: () kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::finalResult: SSL: () kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::finalResult: TLS: () kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: KCoreConfigSkeleton::writeConfig() kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig() kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::~Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::~Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTest::start: 0x1867fc0 kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::Socket: kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::reconnect: Connecting to: "192.168.100.1" : 143 kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::reconnect: Connecting to: "192.168.100.1" : 993 kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotConnected: kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotConnected: normal connect kmail(8415)/kdepimlibs (mailtransport) MailTransport::TransportManager::slotTransportsChanged: kmail(8415)/kdepimlibs (mailtransport) MailTransport::TransportManager::readConfig: reloading existing transport: "Transport 765247430" kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig() kmail(8415)/kdepimlibs (mailtransport) MailTransport::TransportManager::slotTransportsChanged: kmail(8415)/kdepimlibs (mailtransport) MailTransport::TransportManager::readConfig: reloading existing transport: "Transport 765247430" kmail(8415)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig() kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotSocketRead: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 0 , Mode 0 kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::sendInitialCapabilityQuery: kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotSocketRead: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 1 , Mode 0 kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::parseAuthenticationList: ("LOGIN", "PLAIN") (0, 1) kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::handleSMTPIMAPResponse: For type 0 , we have: (1) kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Trying TLS... kmail(8415)/kdepimlibs (mailtransport) MailTransport::SocketPrivate::slotSocketRead: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 43 , Mode 2 kmail(8415)/kdepimlibs (mailtransport) MailTransport::Socket::startTLS: "normal" kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotTlsDone: kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::slotReadNormal: Stage 0 , Mode 2 kmail(8415)/kdepimlibs (mailtransport) MailTransport::ServerTestPrivate::sendInitialCapabilityQuery: Ports 465 and 993 are closed on my mail host (but not filtered). I guess some connection time-out is currently too long. This seems similar to bug #131843 but that bug is supposed to be fixed.
See also bug 164739. Bug #131843 was about the account dialog, not about the account wizard. Timeouts are necessary so we don't confuse closed ports with slow servers. CC'ing Torgny (I hope you don't mind!), maybe you can add a progress bar for your account wizard rework?
There is now a progress bar when checking what the server supports (kmail 1.11.90 using kde 4.2.68). Can this bug be closed?
I just checked this with kmail 1.11.90 (kde 4.2.69) built from trunk. There is no progress bar when the security features of the server are tested. @Jaime: Did you test the account wizard? It is different from the regular setup dialog (which has a progress bar).
I see the progress bar in KDE 4.3