[Bug 490515] [NEW] kmail doesn't reinitiate tcp session (impa)
Thierry Chich
thierry.chich at gmail.com
Mon Nov 30 21:04:09 UTC 2009
Public bug reported:
Binary package hint: kmail
I have made some networks trace, and I think I understand why kmail seems to stay blocked sometimes, with imap account, TLSized or not.
When you stay a long time, it is higly probable that the imap account seems to be unreadable. kmail seems to work without end. But, it is not true with all imap account. for instance, gmail accounts don't suffer with kind of problem.
This is due to the way that kmail is dealing with imap connection. It seem to assume that imap conection must be endless. This not true. There is a lot of situation where this hypothesis is incorrect. For instance, if you freeze your laptop, kmail will not be able to maintain the imap connection open, and the server will close it.
Other case, there is a lot of firewall that have a timeout for tcp connection.
Gmail deal with this kind of problem using the following algorithm: if the server receive a tcp packet that doesn't correspond to a living connection, then it emit a tcp reset. Then kamil reinitiate a new imap session, and it is working.
But other servers don't work this way. They don't emit tcp reset. They act as there is nothing. It is a simple security measure.
And in this case, kmail try endlessly to reemit the same tcp packet.
It should be a timer that induce the reinitialization of the imap
connection.
ProblemType: Bug
Architecture: amd64
Date: Mon Nov 30 21:42:18 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kontact
NonfreeKernelModules: nvidia
Package: kontact 4:4.3.2-0ubuntu6
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: kdepim
Uname: Linux 2.6.31-15-generic x86_64
** Affects: kdepim (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
kmail doesn't reinitiate tcp session (impa)
https://bugs.launchpad.net/bugs/490515
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdepim in ubuntu.
More information about the kubuntu-bugs
mailing list