Kmail and folder issue

Hi,
I cleaned my home folder last night trying to use xdg structure.
I was thinking that my kmail folder was using the standard path in .local/share/ and this is what I see in the configuration panel:

image

image

but actually in my .local/share there are 2 folders:

image

and the one declared in the UI:

image

I made a backup to test it, and the one that is used is the one hidden: .local/share/.local.mail.directory. I’m a bit confused.

Is there a way to check which are the right folders and rebuild the cache?
Thanks for any help.

@boredkollie:

You have enabled the Archive folder –

  • Therefore ‘~/ .local/share/.local.mail.directory.backup.copy/’ is the directory where you Local Mail is being archived.

When KMail executes, as the number of Local Mail increases and, the disk space being allocated for Local Mail increases and, the number of Local Mail sub-folders increases, at a certain point depending on, the amount Local Mail being stored and, the disk space being allocated and, the number of Local Mail sub-folders, KMail will auto-magically create a director named ‘~/.local/share/.local-mail.directory/’ and, move all the Local Mail to that new directory.


The only maintenance you can perform on a Mail Folder, regardless of a Local Folder or not, is to right-click on a Folder → select “Folder Properties” and then the tab “Maintenance” and then, press the button to re-index the messages in that folder.

~/ .local/share/.local.mail.directory.backup.copy/’ is the backup I made :slight_smile:

But I understand that ‘~/ .local/share/.local.mail.directory/’ is the one created by Kmail.

as it is alredy in .local/share that is hidden, it’d be possibile to remove the dot and make it visible?

Thanks! I’d never find it!

Not that I’m aware of – the KMail developers have decided to have it that way –

  • You could consider raising a KDE Bug Report asking for a change to the current implementation.
    <KDE Bugtracking System>

Done :slight_smile:

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