"Marc" == Marc <Marc@f1-outsourcing.eu> writes:
I thought this was more related to some sort of corruption on the file system. Also the doveadm does not seem to be able to fix it. I never created this 'foldertest17485243507278' so I guessed it is maybe something dovecot found. Some stray mailbox it detected. Nobody every seen these automatically appear? I don't think much help will be posting a conf as it has probably 95% irrelevant data.
Posting the configuration lets us look over what you had, and understand better your configuration. Dovecot has some many options and ways to use it, that problems can come for all kinds of places. But even if just 5% if the config is relevant, it helps.
So you're running on RHEL9 (or Almalinux, etc) running dovecot 2.3. It sounds like you have replication to another host setup. But again, since you didn't post your config, its hard to tell.
I'd guess you're using mdbox, which I think is a bad idea honestly. If you corrupt the mdbox file, all the email in that mailbox could be lost. Using Maildir format helps limit the damage potential in my opinion. And it means that you can still read and access the email without having to use IMAP and dovecot in the worst case.
But again, describe your setup more clearly, look in the dovecot log files, post log files, etc. All this helps us help you.
John
We can't help until you post your config, and give us a bit more context here. What version of dovecot are you using? What do the log files show? What OS are you running on? What is your backend mailbox storage?
Giving us the output of:
doveconf -N
Is a good first start. Basically, you're just saying "Broke. Fix!" and that doesn't do much.
John
doveadm force-resync -u $account INBOX
doveadm(): Warning: fscking index file /.../index/storage/dovecot.map.index doveadm(): Warning: mdbox /.../mdbox/storage: rebuilding indexes doveadm(): Error: Couldn't open mailbox 'foldertest1751045732429': Mailbox doesn't exist: foldertest1751045732429 doveadm(): Error: Couldn't open mailbox 'foldertest1751045732429/foldertest': Mailbox doesn't exist: foldertest1751045732429/foldertest doveadm(): Error: Couldn't open mailbox 'foldertest17485243507278': Mailbox doesn't exist: foldertest17485243507278 doveadm(): Error: Couldn't open mailbox 'foldertest17485243507278/foldertest': Mailbox doesn't exist: foldertest17485243507278/foldertest doveadm(): Error: Couldn't open mailbox 'Trash/test': Mailbox doesn't exist: Trash/test doveadm(): Error: Couldn't open mailbox 'INBOX/test-files': Mailbox doesn't exist: INBOX/test-files doveadm(): Warning: fscking index file /.../index/storage/dovecot.map.index
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org