Bug 284915 - After quit of K-Mail there is still network traffic created by polling the accounts
Summary: After quit of K-Mail there is still network traffic created by polling the ac...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 07:59 UTC by Thomas P
Modified: 2017-01-07 21:40 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 Thomas P 2011-10-25 07:59:19 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

This issue had been already existed in previous versions, but my feeling is, its now much worse with Kmail 4.7.2 (With the upgrade of Ubuntu 11.04 -> 11.10).

When Kmail is quit, it should also stop polling the different E-Mail accounts. 

This is especially ugly, if you start a VPN-session (e.g. to your company email server), start Kmail, work on E-Mails, having done everything, shut down Kmail, close the VPN... and then still stuff is running. 

In the process list I see many entries like akonaidi_pop3_resource.

Reproducible: Always

Steps to Reproduce:
Start Kmail, poll the accounts, quit Kmail. (and look on tcpdump)


Expected Results:  
No traffic (after a short time... 10 secs ?) anymore after Kmail is closed.
Comment 1 Laurent Montel 2011-10-25 08:33:17 UTC
Do you shutdown account when you quit kmail ? configuration->account->retreival option->switch offline when quit kmail ?

Otherwise it will not shutdown, account is define for akonadi not just kmail.
So shutdown it when you quit kmail.
Comment 2 Thomas P 2011-10-26 06:46:21 UTC
Ok, this seems to be a new option and I was not aware off.

So I set this option for all accounts now and it fixed the behaviour

However, when starting KDE, but not Kmail, I get requests to kwallet from the retrevial of the Email accounts. With previous versions of Kmail, Kwallet was the first time comming up with the frist time E-Mails are polled.
Comment 3 Laurent Montel 2011-10-26 07:33:28 UTC
don't know. Perhaps you didn't disable all accounts.
Comment 4 Thomas P 2011-10-26 07:39:53 UTC
They are defenitely off and Kwallet shows also for which account Kmail requests the password.
Comment 5 Laurent Montel 2011-10-26 08:48:45 UTC
Perhaps it's restore session which starts akonadi account.
But by default if it's offline on kmail it will offline.
Comment 6 Thomas P 2011-10-29 15:18:06 UTC
Session Management -> On Login is set to Start with an empty session, so should be not an reason.

I see before I start Kmail the first time I see already several instances of 

akonadi_pop3_resource in the process list. 

By the way, its an upgraded system from KUbuntu 11.04 to 11.10. But I don't like to start from scratch with Kmail and a deleted home directory, since Its several accounts, folder and I don't want to create all of this again, ifnot really needed.
Comment 7 Denis Kurz 2016-09-24 18:14:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 21:40:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.