AfterLogic webmail修改密碼插件,下載位置http://www.afterlogic.com/wiki/Password_change_for_hMailServer_(WebMail_Plugins)?WM=Litephp
複製到\webmail\data\plugins\hmailserver-change-password\index.phpweb
啓用插件步驟:服務器
找到 data/settings/config.php 打開:spa
添加以下插件
'plugins.hmailserver-change-password' => true,
'plugins.hmailserver-change-password.config.login' => 'hmailserver登錄名',
'plugins.hmailserver-change-password.config.password' => 'hmailserver密碼'code
在ip地址不爲本地的服務器上要在\hmailserver-change-password\index.php中添加server
protected function isLocalAccount($oAccount)
{
return \in_array(\strtolower(\trim($oAccount->IncomingMailServer)), array(
'localhost', '127.0.0.1', '::1', '::1/128', '0:0:0:0:0:0:0:1','服務器ip',
));
}ip