[Bug 251385] New: kmail loses connection to courier-imap server

Jeremy Johnson jazz_johnson at verizon.net
Wed Sep 15 23:01:01 BST 2010


https://bugs.kde.org/show_bug.cgi?id=251385

           Summary: kmail loses connection to courier-imap server
           Product: kmail
           Version: 1.13.5
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: jazz_johnson at verizon.net


Version:           1.13.5 (using KDE 4.5.1) 
OS:                Linux

I was hoping this problem would be fixed in KDE-4.5.1.
I run a mail server, setup following Gentoo Wiki:
http://en.gentoo-wiki.com/wiki/Postfix,_Courier,_Squirrelmail_and_Spamassassin

I use kmail to connect to my courier-imap server because kmail allows our
office staff to have multiple imap accounts on our server (which is important).
Minimally, everyone in our office has at least 4 imap accounts: their own user
account, a general office account, a fax account, and a spamtrap account.

Unfortunately, kmail tends to keep timing out random imap connections and is
never able to re-establish the connection (though it says it's trying). The
only sure-fire way to get a connection working again is to manually restart the
imap server:

for f in /etc/init.d/courier-*; do $f restart; done

This will like fix the broken imap connection for one user, but break another
connection for someone else. Sometimes the user can click on
kmail->settings->configure->Accounts->choose-account->Modify->OK->Apply
and this will repair an imap connection. Sometimes it may be necessary to
restart kmail. In any event, having to restart the courier-imap server is not a
solution even for our SOHO environment.

Other email clients, squirrelmail, roundcube, claws-mail don't have this
timeout problem, but neither do they support multiple imap connections.



Reproducible: Always

Steps to Reproduce:
Setup courier-imap server. Configure each user's kmail with multiple imap
accounts on this server. Kmail always timesout on some random account for some
random users. I can never have everybody's kmail working for everyone at once.
Usually some imap account(s) for some user(s) timesout. The connection cannot
be re-established without restarting imap server, which usually both fixes and
breaks other connections. 



There is a long-standing bug regarding imap connections timeouts with laptops.
But all our computers are desktops running 24/7 which never suspend/hibernate.
In the bug report, it's stated that a new framework for KDE pim is being
developed and that emphasis is on the new framework and so the old kmail
problem may never be fixed. I'm not sure if my kmail is the old kmail or the
new kmail. I was hoping that when I upgrade Gentoo to the new KDE-4.5.1 this
issue with kmail would be fixed. Gentoo reports I'm running
kde-base/kmail-4.4.6 and kmail->About  reports I'm running Version 1.13.5 using
KDE development platform 4.5.1

Thanks.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list