You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably caused by cronjob removing files directly from the maildir and somehow causes Dovecot to recreate dovecot-uidlist. Affected users have dovecot-uidlist recreated with mtime and UID validity corresponding to Jul 13.
However on the server dovecot-uidlist has 1718053341 in the first line, dovecot-uidvalidity contains 666769dd and there is an empty file dovecot-uidvalidity.666769dd next to it. 0x666769dd is 1718053341, so it seems this is still an old timestamp.
So it looks like UID validity is not actually changed in the files after all. But running this on the server reports new UID validity 1720880574, which comes from I don't know where:
# doveadm mailbox status -u XXX uidvalidity INBOX
INBOX uidvalidity=1720880574
On Jul 13 many user accounts got new INBOX UID validity resulting in lost messages due to deltachat/deltachat-core-rust#5774
We use maildir format.
User home contains files
dovecot-uidlist
anddovecot-uidvalidity
.dovecot-uidvalidity
is created bymailbox_uidvalidity_write
here:https://github.com/dovecot/core/blob/52c9f93b1d9a343374f7b586a365d47dbed40bf4/src/lib-storage/mailbox-uidvalidity.c#L69
It contains UID validity as a hex value.
For example:
0x6690a34c is 1720755020
The same UID validity is stored in
dovecot-uidlist
as the first entry:V
corresponds to UID validity:https://github.com/dovecot/core/blob/52c9f93b1d9a343374f7b586a365d47dbed40bf4/src/lib-storage/index/maildir/maildir-uidlist.h#L33
This is probably caused by cronjob removing files directly from the maildir and somehow causes Dovecot to recreate dovecot-uidlist. Affected users have dovecot-uidlist recreated with mtime and UID validity corresponding to Jul 13.
Some documentation of uidlist is at the beginning of maildir-sync:
https://github.com/dovecot/core/blob/52c9f93b1d9a343374f7b586a365d47dbed40bf4/src/lib-storage/index/maildir/maildir-sync.c#L93-L108
The text was updated successfully, but these errors were encountered: