[Bug 282160] akoandi does not delete mails from .local/share/akonadi/file_db_data

András Manţia amantia at kde.org
Thu Nov 24 06:55:33 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=282160





--- Comment #10 from András Manţia <amantia kde org>  2011-11-24 06:55:32 ---
Disconnected imap mail bodies are kept in the cache, that's correct. This is
needed due to the disconnected behavior. 
A problem would be if you have mails in the cache for maildir or online IMAP
that are not deleted after some time. The time you can set in the properties of
each folder, start with the top level one as that is inherited by the others.
Look at Properties->Retrieval. 
As for checking for stale items: akonadictl fsck. The result of the check
appears in the same place where akonadiserver debug outputs, which is usually
.xsession-errors or the console from where akonadiserver (akonadictl start) was
started.

As for the database (not file_db_data), yes mail headers are stored there for
all your mails, sorry there is no way around this. KMail1 also had indexes
(.index files), it also had a local cache for disconnected IMAP (and for
headers for online imap). I'm not sure how big is the difference between the
size of the ~/.local/share/akonadi and the total size of what KMail1 used for
indexing and cache, if one does a test, I'm happy to see it. 

What *could* eat space is MySql not cleaning the db after you remove items,
just marking as deleted (usual behavior for databases). You could use from time
to time akonadictl vacuum, but this is slow and requires at least once more the
size of the database as free space.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list