27 Jan
2013
27 Jan
'13
6:56 p.m.
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