On 12. Dec 2024, at 17.00, Ewald Dieterich via dovecot <dovecot@dovecot.org> wrote:
I'm running Dovecot 2.3.21 with the mdbox mailbox format. I lose mails (with an asterisk, see below) when I'm doing the following in 2 IMAP sessions:
Thanks, I knew there were these issues when a folder was being recreated with a same name, but I didn't think that it might end up losing emails. The fixes should appear in https://github.com/dovecot/core/ either today or next week, depending on how fast it goes through our review & tests:
Author: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Fri Dec 13 12:26:56 2024 +0200
lib-index: Fix handling indexid change in dovecot.index file
Depending on the situation the dovecot.index should be either deleted or
the mailbox reopened.
Author: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Fri Dec 13 12:26:27 2024 +0200
lib-index: Split off mail_transaction_log_has_changed()
Author: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Fri Dec 13 10:53:16 2024 +0200
lib-index: Don't delete dovecot.index.log when finding that indexid changes
The indexes were recreated, so the new indexes should be used instead of
deleting them.