Version: (using KDE KDE 3.5.1) Installed from: Debian testing/unstable Packages Hi, Clicking File->Go offline doesn't actually disconnect active IMAP server connections. After "going offline" you can see from the output of "netstat -4pa" that the connection is still very much open: tcp 0 0 myhostname:52301 my.imap.server:imaps ESTABLISHED 21343/kmail In fact, if your currently selected folder is an IMAP folder at the point you click "go offline", you can click on other messages summary lines around the current one, and the content of the message will be loaded just fine over the network (you can watch the traffic using ethereal and see it's not locally cached or anything). If you select another folder this'll cease to work (you'll get the "KMail is currently in offline mode" page). This is not only totally contrary to what offline mode claims to do, but also potentially a minor security risk, because you might be going offline to prevent yourself from downloading sensitive mail over an insecure network, or something. Cheers, Zak
Other ways this manifests itself... If you're logically and physically online and connected to a remote IMAP folder and you go both logically (File->Go Offline) and physically offline (say, by pulling your network cable out), you still eventually get a message like: The connection to the server My IMAP Server was unexpectedly closed or timed out. It will be re-established automatically if possible. You shouldn't get that message, because you're logically offline, but because the connection is never really closed and because there's some kind of hook that says "pop up this dialog if we detect connection death", you still do get the message. Also, if the current folder was an IMAP folder when you went offline (in both senses), you can still click on the messages. Each time you do, you get a pop up a message saying "Unknown host: my.imap.server". It'd be better if the message summary pane explicitly changed to the "KMail is offline..." message upon going logically offline, making it impossible to click on the messages; alternatively, it'd be good enough to continue to show the message summaries but upon clicking on one, load a page into the message content pane saying "This message is stored on a remote server, and you're offline. To read this message, go online (File->Go Online)." I'm pretty sure I've also managed to get a longer error dialog while logically (and physically) offline, saying: Unknown Host An unknown host error indicates that the server with the requested name, my.imap.server, could not be located on the Internet. ... but I can't remember how.
I am using Kde 3.5.2 and I have the same problem: When disconnecting from Network, for example when hibernating, I use "dcop kmail KMailIface stopNetworkJobs". When switching Network on I use "dcop kmail KMailIface resumeNetworkJobs; dcop kmail KMailIface checkMail", but the Mail from my IMAP-Account (using disconnected IMAP!) cannot be checked. If I cancel the Mail-Checking by clicking the red cross in the lower right corner of kontact (unfortunaly, there isnt an dcop-Command for this), and then check the Account again, then new Mail will arrive. If I dont, I will get an timeout-Error.
*** Bug 117492 has been marked as a duplicate of this bug. ***
This but was opened 2006-02-22 and one year later it's still "UNCONFIRMED". I can indeed confirm it in KMail-1.9.5/KDE-3.5.5. Could someone PLEASE look into that. It's REALLY annoying when you have a dialup line. PLEASE!!!
*** This bug has been confirmed by popular vote. ***
At least we could confirm it now by popular vote. I hope it gets fixed in kde 4 at least.
It's been nearly 2 years now and nothing happened. It's a shame. Seems KMail urgently needs more developers.
absolutely. together with http://bugs.kde.org/show_bug.cgi?id=82684 (from 2004-09-24!) those are the bugs forcing me to use dIMAP with kmail.
Duplicate bug #125402 Kmail checks mail on startup although in offline mode Duplicate bug #134148 Working offline does not close the connection Related bug #114319 Encrypted emails sent during 'offline' are not encrypted Related bug #152743 when offline/online modes are irrelevant Related bug #122503 Link in "KMail is currently offline" page fails to update menus, statusbar and message summary pane Related bug #90691 Online/offline status indicator should be "link"
*** Bug 134148 has been marked as a duplicate of this bug. ***
*** Bug 125402 has been marked as a duplicate of this bug. ***
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.