Password change for ISPConfig

This plugin is for the outdated version (v7) of the product.
With the current version (v8), use the plugin available here.

This plugin enables password change feature for AfterLogic WebMail running within ISPConfig control panel, so that user can change their email account password from within WebMail account settings area.

Upon downloading and extracting plugin package, rename its main directory from:

plugin-ispconfig-change-password-master

to:

ispconfig-change-password

Then you'll need to deploy the plugin so that its index file is available at the following location:

data/plugins/ispconfig-change-password/index.php

To enable the plugin, add the following to array defined in data/settings/config.php file:

'plugins.ispconfig-change-password' => true, 

Plugin code contains default credentials for database access, and they will probably be different for you, so you'll need to supply those in config.php file:

'plugins.ispconfig-change-password.config.host' => '127.0.0.1',
'plugins.ispconfig-change-password.config.dbuser' => 'root',
'plugins.ispconfig-change-password.config.dbpassword' => "",
'plugins.ispconfig-change-password.config.dbname' => 'dbispconfig'

In the above configuration, you need to supply MySQL credentials used by ISPConfig itself, not by your WebMail installation.
It's the same credentials supplied when installing ISPConfig, and dbispconfig is the default database name used.

With a little modification (probably only password salting), this plugin may also work for postfixadmin virtual email users.