[Bug 292622] moved mails reappearing in sent mail folder

Dr. Christoph Pospiech pospiech at de.ibm.com
Sat Mar 3 21:14:28 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=292622

Dr. Christoph Pospiech <pospiech at de.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Dr. Christoph Pospiech <pospiech at de.ibm.com> ---
Hi,

apparently, I solved the problem.

For some reason (yet unknown) the sub directories in local-mail got lost. I
could be that I myself deleted them early after migration. Then kmail2
apparently stores everything in cache as it cannnot store it in local-mail.

Moving a message from sent-mail elsewhere was not possible, als the folder
actually dod not exist. Perhaps that is why it reappeared in sent-mail.

I wrote a perl script with DBI::mysql API that extracts the local-mail
directory structure from the aconadi data base and recreates it. It also reads
the emails in akonadi cache (aka data field in parttable from database akonadi)
and moves the emails to their proper place in local-mail.

After running the script, I re-created the akonadi data base. kmail2 now runs
smoothly and sent-mails don't re-appear again. I just reran the steps outlined
in the error description.

Christoph Pospiech

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list