Bug 284192 - KMail-controlled interval e-mail checking (or: offlining IMAP sources after use)
Summary: KMail-controlled interval e-mail checking (or: offlining IMAP sources after use)
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 15:30 UTC by Gard Spreemann
Modified: 2011-10-28 15:56 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 Gard Spreemann 2011-10-16 15:30:45 UTC
Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

If I understand Akonadi and its relationship with KMail correctly, e-mail sources (say IMAP accounts) are now managed by Akonadi. Interval checking is a property of each such source. When I start KDE without starting KMail, the Akonadi e-mail sources are in the offine state. When I start KMail, they go online. When I close KMail, the e-mail sources remain online and interval checking continues. This is not desirable for me. Indeed, I think most users would like their IMAP connections to close when they close their e-mail program (or rather, when they close the last program using the IMAP accounts as sources). This is probably even more true on laptops, where keeping the connection open is a needless waste of battery.

Would it therefore not be better if either:
1) KMail controls the interval checking instead of the IMAP sources themselves.
2) When the last program using an IMAP Akonadi resource, that resource goes offline.

Reproducible: Always

Steps to Reproduce:
Start KMail. Check e-mail. Close KMail.

Actual Results:  
All IMAP connections remain, and interval e-mail checking (if enabled) continues indefinitely (or until the user uses Akonadi console to explicitly disconnect the IMAP sources).

Expected Results:  
IMAP connections should go offline when no program is using them.
Comment 1 Gard Spreemann 2011-10-28 15:56:02 UTC
I am sorry, I did not see that this option already exists under "retrieval options" for the IMAP account in KMail.