kmail: Unable to fetch item from backend

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Error in kmail:

Unable to fetch item from backend (collection -1): Unable to retrieve item from resource: Multiple merge candidates, aborting.

Further symptoms:
- Selecting an email causing the above error does nothing in ways that can be very misleading to the end user. The error message above is hidden in the status bar at the very bottom of the window and can easily be missed. On the other hand, the message window still shows the last successfully loaded message. Depending on the content of the message, the user can be tricked into thinking that the message she is seeing is the one she actually selected.
- No clear, obvious error message is displayed.
- The message is (logically) not set as read.
- Trying to delete the message does nothing. The message stays there in the message list forever.

The only known workaround, is to open a console and browse to the actual Maildir directory containing the message, and deal with it by hand (e.g. using vim to read it, mv to move it or rm to delete it). This can be a difficult proposition in a folder containing a large amount of emails: one has to identify the email's actual file name as used on the filesystem.

In a typical mailbox folder, there are three directories:

$ ls -1
cur
new
tmp

Normally, new/ and tmp/ should be empty. When the above error occurs, it is observed that new/ is not empty.

Issues related to this page:

ProjectSummaryStatusPriorityCategoryLast updatedAssigned to
Linux softwarekmail: maildir new/ folder not emptyactivenormalbug report6 years 33 weeks