Mailbox can't be created

Timo Sirainen tss at
Sat Sep 5 23:44:03 UTC 2015

> On 03 Sep 2015, at 23:10, Paulo Matos <paulo at> wrote:
> On 29/08/15 11:31, Timo Sirainen wrote:
>> On 27 Aug 2015, at 12:07, Paulo Matos <paulo at> wrote:
>>> Aug 27 10:02:29 lda(): Info: msgid=<dae42d0cf57bf4496a3dd53e162f8281 at localhost.localdomain>: save failed to open mailbox PreINBOX: Mailbox can't be created
>> I have no idea how you could get that error message. Looking at the code I don't see any way it could happen.. This error message exists only if the mailbox is tried to be created for a "fail" storage, which you can't really do. I'd maybe try recompiling Dovecot or something.
> dovecot sources 2.2.18 (src/lib-storage/fail-mailbox.c):
> static int
> fail_mailbox_create(struct mailbox *box,
>                    const struct mailbox_update *update ATTR_UNUSED,
>                    bool directory ATTR_UNUSED)
> {

Add here: i_panic("can't get here");

Then when it crashes, get gdb backtrace as described by

More information about the dovecot mailing list