WebMail Lite Documentation

Password change for Fastpanel

This module allows users to change passwords on their email accounts hosted by Fastpanel.

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 package, there's a simple approach available.

Configuration

After installing the module, you should find its configuration file at data/settings/modules/MailChangePasswordFastpanelPlugin.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."
    ],
    "FastpanelURL": [
        "http://localhost:8888",
        "string",
        null,
        "Defines main URL of Fastpanel installation"
    ],
    "FastpanelAdminUser": [
        "fastuser",
        "string",
        null,
        "Admin username of Fastpanel installation"
    ],
    "FastpanelAdminPass": [
        "",
        "string",
        null,
        "Admin password of Fastpanel installation. Will be automatically encrypted."
    ]       
}

In there, you'll need to specify URL of Fastpanel installation 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.