split password reset instructions from test procedures authored by anarcat's avatar anarcat
......@@ -353,6 +353,21 @@ and reverse IP configuration and reply with a report by email.
Interestingly, ran by [sparkpost](https://www.sparkpost.com/).
## Resetting another user mail password
To set a new password by hand in LDAP, you can use `doveadm` to
generate a salted password. This will create a `bcrypt` password, for
example:
doveadm pw -s BLF-CRYPT
Then copy-paste the output (minus the {} prefix) into the
`mailPassword` field in LDAP (if you want to bypass the web interface)
or the `/etc/dovecot/private/mail-passwords` file on the submission
server (if you want to bypass `ud-replicate` altogether, note that the
change might be overwritten fairly quickly). Note that [other schemes
can be used as well](https://doc.dovecot.org/configuration_manual/authentication/password_schemes/).
## Pager playbook
No pager playbook has been built yet. See the [tests section](#tests) below
......@@ -874,18 +889,10 @@ name anarcat and a prompted password (`-ap -pp`).
swaks -f anarcat@torproject.org -t anarcat@torproject.org -s submission.torproject.org -tls -p 587 -au anarcat -ap -pp
To set a new password by hand in LDAP, you can use `doveadm` to
generate a salted password. This will create a `bcrypt` password, for
example:
doveadm pw -s BLF-CRYPT
Then copy-paste the output (minus the {} prefix) into the
`mailPassword` field in LDAP (if you want to bypass the web interface)
or the `/etc/dovecot/private/mail-passwords` file on the submission
server (if you want to bypass `ud-replicate` altogether, note that the
change might be overwritten fairly quickly). Note that [other schemes
can be used as well](https://doc.dovecot.org/configuration_manual/authentication/password_schemes/).
If you do not have a password set in LDAP, follow the [setting an
email password](#setting an email password) instructions (for your own user) or (if you are an
admin debugging for another user) the [Resetting another user mail
password](#resetting-another-user-mail-password) instructions.
## Logs
......
......