In the KDE4 Plasma world, and the KDE Plasma 5 world, KMail (and the rest of Kontact) stores user files under ‘~/.local/share/’ – the Akonadi database is in the ‘~/.local/share/akonadi’ directory and the KMail directories are: ‘~/.local/share/local-mail/’ and ‘~/.local/share/.local-mail.directory/’.
[HR][/HR]But, and this a very big BUT: it is possible that, simply dropping your old mail files into the directories below ‘~/.local/share/.local-mail.directory/’ will function as expected but, it may well be that, it’ll possibly be the cause of untold woes and misery . . .
[HR][/HR]My recommendation is:
Use the KMail “Archive” mechanism to archive your e-Mails, and then import the e-Mails into the preferred KDE KMail version.
On Mon, 09 Jan 2017 09:16:01 +0000, dcurtisfra wrote:
> In the KDE4 Plasma world, and the KDE Plasma 5 world, KMail (and the
> rest of Kontact) stores user files under ‘~/.local/share/’ – the
> Akonadi database is in the ‘~/.local/share/akonadi’ directory and the
> KMail directories are: ‘~/.local/share/local-mail/’ and
> ‘~/.local/share/.local-mail.directory/’.
Thank you very much for the reply.
I spent 5hs trying to sort that akonadi mess.
Using akonadiconsole would not recognise a visible location for “local
folders”, then if in Kmail I created a new mail folder under “local
folders”, the folder would not show up in ~/.local/share/local-mail. A
mystery I cannot resolve (i guess that the messages were stored in some
database).
I went for kmail 4.14 which seemed to show all folders OK, but then I
could not send messages (great!, a dbus error of some kind which I could
not understand what it was due to) and could not find a way of changing
the location of the local-mail folder.
In a last attempt, I deleted all old akonadi traces and folders I could
find, and reinstalled kdepim 5… and this time it started working again,
and the mail folders were read again (I had them backed up).
I am not looking forward to have to do all this again.
My original question was more about how to move the ~/.local/share/local-
mail to somewhere like ~/Mail but in the end it is perhaps better leave
it where it is supposed to be and hope that akonadi behaves or (even
better) is removed for good.