[Dovecot] doveadm mailbox create error codes

Timo Sirainen tss at iki.fi
Tue Sep 24 01:13:09 EEST 2013

On 23.9.2013, at 23.11, Micah Anderson <micah at riseup.net> wrote:

> I'm trying to find out what the different 'doveadm mailbox create' error
> codes are. I've been looking through the source, but I can't seem to
> find them.

You need to grep for "EX_" and/or "doveadm_exit_code".

> I did determine that '65' happens when "Error: Can't create mailbox x:
> Mailbox already exists", but I've also received error 67, and the more
> mysterious error code 16640.

doveadm returns the sysexits.h error codes. 67 means "unknown user". 16640 (or anything above 127) means a crash or something.

More information about the dovecot mailing list