Re: Where are local mails?

Ingo Klöcker <[email protected]> Tue, 11 Mar 2025 12:04:23 +0100
Newsgroups gmane.comp.kde.users.pim
Message-ID <3614068.dWV9SEqChM@daneel>
On Dienstag, 11. März 2025 10:47:01 Mitteleuropäische Normalzeit Vojtěch 
Zeisek wrote:
> Hello,
> I'm bit confused. I set up IMAP folder in KMail, and from there I moved some
> mails to folder within local folders. That resource claims the mails are in
> /home/vojta/.local/share/local-mail/
> KMail as well as Akonadi Console claim there are 31 MB, but when I navigate
> to that folder, it just contain empty directories (default structure of
> Maildir), but in fact it's empty. So, where are the mails? Just in the
> Akonadi database? How do I enforce to save them into that Maildir? I wish
> to have them physically on disk, not just in the database.

It would be helpful if you would have told us which version of KMail you are 
using. In an older version (> 2 years; probably much longer) there was a bug 
which caused KMail to move only one of the selected messages to the local 
folder. The workaround back then was to copy the messages and then delete them 
in the original folder.

It takes some time until the files/messages appear in the file system after a 
move. The move seemingly happens very fast, but that's just the update of the 
location in the database. The files are written to the file system when a sync 
happens. I haven't moved larger amounts of mails to a local folder so that's 
just what I remember. If the messages still don't appear after some time then 
there may be a new bug.

Regards,
Ingo
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTbjgIOMowwlCBgvyGxb1mVFkdKugUCZ9AYtwAKCRCxb1mVFkdK
uvOcAQC4MSiEKWtIVEcm7aiwlFhEGUMpEV758DqvTcZfTZNP3QEA1CNk4oDHEC0q
ZafQI94O69l8Y1hkB0OsQISy9VMTZAw=
=8RVK
-----END PGP SIGNATURE-----