Version: 1.4.7 (using KDE 3.0.8 (KDE 3.1 beta2)) Installed from: (sid) Compiler: gcc version 2.95.4 20011002 (Debian prerelease) OS: Linux (i686) release 2.4.19-686 From time to time my inbox (which is in maildir format) indexes seem to get out of sync. When that happens, if I click on a message, I see 'subject unknown, from unknown', instead of the real subject/author. Exiting kmail, deleting all the .index files for inbox and restarting kmail fixes the problem. Till now I haven't had an e-mail corruption from this bug. This bug is very similar to what happens if you access a mbox mailbox with an external program, like mutt, except that in this case I did not access the maildir from an external program. I don't know how to reproduce the bug, except that it happened maybe 3-4 times already. The latest time, I started kmail for the first time since reboot. I ppp-ed into my account and downloaded ~30 new messages. Then I suspended my laptop. The next day I opened the laptop, and the inbox was out-of sync. I noticed this while downloading new messages, so I stoped the download, exited kmail, deleted the .index files and restarted, and all was well. How can I provide usefull information to track this bug?
Some more information that is probably relevant: my filesystem is ext3, and before the reboot the computer shut down when the battery died - at that time kmail was probably running.
The problem is that KMail doesn't write the index of the currently open folder until this folder is left and KMail doesn't write the index of the five system folders (inbox is one of them) until KMail is quit. In your case KMail wasn't shutdown cleanly and this resulted in the problems you reported. To prevent this problem from occurring again please always quit KMail when you stop working with you laptop (or alternatively make sure that your laptop never runs out of energy).
I have the same problem with kmail 1.4.3 KDE 3.0.5 (Suse 8.1 installed from DVD followed by online update). I'm using it as a pop3 Client. On my old Athlon 500 MHz I've never had a problem with kmail. maildir-Format ist selected and "Alle Ordner komprimieren". This problem first occured with my new P4 2.6 GHz.
*** This bug has been marked as a duplicate of 43931 ***