https://bugs.kde.org/show_bug.cgi?id=492233
--- Comment #3 from whatifgodwasoneo...@hotmail.com --- Further Info: I am NOT able to fix this issue permanently. Whenever I manage to have akonadi "rescan" the maildir (or the IMAP folders), they appear in Kmail and they are not greyed out anymore in the Akonadi console. But when akonadi restarts (either because it crashes & restarts itself, or because I restart it with `akonadi restart`), those folders are greyed out again and kmail cannot see them anymore. I can make a new message appear in the folders, either in maildirs (by creating a new msg or by just `touch`ing an existing one) or in IMAP accounts (by manipulating the folders from another mail client), and then force a folder rescan, but this is not a viable solution! Another workaround I found is to fiddle directly with the DB: ``` update collectiontable set remoterevision = NULL where id in (list of affected collection ids) ; ``` and then request a rescan. This is faster, but hey... it's not viable. It seems that akonadi is not able to persist the "correct" status in the DB, I have no idea how to investigate further. I tried both with mariadb and with postgresql backends: the behaviour is consistent. I have also tried with removing the search_db folder and also the whole .local/share/akonadi folder: the behaviour persists. At this point I think it's a bug... It is reproducible at each & every clean start, with any backend! Could someone help?! -- You are receiving this mail because: You are watching all bug changes.