[Dovecot] 'Doveadm user' could use better error codes

dovecot dovecot at vosslamber.nl
Tue Dec 28 17:25:54 EET 2010

On 28-12-10 16:07, David Ford wrote:
> dovecot, the whole point of his original email is to return a useful
> error code for the purpose of scripting. :)  always returning 0 for both
> valid and invalid usernames isn't helpful
> -d


But the original mail show an invalid use of the doveadm command
'doveadm user', which correctly produced a return-value of '1'

And a correclty formed command 'doveadm user foo', which correctly 
returned '0'

At the end of 'man doveadm-user' it says:
        Report  bugs, including doveconf -n output, to the Dovecot 
Mailing List <dovecot at dovecot.org>."

While i think this is a change-request, and not a bug, i still wonder 
what the output of 'dovecot -n' will help in this case ;-)


More information about the dovecot mailing list