[Dovecot] doveadm mailbox create error codes

Timo Sirainen
Mon, 23 Sep 2013 22:13:09 -0000

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.