KMail not downloading mails for offline use

I have set up KMail (Version 6.3.3, Debian Trixie) with an IMAP account. The option “Download all mails for offline use” is set. Nevertheless, KMail does not display all messages without a network. Instead, only a notification about offline mode appears. Local and server subscriptions are enabled. The mails not displayed appear to be all mails with attachments. But I’m not entirely sure about that. In folder properties the download of complete messages is activated.

Thanks to the KMail experts who can help me with hints as to which option is set incorrectly.

I’ve been using this for years and for me it has been very reliable.

Since it has been a long time ago when I last added a new account my memory is a bit vague on this.

I think by default it only fetches folders that you have been using and potentially not as far back a possible?

You could try “Update this folder and all its subfolders” on the top level for the account that has incomplete messages.

Thanks for your quick reply!

I move some mails to this folder every few days. But the mails not shown when offline are older. And thanks for the hint, but I allready have updated the folder. Makes no difference.

What you can try is to clear the cached/downloaded data for such a folder and have it syncrhonized anew.

Since you said that you have moved mails into that folder locally, you should first verify that these mails have successfully been uploaded to the IMAP server and do not just exist in local cache!

You will need akonadiconsole, usually packaged separately.

On its Browser tab you will find the folders you also seen in KMail.
The context menu on such a folder has a Clear Akonadi Cache action.

1 Like

Thanks again, that’s the solution. Something must gone wrong during the first synchronisation.
I had already considered deleting the account and setting it up again. Your suggestion has saved me this work. (And now I know the right tool to completely destroy Akonadi. Of course I won’t do that.)