Re: [Dovecot] doveadm mailbox create error codes

2013-09-23 Thread Timo Sirainen
On 23.9.2013, at 23.11, Micah Anderson  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.



[Dovecot] doveadm mailbox create error codes

2013-09-23 Thread Micah Anderson

Hello,

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.

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.

Thanks for any pointers!
micah