WebMail Lite Documentation

Password change for ISPmanager

This module allows users to change passwords on their email accounts in ISPmanager.

Installation

If you have installed WebMail Lite 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/MailChangePasswordIspmanagerPlugin.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."
    ],
    "ISPmanagerHost": [
        "https://127.0.0.1:1500/ispmgr",
        "string",
        null,
        "Defines main URL of ISPmanager installation"
    ],
    "ISPmanagerUser": [
        "root",
        "string",
        null,
        "Admin username of ISPmanager installation"
    ],
    "ISPmanagerPass": [
        "",
        "string",
        null,
        "Admin password of ISPmanager installation"
    ]
}

In there, you'll need to specify URL of ISPmanager installation (typically ending with :1500/ispmgr) and credentials of the administrative account.

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.