Bug 265326 - KMail does not delete outdated information from the cache files of the IMAP folders
Summary: KMail does not delete outdated information from the cache files of the IMAP f...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: 1.13.5
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 19:42 UTC by Sergey Y. Afonin
Modified: 2015-04-12 10:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Y. Afonin 2011-02-03 19:42:18 UTC
Version:           1.13.5 (using KDE 4.5.5) 
OS:                Linux

I found that the cache files contain information about the long-deleted messages. For example I have folper "postmaster" with 52 messages. But

$ cat ~/.kde/share/apps/kmail/imap/.1499195625.directory/.INBOX.directory/postmaster | grep "From " | wc -l
29538

In some case this files have size in hundreds Mb and processed too slow when recreating indexes. This is a very old bug. I found the headers with date 2003 year.

Reproducible: Didn't try
Comment 1 Ph. Marek 2011-10-04 11:28:41 UTC
Same bug for me too - an empty folder has several MB of cache file associated.
Comment 2 Ph. Marek 2011-10-04 11:29:18 UTC
Forgot to say:

Version 1.13.7
KDE 4.6.5
Comment 3 Laurent Montel 2015-04-12 10:25:31 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.