2022-01-09 12:57:59 +00:00
|
|
|
# Password Recovery Plugin for Roundcube
|
2022-01-09 12:50:54 +00:00
|
|
|
|
2022-01-09 12:55:32 +00:00
|
|
|
Plugin that adds functionality so that a user can
|
|
|
|
create a new password if the original is lost.
|
2022-01-09 12:50:54 +00:00
|
|
|
|
2022-01-09 12:55:32 +00:00
|
|
|
To restore the password, the user is asked a secret question,
|
|
|
|
and/or a confirmation code is sent to an additional email address
|
|
|
|
and SMS to the phone.
|
2022-01-09 12:50:54 +00:00
|
|
|
|
2022-01-09 12:55:32 +00:00
|
|
|
It is recommended that you use the "SMSTools" package to send SMS.
|
2022-01-09 12:50:54 +00:00
|
|
|
|
2022-01-09 12:55:32 +00:00
|
|
|
When checking and saving a new password,
|
|
|
|
the password is encrypted using the MD5-Crypt method.
|
|
|
|
The password is written directly to the Postfix database (mailbox table).
|
|
|
|
|
|
|
|
The Password plugin can also be used when configured accordingly.
|
|
|
|
|
|
|
|
|
2022-01-09 12:57:59 +00:00
|
|
|
### Install
|
2022-01-09 13:25:28 +00:00
|
|
|
|
2022-01-09 12:55:32 +00:00
|
|
|
1. Place this plugin folder into plugins directory of Roundcube
|
|
|
|
2. Add 'password_recovery' to $config['plugins'] in your Roundcube config
|
2022-01-09 13:25:28 +00:00
|
|
|
3. Rename 'config.inc.php.dist' to 'config.inc.php'
|
|
|
|
4. Configure the credentials to access the postfix database in the config.inc.php file
|
2022-01-09 12:50:54 +00:00
|
|
|
|
2022-01-09 19:46:13 +00:00
|
|
|
|
2022-01-09 19:42:29 +00:00
|
|
|
### Screenshots
|
|
|
|
|
|
|
|
![Login with Elastic Skin](docs/login.png)
|
|
|
|
|
|
|
|
![Recovery password](docs/reset.png)
|
|
|
|
|
2022-01-09 19:46:13 +00:00
|
|
|
![Identities](docs/identities.png)
|
|
|
|
|
|
|
|
|
|
|
|
### Settings
|
|
|
|
|
2022-01-09 19:46:46 +00:00
|
|
|
![Settings for confirmation code](docs/config_code.png)
|
2022-01-09 19:46:13 +00:00
|
|
|
|
2022-01-09 19:42:29 +00:00
|
|
|
![Recovery with code](docs/recovery.png)
|
|
|
|
|
|
|
|
|
2022-01-09 19:46:46 +00:00
|
|
|
![Settings for secret question/answer](docs/config_answer.png)
|
2022-01-09 19:46:13 +00:00
|
|
|
|
|
|
|
![Recovery with code and answer](docs/recovery2.png)
|
2022-01-09 19:40:22 +00:00
|
|
|
|