Bug 114337

Summary: kmail keeps filling my harddisk with unused remains of mails
Product: [Applications] kmail Reporter: Mathias Homann <Mathias.Homann>
Component: indexAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jtamate, lemma
Priority: NOR Keywords: triaged
Version: 1.8.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mathias Homann 2005-10-13 15:09:32 UTC
Version:           1.8.2 (using KDE 3.4.2 Level "b" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.18-default

kmail is slowly filling up my harddisk with remains of mails.

examples:

~/Mail/sent-mail/cur fills up with remains of the mails i've sent over time

~/.kde/share/apps/kmail/imap keeps filling up with files like this:
3560    ./imap/.1199664090.directory/Trash
4428    ./imap/.1199664090.directory/INBOX

which, after looking into the files, seem to be lists of header lines from mails that have been in the respective folders once (may i ask, why keep such info for a TRASH folder, over a year after the mail in question has been deleted from the imap server???)

can I safely delete such files, without losing folder configuration stuff like mailinglist setup and such?

wouldn't the difference between imap and disconnected imap be that with "regular" imap, nothing (or almost nothing) is stored locally?
Comment 1 Carsten Burghardt 2006-01-01 12:51:48 UTC
AFAIK that should be fixed in 3.5, please give this a try.
Comment 2 Mathias Homann 2006-01-01 15:10:21 UTC
partially fixed.

~/Mail/sent-mail/ is nice and clean now, but ~/.kde/share/apps/kmail/imap still is cluttered with header lines from mails that dont exist anymore, especially for "Trash" folders. I think those could safely be deleted on "Empty Trash".
Comment 3 Jaime Torres 2008-09-18 13:11:20 UTC
In kmail 1.10.1 (kde 4.1.66), all the mail folders does not have files for no longer existing mails.
Comment 4 Michael Leupold 2009-04-04 19:56:00 UTC
I can't reproduce this on KMail 1.11.0 either. I don't see excess files in imap directories.