The symptom is that KMail won't fetch mails for one of your IMAP accounts anymore, and if you open Akonadi Console (akonadiconsole), it shows there "Connection established" for the resources in question, rather than "Ready" as it should say.

To fix this (until it recurrs), open the Akonadi Console (akonadiconsole) and restart the akonadi server via "Server -> Restart Server" in the menu. It's also possible to restart the akonadi server from the command line.

This issue is related to KDE bug 257969, and as explained there in comment #8, it's a common symptom of several other issue reports. See there for more information if restarting the akonadi server did not help you.

2 thoughts on “How to fix KMail’s akionadi resource being stuck on “connection established”?

  1. Wow. I never knew about the akonadiconsole. I’ve been rebooting to solve this problem until now. Any idea how to make it easier to notice when this has happened? Sometimes I go half a day before I start to wonder why my inbox is so quiet.

    Not sure if it’s still the same root cause but this ‘fix’ still works on KDE 5 in 2017. Thanks for posting the workaround.

  2. Another option is to simply use

    akonadictl restart

    directly. Why is this still an issue in 2018? Interestingly enough, I just ran into this program after updating to OpenSUSE 15.0 after years of flawless operation of the previous OpenSUSE versions (and their corresponding akonadi/kmail versions). Strange.

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.