On Sun, Jul 17, 2016 at 6:36 PM, Maximiliano Curia <m...@gnuservers.com.ar> wrote: > ¡Hola Adriano!
Hello Maximiliano, Thanks for taking the time to reply to this. > > 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. Well, this is what I expected to happen, but after syncing all the folders a couple of times I still don't have all my emails downloaded. In older versions of kmail, when creating a disconnected IMAP resource, kmail would take a couple of hours downloading all the emails from the server when syncing for the first time. After that, additional syncs would take just a short time. However, in my current case, kmail says all folders are synced 100% and yet I can't access my emails after going offline. Is this normal behavior? > >> 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) > Sorry for my ignorance, but I don't follow. The blog entry above seems to imply that the actual email messages are stored only on the IMAP server, not in the local machine. Isn't the whole point of disconnected IMAP to have a local copy of all the email messages in the IMAP server? > Happy hacking, Thanks a lot, Adriano > -- > "Elegance is not a dispensable luxury but a quality that decides between > success and failure." > -- Edsger W. Dijkstra > Saludos /\/\ /\ >< `/