Hello Timo, I've upgraded from dovecot-0.99 to dovecot-1.0-stable (the 2005-05-09 version) on FreeBSD 5.4 and encountered the following problems (problem #4 (assertion failed) made me downgrade back to dovecot-0.99...) : 1. mbox sync: UID inserted in the middle of mailbox /var/mail/gopauld (5230 > 4407) --> OK, that's documented on the Wiki, not a real problem 2. imap(cxxx): mkdir_parents(/opt/dovecot/c/cxxx/.imap/INBOX) failed: Permission denied --> I can't understand why since /opt/dovecot/c is rwxrwxrwt and belongs to root:wheel 3. dovecot: IMAP(xxxx): UIDs broken with partial sync in mbox file /yyyy/zzzz/xxxx/Mail/Drafts 4. dovecot: IMAP(xxxx): file istream-raw-mbox.c: line 383 (istream_raw_mbox_get_body_size): assertion failed: +(rstream->body_offset != (uoff_t)-1) --> That one occured each time a user connected with Eudora (on OS-X) moved messages from INBOX to some of her IMAP mailboxes. Since it was in real life, I hadn't time to get a gdb backtrace. Notes : . that user had restarted her client (Eudora). . my messages moves from one IMAP mbox to another did work. . the assertion failed occured with the version of 2005-06-04 as well (which I tried since the ChangLog mentionned some similar problems). Any clues ? -- Thomas Hummel | Institut Pasteur <hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
On Wed, 2005-06-08 at 14:46 +0200, Thomas Hummel wrote:> 2. imap(cxxx): mkdir_parents(/opt/dovecot/c/cxxx/.imap/INBOX) failed: Permission denied > > --> I can't understand why since /opt/dovecot/c is rwxrwxrwt and belongs > to root:wheelWas cxxx created then? Anyway one of the mkdir() calls which tried to create that path failed with that error..> 3. dovecot: IMAP(xxxx): UIDs broken with partial sync in mbox file /yyyy/zzzz/xxxx/Mail/DraftsWell, shouldn't happen but not a real problem unless it happens constantly.> 4. dovecot: IMAP(xxxx): file istream-raw-mbox.c: line 383 (istream_raw_mbox_get_body_size): assertion failed: > +(rstream->body_offset != (uoff_t)-1)Probably means the mbox has CR+LF linefeeds? 1.0-stables don't handle them well yet. IMAP clients can't create CR+LF linefeeds, so they must have come somewhere else.> --> That one occured each time a user connected with Eudora (on OS-X) > moved messages from INBOX to some of her IMAP mailboxes.I'm not sure if copying preserves CR+LFs.. I don't think it should. Maybe it just triggered the problem in INBOX when some messages were deleted.
Apparently Analagous Threads
- CR LF in stable
- assertion failed in 1.0-stable
- IMAP can't read inbox: istream_raw_mbox_get_body_size assertion failed
- Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)
- stable assert error