[Kde-pim] moving mails between maildir directories

Wolfgang Rohdewald wolfgang at rohdewald.de
Sun Jan 20 01:03:42 GMT 2013


Hi,

I would like to make kmail/maildir a little bit less buggy.

as a starter:

using self compiled latest kmail/akonadi from master:

having local folders outbox and A

moving a message from outbox to A

mail shows it in A but in the physical maildir storage the message
remains in .local/share/akonadi_maildir_resource_0/outbox/cur

now if I refresh folder outbox, I have that message reappear 
in outbox - but that is wrong - I moved it away.

Is there a reason that the maildir storage is not automatically synced?
Meaning move the file from outbox to A

I think it should synchronize.

Imagine using $HOME/Mail as maildir and having some subfolders
symlinked to a separate disk (like having all incoming mails on SSD
but some archive folders on a hard disk). If I move a message to the 
archive folder I definitively expect it to be moved from SSD to hard disk.

If one of those disks is encrypted and I move the message there for
safety but the file is not moved, that would be even worse.

And if I remove the akonadi data base (as is recommended in case
of trouble) I have all mails in the wrong folders again.

More problems with that when copying a message - in that case,
maildir folders only have it in the source folder but in akonadiconsole
I can correctly see  the message twice. Again, removing and rebuilding
the akonadi data base means the copied message will disappear.

while testing this (I started with empty kmail folders, no settings,
no accounts), akonadiconsole repeatedly shows 

Unable to fetch item from backend (collection 0): Unable to retrieve item from resource: <html>Invalid item retrieved</html>

but before finding out why I want to be sure it is really a bug that the maildir
files are not synchronized.


-- 
Wolfgang
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list