Bug 379285 - Akonadi IMAP doesn't refresh connections after sleep or network change
Summary: Akonadi IMAP doesn't refresh connections after sleep or network change
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 1.13.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 10:17 UTC by a.key
Modified: 2022-11-20 10:17 UTC (History)
2 users (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 a.key 2017-04-27 10:17:34 UTC
Hi,
This bug has been around for so long that I don't even remember when I first started to suffer from it but probably around early kde 4.x

I come to work, dock my laptop and power it on. Unlock the HDD and eventually login to KDE. Open kmail or kontact, emails are being checked and appear in my folders - so far so good.
My email accounts are all configured with IMAP and none of them have "Enable interval mail checking" which should be using IMAP NOTIFY to get emails ASAP. 
And that works perfect. Emails appear in my inboxes almost instantly (please note I have have my android phone) very close to me where I have the same IMAP accounts configured and I can hear notifications for whenever a new message comes in. There's a slight delay (about 1s max) between my phone's new email notification and emails appearing in kmail/kontact but that's fine. So so far everything is working great. Until...

I undock my laptop which switches networks through NetworkManager from wired ethernet to WiFi still having kamil or contact opened and this is where emails stop coming through to kmail/kontact. I can wait tens of minutes and no single email will come even though I can hear tons of them came because my phone notified me about them. This can last for hours.
I normally these days simply execute: akonadictl restart to refresh the connections but this is not a maintainable solution.

Please note that this happens whenever I switch any of my networks eg:
- I'm at home connected to my wifi then I VPN in to my office where all my connections are forced through the VPN,
- I'm VPNed in and disconnected the VPN going back to normal WiFi
- I'm on WiFi and the connection drops and is reestablished again
- I'm switching WiFi networks
- etc.










$ sudo dnf info akonadi                                                                                                                                                                                                                                       
[sudo] password for a.key:                                                                                                                                                                                                                                                    
Last metadata expiration check: 0:02:06 ago on Thu Apr 27 10:47:11 2017.                                                                                                                                                                                                      
Installed Packages                                                                                                                                                                                                                                                            
Name        : akonadi                                                                                                                                                                                                                                                         
Arch        : x86_64                                                                                                                                                                                                                                                          
Epoch       : 0                                                                                                                                                                                                                                                               
Version     : 1.13.0                                                                                                                                                                                                                                                          
Release     : 102.fc24                                                                                                                                                                                                                                                        
Size        : 274 k                                                                                                                                                                                                                                                           
Repo        : @System                                                                                                                                                                                                                                                         
From repo   : fedora                                                                                                                                                                                                                                                          
Summary     : PIM Storage Service Libraries                                                                                                                                                                                                                                   
URL         : http://community.kde.org/KDE_PIM/Akonadi
License     : LGPLv2+
Description : PIM Storage Service Libraries.
Comment 1 Justin Zobel 2022-11-04 03:10:23 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-19 05:14:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 a.key 2022-11-20 10:17:08 UTC
This has been resolved long time ago.