WebMail Lite Documentation

Password change for DirectAdmin

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

Installation

While typically modules are added in a standard fashion, in this casee there's a simple approach available.

Configuration

After installing the module, you should find its configuration file at data/settings/modules/MailChangePasswordDirectadminPlugin.config.json:

{
    "Disabled": [
        false,
        "bool"
    ],
    "SupportedServers": [
        ["*"],
        "array"
    ],
    "DirectAdminURL": [
        "http://localhost:2222",
        "string"
}

In there, you'll need to specify URL of DirectAdmin installation, typically with port 2222 used. Note that in previous versions of the module, shipped with DirectAdmin installer, the changes are made in the code directly, see this documentation page for more info.

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.