Summary: | kmailcvt doesn´t seem to import mail read/unread status correctly | ||
---|---|---|---|
Product: | [Applications] kmailcvt | Reporter: | Martin Steigerwald <Martin> |
Component: | general | Assignee: | Laurent Montel <montel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | critical | CC: | andrew.crouthamel, crptdngl71, montel, quazgar |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Screenshot error message - failure to import messages.
Collections with existing "new" subcollection |
Description
Martin Steigerwald
2013-05-01 11:17:02 UTC
Created attachment 92991 [details]
Screenshot error message - failure to import messages.
I can confirm the misbehaviour of kmail2/kmailcvt. After losing all my network/internet access settings I was forced to reinstall my complete system. I backed up my /home folder to external harddrive first to have backup also of my old emails. I then reinstalled linux on my system, then reinstalled kmail2 (version: 4:4.14.2-2 I then wanted to import my old emails from external backup folder. So I opened "Datei" -> "Nachrichten importieren..." ("File" - "Import messages..."), added an extra folder for import messages and then browsed kmail2 to my backup folder. It started importing all sorts of stuff, including images, icons, even MYD files, XML-files and binaries, but also started to import real old mails. It stuck with attached error message: "Fehler: Nachricht kann dem Ordner new nicht hinzugefügt werden. Ursache: Unknown collection for '610'". ("Error: Messsage cannot be added to folder new. Reason: Unknown collection for '610'"). Note the double language error message (half way German, half way English). Note the useless information "610". The first time this message appeared it was attempting to access news in folder /local/share/local-mail/Job/XING/new. "Job" and "XING" are folders I created in kmail2 for collecting messages sent to/by XING Apparently kmail2 /kmailcvt was unable to import messages from NEW folders. I could restore a number of backupped messages, but I still miss a lot of very important old messages that contain important information for me and/or are valuable for me for private reasons. What can I do to recover these mails? Could it be a permission rights problem? Created attachment 96032 [details]
Collections with existing "new" subcollection
Same here, some messages from "new" maildir folders are not imported, kmailcvt shows the error message noted above. Indeed in AkonadiConsole I can see that the expected collection is missing.
E.g. folder "foo" exists with ID 1500, but kmailcvt seems to expect a collection with ID 1501 instead. For some collections, a subcollection named "new" seems to exist though (see attached screenshot of the DB browser). I have no idea as to why this does not work for all folders.
I forgot to mention: This happens for 4.14.8 here. One more thing: the popup message comes up for every single message going to said missing folder/collection. For use cases like restoring mails from an older installation this can mean minutes of keeping the Return key pressed. Workaround: Since only "new" folders are affected, and the problem does not appear for every folder, manually importing just the affected folders works (most of the time) helped me around this bug. When choosing to import from the "undotted" directory (with tmp, cur and new subfolders), I can simply transfer all mails from the "new" subfolder into the original folder later. That this bug only appears every now and then makes me believe it's probably a race condition with the folder/collection creation. My machine was under pretty heavy load when importing, also because akonadi_baloo_indexer was running simultaneously at high load. Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. |