This module allows users to change passwords on their email accounts in ISPConfig.
Installation
If you have installed WebMail Pro from Git, you can follow the instructions for adding a module. If you've installed the product from ZIP, there's a simple approach available.
Configuration
After installing the module, you should find its configuration file at data/settings/modules/MailChangePasswordIspconfigPlugin.config.json
:
{
"Disabled": [
false,
"bool",
null,
"Setting to true disables the module"
],
"SupportedServers": [
[
"*"
],
"array",
null,
"If IMAP Server value of the mailserver is in this list, password change is enabled for it. * enables it for all the servers."
],
"DbUser": [
"root",
"string",
null,
"Defines username for accessing ISPConfig database"
],
"DbPass": [
"",
"string",
null,
"Defines password for accessing ISPConfig database"
],
"DbName": [
"dbispconfig",
"string",
null,
"Defines name of ISPConfig database"
],
"DbHost": [
"localhost",
"string",
null,
"Defines hostname of ISPConfig database"
]
}
NB: In the above configuration, you need to supply MySQL credentials used by ISPConfig itself, not by your WebMail Pro installation. It's MySQL root credentials you obtain when installing ISPConfig, and "dbispconfig" is the default database name used.
For SupportedServers, 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.
To make sure "Change Password" button is displayed, set "Disabled" to false in data/settings/modules/ChangePasswordWebclient.config.json
configuration file.