On 21. Oct 2024, at 15.50, Frank Kirschner via dovecot dovecot@dovecot.org wrote:
Hi,
I have upgraded from 2.3.17 to 2.3.21.1. mail_location = maildir
Now in some mailboxes are IMAP folder in subdir of INBOX missing. When I do a 'ls -la' in filesystem, I see the subfolder like other folder with identical owner an permissions. But when I do doveadm mailbox list -u [user] the IMAP folder is not displayed.
So I have deleted all files in /opt/dovecot/[hash]/[user] because I use INDEX=/opt/dovecot/%2.256Nu/%u:ITERINDEX The restart dovecot and re-login the Imap client. All IMAP folders are rebuilt but the same folders like before are still missing.
ITERINDEX lists the IMAP folders using the directories that exist in INDEX path. If you delete the index directories, it shouldn't be showing you any IMAP folders. Does the problem go away simply removing the ITERINDEX, or why are you using it?