Bug 139944 - When IMAP authentication is delayed at kmail start, "The process for the protocol imap://... has died unexpectedly." errors occur
Summary: When IMAP authentication is delayed at kmail start, "The process for the prot...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: imap (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-12 04:08 UTC by Josh Metzler
Modified: 2010-01-02 00:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Metzler 2007-01-12 04:08:09 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Forwarding a report from a Debian user:

I have four cached IMAP accounts configured. All four accounts use
SSL/TLS, three with plaintext passwords and one with GSSAPI
authentication. The plaintext passwords are stored in the KDE wallet.

When KMail starts, it asks for the password to unlock the
wallet. When I enter the password, KMail shows an error dialog box
with the message that "the process for the protocol imap://... has
died unexpectedly", referring to the IMAP server that uses
GSSAPI. After I press OK, KMail shows new messages fetched from the
other three accounts, but it apparently didn't succeed in connecting
to the one with GSSAPI. I have to refresh that account manually to
initiate a new connection and get the new mail.

The problem does not appear if I enter the password quickly, within a
few seconds after the dialog box appears. But if I wait more than
that (and I usually do, since this happens at login when many other
processes are starting), I consistently get this error message.

Something seems to time out while waiting for the wallet to be unlocked.
Comment 1 Josh Metzler 2007-01-12 04:09:29 UTC
I have a similar issue - I use IMAP over SSL to my server which is on a dynamic IP address, so every time kmail starts, it asks if I want to accept a certificate.  If I wait too long to say OK, I get "the process ... died unexpectedly" error.  I have 4 accounts, only one of which is configured to check mail on startup, but I get the message for all 4.

In addition, the one that checks on startup is configured to check every 5 minutes.  If I wait past the first check to say ok, refreshing that account doesn't work and I need to close kmail and restart it to get a connection.

I can provide IMAP+SSL accounts to interested developers for testing.
Comment 2 Thomas McGuire 2007-03-31 23:18:41 UTC
The IMAP slave should never die, reassigning to KIO.
Comment 3 Thomas McGuire 2007-12-12 23:38:08 UTC
Reassigning the bugs of the SMTP, IMAP and POP ioslaves to kdepim-bugs.
Comment 4 Thomas McGuire 2007-12-12 23:40:32 UTC
Undo autoconfirm.
Comment 5 Björn Ruberg 2010-01-02 00:13:59 UTC
Know that problem from former times. Can not confirm in KDE 4.3 anymore. Anyone else?