AfterLogic webmail开启修改密码插件Hmailserver

AfterLogic webmail修改密码插件,下载位置http://www.afterlogic.com/wiki/Password_change_for_hMailServer_(WebMail_Plugins)?WM=Lite

复制到webmaildatapluginshmailserver-change-passwordindex.php

启用插件步骤:

找到 data/settings/config.php 打开:

添加如下

'plugins.hmailserver-change-password' => true,
'plugins.hmailserver-change-password.config.login' => 'hmailserver登陆名',
'plugins.hmailserver-change-password.config.password' => 'hmailserver密码'

在ip地址不为本地的服务器上要在hmailserver-change-passwordindex.php中添加

protected function isLocalAccount($oAccount)
{
return in_array(strtolower( rim($oAccount->IncomingMailServer)), array(
'localhost', '127.0.0.1', '::1', '::1/128', '0:0:0:0:0:0:0:1','服务器ip',
));
}

原文地址:https://www.cnblogs.com/oxzc/p/3713576.html