Kontakt / Kmail, folder list not up to date

Hello

I like to work with E-Mail aliases and my provider allows me to create an unlimited number. Each mail to an alias is sorted into a folder with the same name. Normally, adding an alias and corresponding folder made the folder appear in Kontact / Kmail within minutes. After a few weeks, a new folder is still not visible. Accessing the Manage Local Subscriptions… when right clicking on any folder did not help this time, nor did Ctrl-F5. I tried to find other means of refreshing the folder list, restating Akonadi (I have rebooted many times), searched for settings and looked in the main menu bar, but failed.

On a mobile device, using Mail (K9 fork), the new folder appeared within seconds. The problem persists on a desktop and Laptop, both up to date opensuse Tumbleweed installations, with this version of Kontact:

Kontact: 6.5.3 (25.08.3)
KDE Frameworks: 6.20.0
Qt: Using 6.10.1 and built against 6.10.1
openSUSE Tumbleweed (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.18.0-2-default

Any ideas?

For the past few weeks, I too have been having a problem with folders in KMail.

If I create a new folder and try to move it (drag and drop), KMail crashes.

At first, I thought it was, again, due to Akonadi.

I reconfigured everything in SQLite and MySQL, but it had no effect.

So I think it’s a bug specific to KMail. Now I’m almost certain.

I have read about this before, but searching for what is meant of how to do this does not yield any results. I assume a end user is not expected to perform any action?

It is possible to manually change the DB backend by editing the configuration file HOME/.config/akonadi/akonadiserverrc after stopping akonadi. When restarted, it initialises a new DB.

akonadi-db-migrator allows you to do this automatically.

By default, the backend is Mysql; some users prefer Postgresql or Sqlite. They often already use a GDB for other purposes.

1 Like

Understood, thank you for the link and explanation.

Tumbleweed update yesterday had a Kontact update. Does not seem to have fixed the issue.

As a workaround, I tried to add the folder manually, locally, with the exact same name as the folder i have created remotely. The mails contained in that folder remotely, appeared immediately locally.

I also tried to find if there was a bug reported. I could not find one that sounded right when searching for folder in each product: kmail, akonadi, kontact. The search did not allow to omit the a search term. A relevant bug report might have been filtered by the folder search term.

For reference, current versions:

Kontact: 6.6.0 (25.12.0)
KDE Frameworks: 6.21.0
Qt: Using 6.10.1 and built against 6.10.1
openSUSE Tumbleweed (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.18.2-1-default