[Dovecot] (mail_index_expunge): assertion failed: (!t->view->external)

michael at crosscode.org michael at crosscode.org
Mon Nov 15 19:37:17 EET 2004

   I see the same problem, and I assume it's a bug somewhere in the delteion
code because about 50% of the time I *also* see this error:

dovecot: Nov 15 12:25:59 Error: IMAP(user at domain.com): mbox sync: UID inserted in the middle of mailbox virtual/domain.com/user (114 > 113)
dovecot: Nov 15 12:25:59 Error: IMAP(user at domain.com): file mail-index-transaction.c: line 247 (mail_index_expunge): assertion failed: (!t->view->external)

   And in order to fix this error I have to open up the mailbox, find the
message with ID 113, and delete the partially deleted message that got stuck
after it. *Then* I can delete the index files and go on.

This is on linux, dovecot test-52 and mbox.

- Michael

On Mon, 15 Nov 2004, Alex S Moore wrote:

> On Mon, 2004-11-15 at 14:29 +0000, Mark Lidstone wrote:
>> Hi all,
>> I was wondering if anyone's seen anything like this?
> Yes, I am seeing exactly the same thing.  Except that it started
> happening on INBOX, which renders the client email program unusable.
> Lots of lost connections, cannot select INBOX, etc. errors on the client
> side.  The messages that you posted are in the dovecot server's log.
> I am running test52 on Solaris.  The maildir is in the user's home
> directory on a nfs server.
> There are some post-test52 fixes in CVS, but I do not know if this
> particular problem is addressed.
> Alex

More information about the dovecot mailing list