[kmail2] [Bug 339181] moving mails from cached imap to local folder leaves mails without RID

Martin Steigerwald ms at teamix.de
Thu Feb 5 08:41:41 GMT 2015


--- Comment #10 from Martin Steigerwald <ms at teamix.de> ---
Luisfe, the "file_db_data" is also cache. Well the mail must be stored
somethere. Is it smaller than 4 KiB. Then grep like

ms at merkaba:~/.local/share/akonadi/db_data/akonadi> LANG=C grep -i "kmail" *
Binary file parttable.ibd matches
Binary file pimitemtable.ibd matches

for an ASCII word (no umlauts or special chars) in the mail.

But well it really needs to be an ASCII mail (press V in Kmail and then check
the body of the mail, use something from this body to grep for).

So or so, if you are sure the mail is *not* in the maildir, then that means
that Akonadi caches some mails really long without writing them to the final
location. I do not like this behavior. If it would cache a mail just for as
long as an IMAP server is offline or not willing to accept it, thats one thing.
But I would prefer it writes a mail as soon as possible.

Postfix for sure has a better guarentee on that. It writes the mail file, makes
fsync() on it, and only then tells the sender "I have it, you can discard it".

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

More information about the Kdepim-bugs mailing list