Bug 294896 - KMail's IMAP engine has no resilience against network failure
Summary: KMail's IMAP engine has no resilience against network failure
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 00:37 UTC by Rémy Sanchez
Modified: 2012-03-20 19:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémy Sanchez 2012-02-27 00:37:37 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

I live in India, and there the quality of any service is quite random, especially regarding Internet: the router crashes, the transits gets saturated, the electricity gets cut for an hour or many things like that.
As a result, the IMAP connection fails all the time, and never recovers by itself, and thus I always need to switch online/offline a few times or even to kill the akonadi_imap_resource process to get it back... until the next cut.

Reproducible: Always

Steps to Reproduce:
- Connect your IMAP mailbox
- Cut the Internet connection in some way, in a "non-visible" way, like by dropping the default route
- After a while, restore the Internet connection

Actual Results:  
- Kmail does not switch offline
- When the connection comes back, no matter how long you wait the imap daemon stays down and no more email is received

Expected Results:  
- Kmail would detect the connection cut
- When the Internet comes back, the IMAP connection should be immediately restored
Comment 1 Laurent Montel 2012-02-27 08:40:12 UTC
Please wait 4.8.1 we fixed a lot of problem with disconnect network.
(it will tag the 1 march)
Comment 2 Rémy Sanchez 2012-02-27 19:21:36 UTC
That would be perfect :)
Comment 3 Laurent Montel 2012-03-20 19:05:10 UTC
So ? is it works ?
Comment 4 Rémy Sanchez 2012-03-20 19:27:33 UTC
Yup, took me some time to get an upgrade, but yeah it's much better now !
Network failures are very well detected and indicated, that's great :) The only lack I'd find would be that network restoration is not detected, but since you can easily ask for manual email check, that's not much of a problem.

Thanks :)