[Dovecot] Bug: mbox-sync-parse.c
John Harper
harper at utsc.utoronto.ca
Fri Mar 9 19:30:52 EET 2007
I was using rc24, mbox format with indices stored in the mail
directory, which has quotas. Yes, I know I should not do that, but
with 12000 undergrads I can't put anything on another partition
without quotas, else they'll find it....
Usually just the indicies get messed up if a user goes over quota,
which often fix themselves if they log in twice (after getting
under quota again).
But one student was getting
dovecot: Mar 09 11:27:06 Error: IMAP(02abcdef): file
mbox-sync-update.c: line 38 7 (mbox_sync_update_header):
assertion failed: (ctx->mail.uid != 0 || ctx->pseud o)
I tried his inbox under rc26, which reported differently:
dovecot: Mar 09 11:53:50 Error: IMAP(00tester): Out of UIDs,
renumbering them in mbox file
/windflower/testmail/00tester-tmp/.mail
dovecot: Mar 09 11:53:50 Error: IMAP(00tester): UIDVALIDITY changed
(1173459229 -> 1042770870) in mbox file
/windflower/testmail/00tester-tmp/.mail
dovecot: Mar 09 11:53:50 Info: IMAP(00tester): Disconnected: Mailbox
is in inconsistent state, please relogin.
but logging in again did not help. In the inbox the first message had
an extra header:
X-IMAPbase: 1042770870 4294967294 $MDNSent
which once removed fixed the problem.
Just recording this, in case someone else has a similar issue.
John Harper
-------------------------------------------------
Senior Systems Administrator
Information and Instructional Technology Services
University of Toronto Scarborough
harper at utsc.utoronto.ca
On Wed, Mar 07, 2007 at 09:33:06AM +0200, Timo Sirainen wrote:
> On Mon, 2007-03-05 at 23:15 +0100, Dean Quanne wrote:
> > [root at mail postfix]# dovecot --version
> > 1.0.rc25
> > Mar 5 23:58:30 localhost dovecot: IMAP(dean): file mbox-sync-parse.c: line 228 (parse_x_imap_base): assertion failed: (ctx->sync_ctx->next_uid > ctx->sync_ctx->prev_msg_uid)
>
> Recent RCs have been buggy with mboxes. rc26 should finally fix this.
>
More information about the dovecot
mailing list