This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMail won't sync properly. Goes out of sync with server.

Tags: None
(comma "," separated)
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS
Hi,

There is a huge problem with KMail. It constantly goes out of sync with the server. If you view emails on webclient, Android, and desktop then KMail fails. Email marked read on webclient or Android will remain unread in KMail.

I have tried syncing mail via check mail. I have restarted akonadi. That doesn't seem to help.

Thanks.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
There are too few information to understand what the problem is. Sometihng that may help:

- Distribution version
- KDE PIM version
- Type of account (IMAP, Kolab, IMAP with offline mails)

It would also be useful to restart Akonadi in a terminal and perform an email sync, and tehn pastebin the output that is produced to see if something goes awry when syncing mails.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS
I am on Fedora 23. I am using KMail 4.14.10. I am using Zoho IMAP. I do download emails for offline use.

Previously anytime I reported this issue it was easily dismissed by blaming Google. So I switched my email service to Zoho. The problem remains. I also use K-9 and Zoho's app on Android and they don't have this problem.

https://paste.kde.org/pou0rcnhk
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Code: Select all
akonadi_imap_resource_0(32428) RetrieveItemsTask::onFinalSelectDone: Detected inconsistency in local cache, we're missing some messages. Server:  424  Local:  422


Can you try clearing the cache of your folders? (Do it where you have no data constraints, as they will be redownloaded). Open "akonadiconsole", select "Browser", right click on each folder of your email account and select "Clear Akonadi Cache", then do a sync again from KMail.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS
Thanks. The problem is gone for now. I am worried that KMail can't be relied upon as I have had this problem several times in past year and a half. And it will crop up again.
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS
Is there any other problem with my setup? Looks like it keeps going out of sync every time I check email on other clients. Then there's random things happening which require me to quit kontact, restart akonadi, clear cache, etc. which breaks my workflow.

Image


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]