Discussion:
[gentoo-user] Kmail does not show all imap folders
(too old to reply)
Alexander Puchmayr
2024-01-22 07:10:01 UTC
Permalink
Hi there,

I'm using dovecot as imap server, some sieve scripts sorting incoming mails
into a folder structure and kmail on multiple different machines as client. The
folder structure on the server looks fine, I can access the folders via command
line and I don't see anything obviously wrong.

Some of those target folders are not shown on all machines, they are simply
ignored; Unfortunately these folders contain important mails which I need to
react to (which is bad if I do not see them on my main machine, only in some
test VM).

I checked folder subscriptions in kmail, but I do not see the missing folders
there either. Also akonadi-console does not show them. I also tried
curl imaps://<my-server>/
Showing all of the missing folders, so I think its an akonadi/kmail problem
and not an imap problem.

Any ideas?

BR
Alex

Kde-apps/kmail-23.08.3
Kde-frameworks/kjobwidgets-5.112.0
kde-apps/akonadi-23.08.3-r1
Wols Lists
2024-01-22 09:00:01 UTC
Permalink
Post by Alexander Puchmayr
I checked folder subscriptions in kmail, but I do not see the missing folders
there either. Also akonadi-console does not show them. I also tried
curl imaps://<my-server>/
Showing all of the missing folders, so I think its an akonadi/kmail problem
and not an imap problem.
Any ideas?
I occasionally get this problem in Thunderbird, and one of the options
in folder properties is "delete the index". If you've got that option
for the parent folder, do it, and then kmail should rebuild from scratch
and find the folders.

Cheers,
Wol
Michael
2024-01-22 09:50:02 UTC
Permalink
Post by Wols Lists
Post by Alexander Puchmayr
I checked folder subscriptions in kmail, but I do not see the missing
folders there either. Also akonadi-console does not show them. I also
tried curl imaps://<my-server>/
Showing all of the missing folders, so I think its an akonadi/kmail problem
and not an imap problem.
Any ideas?
I occasionally get this problem in Thunderbird, and one of the options
in folder properties is "delete the index". If you've got that option
for the parent folder, do it, and then kmail should rebuild from scratch
and find the folders.
Cheers,
Wol
Hmm ... I never received the OP message, only Wol's reply made it through. :-/

In Kmail make sure you have subscribed on the server folders you want Kmail to
show. Right-click on the top folder and select 'Serverside Subscription' to
show the tree of folders on the server.

To re-index the messages in Akonadi you can right-click on the top folder,
e.g. Inbox, then select 'Folder Properties', 'Maintenance' tab and click the
button "Reindex Folder".

Also, on the Akonadi Console you can restart the 'Akonadi Indexing Agent'.
Alexander Puchmayr
2024-01-22 16:50:01 UTC
Permalink
Post by Michael
In Kmail make sure you have subscribed on the server folders you want Kmail
to show. Right-click on the top folder and select 'Serverside
Subscription' to show the tree of folders on the server.
Indeed, that was missing. I only looked at "local subscriptions", not server
side subscriptions. Now folders are shown :-)

Thanks a lot
Alex

Loading...