Password change in mail server database
NB: This module is only for previous version 8 of the product and has not been ported to v9 yet.
Allows users to change passwords on their email accounts, assuming the passwords are stored in a database table.
The plugin only provides a sample functionality stub:
$sql = "UPDATE mailbox SET password='".md5($sPassword)."' WHERE username='".$oAccount->IncomingLogin."'";
You'll need to edit the code to adjust it to your database backend and how passwords are encrypted there.
The standard way of installing a module (taking WebMail Lite as an example of the product built on Aurora framework): Adding modules in WebMail Lite
A simpler approach should also work for installing this module: download its code as ZIP, create
modules/ChangePasswordInMailServerDatabasePlugin directory and unpack the contents of archive in there.
data/settings/modules/ChangePasswordInMailServerDatabasePlugin.config.json file, you need to supply array of mailserver hostnames or IP addresses the feature is enabled for. If you put "*" item there, it means the feature is enabled for all accounts.
In the same file, you need to provide MySQL credentials used to access the database.
Also, be sure to enable password change frontend module by setting Disabled to false in