Registered Member
|
I use Kubuntu 16.04.
I just configured the first (IMAP) account with my mail server on my NAS, all works fine. I didn't use the personal local mails but unfortunately one deleted mail was send to the local trash. I tried to delete it. Now Kontact/KMail didn't start again. It shows the message Could not create collection trash, resourceId: 3 and closes Kontact/KMail - repeatable. First I tried to solve it by deleting .local/share/local-mail/trash, as mentioned here. It didn't helped. Then I installed Akonadi Console and went to Agents-tab and removed the "Local Folders" agent - as mentioned here. Now Kontact/KMail still shows the error message but it didn't closes but crashes - repeatable. Despite the error message still says Could not create collection trash, resourceId: 3, I only found ~/.local/sharemaildir_resource_0. That is the Local Folders Agent listed in Akonadi Console. At least now I get notifications in Plasma/SystemTray if a new IMAP-mail arrives in remote INBOX. And it looks like akonadi works fine:
What can I do to start Kontact/KMail again? Edit: ~/.kde/share/config/kmailrc contains only one section:
And there are two emailidentities-files: ~/.kde/share/config/emailidentities and ~/.config/emailidentities but both are old, containing remains from Kubuntu 14.04. If I rename ~/.config/emailidentities, it is recreated with the same dated content. How can I reset KMail? As mentioned, I only use IMAP, so every data is remotely stored... |
Registered Member
|
I deleted the IMAP account with Akonadi Console. After that, Kontact starts normal again and I could create the IMAP account again.
But now is an unread message in the local folder / sent messages. I can't read it nor delete it with put all messages in trash. In ~/.local/share/akonadi_maildir_resource_0/sent-mail are no files/messages. I didn't use the local folder, so can I ignore the message? |
Administrator
|
Just recreate a "Local Folders" account, and this should get fixed. Otherwise, in the "advanced" tab of your Identity (Configure KMail > Identities) configuration you can set custom folders for trash, drafts, etc.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
So you mean, it's no problem to delete the Local Folders-entry?
Thanks! I had no courage to do so until now... |
Registered Member
|
Every IMAP account uses already his own folders for trash, drafts, etc. But Local Folders has the only outbox - which is used by all IMAP accounts! If I delete Local Folders and than create it again, is there still a outbox which can be used by the other accounts? |
Administrator
|
Yes, it should work.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
How? KMail > KMail setup > accesses > local folder can't be deleted. And I just installed KMail in a VirtualBox-Kubuntu: After I add KMail-Mailfolder, nothing is added in the left folder-window of KMail. After I added a Maildir-folder, it uses ~.local/share/local-mail/ like the original local folder, but left is only a local folder without inbox, outbox, drafts etc. added. And after all this the original local folder can't still be deleted. |
Administrator
|
Can you try using "akonadiconsole" and deleting the resources from there? You should have "Local Folders" there.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
I can't delete local folder but the sub-folders singly. But I'm afraid of deleting all sub-folders because I need the local folder > outbox, am I right? And when I tested to create a new "local folder" in VirtualBox-Kubuntu it was empty, without inbox, outbox, drafts etc.
In Akonadi Console I can see all my mail-folders. Also local folder > sent items which contains 1 unread and 2 total but is actually empty (that's my problem now). Can I fix this with Akonadi Console? What is synchronize folder (F5) and synchronize folder recursive (Strg+F5) doing? What is clear akonadi cache doing? |
Administrator
|
Don't use the Browser tab. Use the Resources tab (first one on the left) and delete the stray "Local Folders" resource.
"Violence is the last refuge of the incompetent."
Plasma FAQ maintainer - Plasma programming with Python |
Registered Member
|
See also bug report at:
https://bugs.kde.org/show_bug.cgi?id=339214 Removing of ~/.local/share/local-mail/trash/ solves the problem. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]