Bug 454094 - Akonadi error when sending mail
Summary: Akonadi error when sending mail
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (other bugs)
Version First Reported In: 5.20.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-20 15:33 UTC by Erik Boritsch
Modified: 2025-04-05 11:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Boritsch 2022-05-20 15:33:47 UTC
SUMMARY
***
I try to send a mail with my IMAP account (own-hosted mail server). 
Upon sending the mail and placing it into the "Sent" folder I get following error from Akonadi:

Das Ergebnis kann nicht im Objekt gespeichert werden. [LLCONFLICT] Resource akonadi_maildir_resource_3 tries to modify item 183120 (1652815891176.R135.erik-Aspire-M3-481) (in collection 7) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE. 

The mail stays in the "Sent" folder marked as unread. I have to mark it as read manually. 

Deleting and recreating IMAP, SMTP and Identity does not help. Gmail account does not have this issue. akonadictl fsck and vacuum did not help. 
 
The error seemed to appear after an update to 5.20.2.

***


STEPS TO REPRODUCE
1.  Send a Mail with Kmail using IMAP account.
2. 

OBSERVED RESULT
Das Ergebnis kann nicht im Objekt gespeichert werden. [LLCONFLICT] Resource akonadi_maildir_resource_3 tries to modify item 183120 (1652815891176.R135.erik-Aspire-M3-481) (in collection 7) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE. 


EXPECTED RESULT
Mail sent and marked as read in the "Sent" IMAP folder.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest Neon 5.20
Comment 1 Hans-J. Ullrich 2025-04-05 11:12:56 UTC
Got into the same problem. Found a workaround. Do in this order as normal user:

1. akonadictl fsck

2. akonadictl vacuum

(you can do these both steps twiuce without no harm)

3. Now close kmail

4. akonadictl stop

Now the tricky things:

5. Move  the folder ¯/.local/share/akonadi/ to somewhere else

6. Start kmail and akonadi

7. akonadictl stop

8. Click in kmail to start akonadi again.

9. Wait some time to let it read all mails.

10. You will see the name of inbox is "inbox". To reset it to your language do the following:
as user in terminal: akonadiconsole
it will start a GUI. Navigate to "browser" look for "inbox" and delete it. It will be automatically recreated with your language.

11. Ok, last steps: Close kmail and restart it.

12. Now edit all your identities in kmail. You wlll find, that you have to confirm all 3 folders for "sentmal", "drafts" and "template". Important: Athough they are already marked correctly, just set them again. This step is very important!

13. After done this all and exactly in this order as described, the error should be gone!

Best

Hans


8.