On 4 Aug 2019, at 22.57, Király Balázs via dovecot dovecot@dovecot.org wrote:
Hi!
I’m struggling with the following error:
Aug 4 21:32:00 mx02 dovecot: imap(xxx@xxx.tld)<17693>
: Error: Mailbox INBOX: Broken file /home/vmail/xxx.tld/xxx/dovecot-uidlist line 6246: Invalid data: Aug 4 21:49:22 mx02 dovecot: imap(xxx@xxx.tld)<21879> : Error: Mailbox INBOX: Broken file /home/vmail/xxx.tld/xxx/dovecot-uidlist line 6249: Invalid data: It seems the first part is not incremented properly and sometimes it has a jump in it, like the line 6246:
18810 :1564935891.M816284P8904.mx01.m.ininet.hu,S=12145,W=12409 18812 :1564947092.M542714P2651.mx01.m.ininet.hu,S=12275,W=12517
Is there ever anything after the "Invalid data:" text? It seems anyway that concurrent reading/writing isn't working as expected in dovecot-uidlist. Most likely something to do with NFS.
Can you reproduce this easily by just running "imaptest" with some test account (it'll delete mails)? See https://imapwiki.org/ImapTest - it's also available in dovecot-imaptest package in repo.dovecot.org.