Bug 67135

Summary: kmail loses mail indexes if $HOME runs out of space
Product: [Applications] kmail Reporter: Riku Voipio <nchip>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Riku Voipio 2003-11-03 20:09:48 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages

(from debian bugreport #207456 by Russell Coker)

Package: kmail
Version: 4:3.1.3-1
Severity: grave

When disk space runs out kmail can have some serious errors.

I have just had my machine run out of space.  When I changed folder from Inbox
to Trash the Inbox indexes were re-written, due to lack of space they were
truncated (and kmail did not issue a warning).  When I switched back to the
Inbox it reported 0 messages!!!

It should have informed me that there was a lack of disk space first, then it
should have offered to empty the Trash folder to reclaim some space.  Finally
it should have offered to keep retrying to write the file while I went to
another window and did whatever was necessary to free some space.

Finally, kmail should have two copies of the indexes of the active folder.
Then if space runs out it can write one copy, delete the other, and simply
refuse to open a folder if there is no space to copy the indexes.
Comment 1 Sebastian Sauer 2003-11-18 16:48:59 UTC

*** This bug has been marked as a duplicate of 57342 ***