[Dovecot] inbox doesn't exist, and quota calculation error
Perhaps related to the other errors I just reported, I also see a few of these in the dovecot-2.0.3 logs: lda(pid 8212 user user3): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX lda(pid 8212 user user3): msgid=<201009240906510365.1gj1fpfhrhhm9@mail>: save failed to INBOX: Mailbox doesn't exist: INBOX lda(pid 8212 user user3): Error: BUG: Saving failed to unknown storage
and some clients report receiving this IMAP error: tag NO Mailbox doesn't exist: INBOX
although in general mail delivery and IMAP work, and these users' Maildir++ directories do exist and look OK. This error did not occur for the user1 or user2 in the other report.
And here's a third kind of error: imap(pid 5722 user user4): Error: stat(/path/to/mail/user4/tmp/ͼ) failed: No such file or directory imap(pid 5722 user user4): Error: Internal quota calculation error
That path looks like a memory munge.
On Fri, 2010-09-24 at 10:31 -0500, Mike Abbott wrote:
For newly created users that don't have the Maildir directory created yet? I guess there could be some race condition there in the initial INBOX creation.. This is with normal mail_location=maildir:~/Maildir or something?
I think that happens only once and afterwards the INBOX is created and stuff works ok?
Yeah, it does look like some memory corruption or something. And yeah, possibly also related to that filename="" bug. This is with Maildir++ quota? Did OSX have valgrind yet (or do you have something equivalent)?
On Fri, 2010-09-24 at 10:31 -0500, Mike Abbott wrote:
and some clients report receiving this IMAP error: tag NO Mailbox doesn't exist: INBOX
This was caused by the lost tmp/ directories, which was fixed by that patch I sent. Also http://hg.dovecot.org/dovecot-2.0/rev/5b0a1974fc6f fixes recreating these missing tmp/ dirs.
participants (2)
-
Mike Abbott
-
Timo Sirainen