Bug 74484

Summary: IMAP connections should reconnect when IP address has changed
Product: [Unmaintained] kio Reporter: Carl Lunde <chlunde+bugs>
Component: imapAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: gfa, ilya.hegai, kde-bugs, nick.allen, peter, rgill, seeger, vylu
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Carl Lunde 2004-02-07 17:47:23 UTC
Version:           1.6 (using KDE KDE 3.1.94)
Installed from:    Compiled From Sources
OS:          Linux

When my broken DHCP server assigns me a new IP, or I move my laptop
from one location to another and try to use KMail, it still tries to
use the old connection but it "never" times out.  (It seems to take
more than five minutes at least.)

(I suspect the same problem could occur if a laptop suspends
for several minutes.)

The behaviour I expect is for KMail to quickly detect that the current
and connection is broken reconnect without loosing any state.  Now I
have to close KMail - sometimes even kill it - and start it again.
Comment 1 Carsten Burghardt 2004-02-07 19:20:52 UTC
This is a wish and no bug.
Comment 2 Stephan Kulow 2004-02-08 09:52:32 UTC
Sorry no. It's definitly a bug in the slave, that it doesn't detect such errors well enough.
Comment 3 Aleksey Nogin 2005-04-29 12:00:04 UTC
Possibly related: bug 104764 covers a similar problem with accessing remote calendars in korganizer. Could this be a bug in the underlying networking libs in KDE?
Comment 4 Thomas McGuire 2007-12-12 23:38:56 UTC
Reassigning the bugs of the SMTP, IMAP and POP ioslaves to kdepim-bugs.
Comment 5 Thomas McGuire 2010-06-01 22:15:15 UTC
*** Bug 134984 has been marked as a duplicate of this bug. ***
Comment 6 Thomas McGuire 2010-06-01 22:15:20 UTC
*** Bug 186936 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2010-06-01 22:15:26 UTC
*** Bug 210517 has been marked as a duplicate of this bug. ***
Comment 8 Peter Hedlund 2011-04-01 03:48:14 UTC
I would say that this is still an issue when moving between say home and work.
Comment 9 Rawld Gill 2011-11-16 21:16:35 UTC
This is more than an issue about moving around on a laptop.

When I work on customer projects, I'll connect/disconnect from various VPNs. Kmail (and Kmail via Kontact) communicates with my imap servers fine *before* any VPN connection. But after the first VPN connection, at best Kmail fails to comm with the same imap servers for several minutes....sometimes it recovers and eventually successfully comms with the servers; sometimes i have have to bring down the vpn, sometimes i have to restart kmail, sometimes i have to kill kmail.

I'm on opensuse with kmail 1.13.6.
Comment 10 Christophe Marin 2018-11-17 12:44:40 UTC
kio_imap4 doesn't exist anymore.