Version: (using KDE KDE 3.4.0) Installed from: SuSE RPMs OS: Linux KMail displays error messages "Connection to host ... is broken" every few minutes. The host is a UW IMAP server, other users using Thunderbird don't seem to have problems with this server. The server's log files indicate that KMail first connects in "authenticate" mode, but after a few minutes tries to connect via the "login" mode, which (probably since it is still logged in from the "authenticate" mode) causes the server to kill both connections. I played around with all possible combinations of SSL and TLS, and "clear text" and "login" settings, but the error messages keep appearing.
On Saturday 02 April 2005 07:47, Kurt Bennater wrote: > KMail displays error messages "Connection to host ... is broken" every few > minutes. As I can not reproduce this with uw imap server it would be good if you could compile kmail and the imap kioslave (kdepim/kioslaves/imap4) with --enable-debug=full and get a debug output from the console.
O.k., sorry for the delay, here it is: kmail: processNextCheck, remaining 1 kmail: for host hostname1.edu current connections=0 and limit is 0 kmail: connection limit reached: false kmail: processing next mail check for account1 kmail: processNewMail false,status=1 kmail: check mail started - connections for host hostname1.edu now is 1 kmail: processNextCheck, remaining 0 kmail: account account1 finished check kmail: connections to server hostname1.edu now 0 kmail: processNextCheck, remaining 1 kmail: for host hostname2.de current connections=0 and limit is 0 kmail: connection limit reached: false kmail: processing next mail check for account2 kmail: processNewMail false,status=2 kmail: KMFolderImap::checkValidity of: /INBOX/ kmail: CheckValidity - waiting for connection kmail: check mail started - connections for host hostname2.de now is 1 kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)] kmail: KMFolderImap::checkValidity of: /INBOX/ kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)] kmail: KMFolderImap::slotCheckValidityResult of: INBOX kmail: processNextCheck, remaining 0 kmail: account account2 finished check kmail: connections to server hostname2.de now 0 "account2" is the one causing problems; although the security settings for both accounts are the same, KMail obviously treats them differently. The error message "Connection to host hostname2.de is broken" is displayed often during checks of account1 (!), There is no new debug information shown during this error message. As I said, my information concerning the "authenticate" and "login" modes is taken from the server's log files.
I have nothing to add except this is a problem for me as well. I get around it by clicking on a local directory or returning back to the into to kmail screen. That seems to stop the constant polling of the imap server.
Does someone still see this problem in a more recent KMail version?
I don't have this account on the UW imap server any more, so I can't check that.
Since there's no activity on this bug since 2005 I close it for now. If somebody still has a problem with this in a recent KMail version, please just reopen this bug, thanks.