Happy New Year Everyone,

and *yes* it's that time of the year to archive old stuff again. Please 
implement proper error codes to support this (scripting) endeavor.

=> Good

$ doveadm user foo
userdb lookup: user foo doesn't exist
$ echo $?
2

=> Bad

$ doveadm acl get -u t...@leuxner.net FOO
doveadm(t...@leuxner.net): Error: Can't open mailbox FOO: Mailbox doesn't 
exist: FOO
ID                                                                              
                    Global Rights
$ echo $?
0

$ doveconf -n | head
# 2.1.rc1 (056934abd2ef): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.3 

Thanks
Thomas

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to