This thread adds some info to the unresolved problem I asked about in this thread
over at the software forum. I continue it here because I suspect that NFS and not kmail is the source of the problem.
So the problem is this: ever since upgrading from Fedora 6 to 8, I've been experiencing periodic kmail/contact crashes. After running for some time, kmail pops an error window:
Error opening /home/myhome/Mail/sent-mail/cur; either this is not a valid maildir folder, or you do not have sufficient access permissions.
Sent-mail is just an example, it happens to random mail directories. Shortly after this, kmail crashes with the error message:
KMail encountered a fatal error and will terminate now. The error was: Could not sync maildir folder.
So I did an ls of an affected mail directory, which resides on an nfs filesystem on a fileserver, and I found this rather disquieting result:
aborghgr@mypc~$ ls -l Mail/inbox/
ls: cannot access Mail/inbox/cur: No such file or directory
d????????? ? ? ? ? ? cur
drwx------ 2 aborghgr slocate 4096 2005-07-08 13:23 new
drwx------ 2 aborghgr slocate 4096 2008-04-24 10:24 tmp
The cur directory (or other files to which this has happened)is not permanently lost: moving its parent directory for example restores all of the files, and simply waiting also solves the problem. Still, it makes working with kmail impossible, and also raises concerns about the stability of the filesystem in general. The people at the kdepim list said that a user-space program such as kmail could not possibly corrupt the filesystem like that, so it has to be a bug in nfs. Any ideas? I'm using Fedora 8, the 188.8.131.52-64.fc8 kernel and kmail 1.9.9 on kde 3.5.9-5.fc8. The nfs fileserver runs Fedora Core 3 with the 2.6.9-1.667 kernel (old machine).