28 Jun
2021
28 Jun
'21
8:46 a.m.
On 20/06/2021 01:22 Kevin N. kevin@notscheduled.eu wrote:
Dovecot version: 2.3.14
When setting a new password for a user key you have the option to prompt the user for the old and the new password, instead of providing them as parameters (using -N and -O instead of -n and -o).
However, running: doveadm mailbox cryptokey password -u user@domain -N -O
produces an error instead of prompting the user for the old and the new password.
The error is: password: option requires an argument -- 'O'
You can work around this by providing a dummy input for -O which seems to be properly ignored in the end, but it would be nice to not throw any errors since -O should not expect an argument.
Regards.
Hi!
Did you try leaving -O/-o out?
Aki