[Dovecot] doveadm user error messages
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
22 Feb
22 Feb
3:35 p.m.
On 27.1.2013, at 18.56, Thomas Leuxner tlx@leuxner.net wrote:
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
9:43 p.m.
4293
Age (days ago)
4319
Last active (days ago)
2 comments
2 participants
participants (2)
-
Thomas Leuxner
-
Timo Sirainen