[Kde-pim] moving mails between maildir directories
Andras Mantia
amantia at kde.org
Sun Jan 20 11:38:34 GMT 2013
Hi,
Wolfgang Rohdewald wrote:
> 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.
That definitely looks like a bug, although I cannot tell what is going on. I
move mails often around and it works.
You should check the different logs in akonadiconsole and enable logging of
the akonadi maildir resource with kdebugdialog (and restart akonadi from a
console) and see what is going on.
As a last resort, you'd need to attach a debugger to the akonadi maildir
resource and see step-by-step what happens.
> Is there a reason that the maildir storage is not automatically synced?
It should be, it should even detect mails or folders appearing in the mail
folder and created by a different application, not KMail/Akonadi.
> 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>
That also sounds like some bug.
I'm sorry, I don't have too much time for now to debug akonadi issues, but
try to get as much logs as possible, and if you have some c++ skills, debug
into the code to see what is going on. I can try to guide you with the
process.
Andras
_______________________________________________
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