Version: 1.11.4 (using KDE 4.2.4) OS: Linux Installed from: Debian testing/unstable Packages I've previously reported this bug to Debian's bug tracking system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542201), but was informed, that I should report it here. So here it is: When KMail is running (I have it always in the system tray) and I logout from the KDE session (during logout, shut down, system restart, etc.), then the system (KDE?) stops for some time (several seconds) before it proceeds to leave the KDE session. It doesn't hang the system - mouse cursor is responsive, etc. It's just some delay as if KMail or some other KDE component was waiting for something. (the screen has already turned black, so there's no way to check which program could cause the delay). If I turn off KMail manually before leaving the session, then there's no delay. Don't know if this is relevant, but after I installed KMail and logged out while it was running, then during that delay some dilog window from KWallet appeared. I don't use KWallet (I don't even let KMail remember the password to my e-mail), so I just clicked 'cancel' or something. The dialog stopped apearing, but the delay is still there. I've newer instlalled KWallet explicitly, nor have started it by myself.
Are you using IMAP or POP accounts ? Is the option "Empty local trash folder on program exit" set ?
I'm using a POP account, and the option isn't set.
It turns out that it is some problem with kwallet. As I've mentioned before, I haven't configured kwallet - just clicked "cancel" when it asked me to configure it. But after an upgrade of Amarok, the kwallet configuration window started anoying me again, this time while launching Amarok. Finally I've decided to configure this stupid program and the logout delays are now gone. So I'm closing this bug as it's not a problem with KMail, but with kwallet.