[Dovecot] doveadm user error messages

Thomas Leuxner tlx at leuxner.net
Sun Jan 27 18:56:55 EET 2013


I use 'doveadm user' in some scripts and the exit codes are fine for my purposes. During tests it transpired that Dovecot 2.1 would give an error message when querying for non-existent users. Dovecot 2.2 just exits without a word. Not sure this is intended behaviour:

$ doveadm user foo
$ echo $?
67

$ id foo
id: foo: No such user

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130127/892fc616/attachment-0002.bin>


More information about the dovecot mailing list