[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with disconnected IMAP in kontact 16.04



¡Hola Adriano!

El 2016-07-17 a las 17:17 -0300, Adriano Vilela Barbosa escribió:
In past versions of kontact/kmail (KDE 4), I used disconnected IMAP in order to keep a local copy of the emails stored in an IMAP server (e.g., Gmail, Yahoo, etc). This worked relatively well. Yesterday, I tried to do the same in the new kontact/kmail (version 16.04). I added a Gmail account from scratch in kmail using the account wizard. I then enabled the option "Download all messages for offline use". This, however, doesn't seem to be downloading all the messages from the Gmail server. If I set kmail to offline mode (File -> Work offline) and then try to read older emails, I get a message saying "KMail is currently in offline mode. Click here to go online...". Also, the size of the folder ~/.local/share/akonadi/ is only about 520 MB in size, while Gmail's web interface says I have almost 9 GB in emails. In KDE4, I remember that size of the local folder where the email messages were stored was roughly the same size as reported by Gmail. Also, if I use Icedove's disconnected IMAP to make a copy of the email messages, the size of the local folder (~/.icedove/) is more than 10 GB in size, which seems to indicate that all emails messages have indeed been downloaded from the server.

It takes a while till akonadi updates the state of all the folders, and has a valid cache for each mail, but once everything is downloaded the offline mode works as expected, at least, it works here.

Also, I'm a bit confused by the blog post below, where it is said that in the case of an Akonadi IMAP resource (even in the case of disconnected IMAP), the actual data is stored on the IMAP server, not on the local machine:

https://blogs.kde.org/2011/11/13/akonadi-misconception-1-where-my-data

Well, this is the expected layout right?

Authoritative data storage    -> akonadi <- akonadi backend (cached data, local metadata)
(mail server, ldap, etc)            |
                                   \> akonadi clients (kmail, etc)

Happy hacking,
--
"Elegance is not a dispensable luxury but a quality that decides between
success and failure."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


Reply to: