Bug 281829 - Akonadi does not close connections to IMAP servers when kmail is closed
Summary: Akonadi does not close connections to IMAP servers when kmail is closed
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-11 21:32 UTC by Médéric Boquien
Modified: 2011-09-13 07:03 UTC (History)
0 users

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 Médéric Boquien 2011-09-11 21:32:44 UTC
Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

Akonadi keeps the IMAP connections alive (akonadi_imap_resource) when closing kmail. This is a problem as it block downloading in POP from some email servers.

Reproducible: Always

Steps to Reproduce:
Take 2 computers. Computer #1 checks emails with IMAP. Computer #2 checks emails with POP. Start kmail on computer #1, check mail, quit kmail. Start kmail on computer #2 and check mail.

Actual Results:  
Checking mails on computer #2 fails with the following message:
Unable to login to the server pop.laposte.net.
Could not login to pop.laposte.net. The password may be wrong.

The server said: "[IN-USE] Unable to open maildrop"

Expected Results:  
Akonadi takes the email connection down on computer #1 to allow computer #2 to download emails.
Comment 1 Christophe Marin 2011-09-12 21:46:47 UTC
kmail settings / accounts / did you select the retrieval options and checked "switch offline on kmail shutdown" ?
Comment 2 Médéric Boquien 2011-09-13 07:03:48 UTC
I guess not. Shouldn't this option be activated by default though? Intuitively if no mail client is on i would not expect my mails to be checked?