Use POPPASSD to let users change their passwords (WebMail Pro 6 PHP)

From AfterLogic Wiki

Jump to: navigation, search

Introduction

POPPASSD is a program that changes system passwords thus allowing users to change their mail passwords. If, in your mail server environment, each email account is represented by system user, installing POPPASSD would allow for changing user account passwords. Some mail services provide POPPASSD support out-of-box - those shipped with Plesk, for instance.

To check if the particular environment has POPPASSD support enabled, try connecting to port 106, e.g.:

telnet 127.0.0.1 106

The conversation itself would look much like FTP server commands and responses, so you should get something like this if the connection is OK:

200 machine_name popassd v1.4 hello, who are you?

Enable POPPASSD integration

If POPPASSD integration is enabled in WebMail Pro, users can changed their account password once logged into WebMail Pro. This integration is provided by poppassd-change-password plugin. To activate it, add the line to array in data/settings/config.php file:

'plugins.poppassd-change-password' => true

For instance:

<?php

return array(
    'plugins.poppassd-change-password' => true
);

By default, WebMail Pro uses the following host and port to access POPPASSD service: 127.0.0.1:106

Those data can be altered in data/settings/config.php file, for instance:

<?php

return array(
    'plugins.poppassd-change-password' => true,
    'plugins.poppassd-change-password.config.host' => "127.0.0.1",
    'plugins.poppassd-change-password.config.port' => 107
);

For security reasons, POPPASSD daemon should not be accessible from outside the server WebMail Pro is installed on.

Last edit: 2011/4/12

WebMail Pro PHP documentation

Installation


Configuring WebMail

Customization

Integration

Synchronization

Clustering

See Also