Raphael Bittencourt S. Costa
2008-Jun-12 14:37 UTC
[Dovecot] Dovecot 1.1rc9 strange messages
Helo all, I'm working on a migration from qmail+courier+maildrop to postfix +dovecot1.1+lda and today the logs has too many strange messages like this: Jun 12 10:51:22 mailserver03 dovecot: IMAP(xxxxl at xxxx.com.br): Broken file /data/services/dominios/xx.com.br/m/ma/mapel//Maildir/.Sent/dovecot-uidlist line 29: UID larger than next_uid (535 >= 535) Jun 12 10:51:26 mailserver03 dovecot: POP3(xxxx at xxxxx.com.br): Broken file /data/services/dominios/bx.com.br/n/no/nordeste//Maildir/dovecot-uidlist line 2: UID larger than next_uid (12 >= 12) Should I worry about this? Why dovecot-uidlist is getting broken? []s, Raphael Costa
On Thu, 2008-06-12 at 11:37 -0300, Raphael Bittencourt S. Costa wrote:> Helo all, > > I'm working on a migration from qmail+courier+maildrop to postfix > +dovecot1.1+lda and today the logs has too many strange messages like > this: > > Jun 12 10:51:22 mailserver03 dovecot: IMAP(xxxxl at xxxx.com.br): Broken > file /data/services/dominios/xx.com.br/m/ma/mapel//Maildir/.Sent/dovecot-uidlist line 29: UID larger than next_uid (535 >= 535) > Jun 12 10:51:26 mailserver03 dovecot: POP3(xxxx at xxxxx.com.br): Broken > file /data/services/dominios/bx.com.br/n/no/nordeste//Maildir/dovecot-uidlist line 2: UID larger than next_uid (12 >= 12) > > Should I worry about this? Why dovecot-uidlist is getting broken?There's no Dovecot v1.0 used anywhere? How did you get these dovecot-uidlist files created? Did you use a Courier migration script or rename them manually? These error messages can happen only when Dovecot reads version 1 format of the dovecot-uidlist file. This format is created by Dovecot v1.0 and Courier. After Dovecot v1.1 has updated the file it's in version 3 format and this error message can't happen anymore. So apparently some versions of Courier can also update the courierimapuiddb by appending new entries instead of rewriting the file and updating the next-uid field in the header line? What Courier version were you using before? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080613/37c25298/attachment-0002.bin>
Raphael Bittencourt S. Costa
2008-Jun-13 14:39 UTC
[Dovecot] Dovecot 1.1rc9 strange messages
On Fri, 2008-06-13 at 01:57 +0300, Timo Sirainen wrote:> There's no Dovecot v1.0 used anywhere? How did you get these > dovecot-uidlist files created? Did you use a Courier migration script > or > rename them manually?I used courier migration script.> > These error messages can happen only when Dovecot reads version 1 > format > of the dovecot-uidlist file. This format is created by Dovecot v1.0 > and > Courier. After Dovecot v1.1 has updated the file it's in version 3 > format and this error message can't happen anymore. >Ok. I will monitor the logs files after the full migration is done. :-)> So apparently some versions of Courier can also update the > courierimapuiddb by appending new entries instead of rewriting the > file > and updating the next-uid field in the header line? What Courier > version > were you using before?The version is courier-imap-3.0.8-1. Thanks Timo. Raphael Costa