kmail on opensuse15.0 : emails are stored in a database and i want them to be stored as maildir

christophe christophe.dr at free.fr
Thu Dec 6 15:41:01 GMT 2018


Le mercredi 14 novembre 2018, 14:07:30 CET Maurice a écrit :
> On Tue, 13 Nov 2018 17:31:47 +0100, christophe wrote:
> > when i import them, the new kmail stores them in a .local/share/akonadi/
> > database directory.
> 
> Why not just clone* the ~/mail directory from one system to the other,
> then tell the
> new system where it is?
> 
> * That's what I do when setting up laptop for a trip e.g.:
> 
>    rsync -avx --delete newpc:home/mab/mail/ /home/mab/mail

Sorry for late reply due to ...well. Life.

So , i did somehow what you said : i simply copied the maildir directories 
where my mails are (~5GB with ~90000 mails of archives) , in the ~/.local/
share/.local-mail.directory/ directory , after i decided to create a local-
mail directory with kmail.

But the akonadi took a long time, and high cpu load to handle the mails and at 
the end, akonadi was blocked by lack of space in my too small disk space.

I looked at what happened and discovered that aknoadi makes long work and that 
it creates new copies of all the mails in its database and then, builds a 
database in the ~/.local/share/akonadi directory , and at the end it erases 
the temporary copies of the mail ....

Of course with a too small disk space, this process is interrupted and no 
messages are issued so that the users understands what happens.

Today, after 3 weeks of use, kmail/akonadi works more or less like before on 
opensuse 42.2 . But there are still some very strange behaviors, like emails 
that i can't mark as read and other that i can't erase... And even some ghosts 
mails that are not present in the directories as a file but present in the 
kmail interface.

I don't know what to do to have a simple and reliable interface with my mails.

-- 
christophe





More information about the kdepim-users mailing list