码迷,mamicode.com
首页 > Web开发 > 详细

AfterLogic webmail开启修改密码插件Hmailserver

时间:2014-05-07 14:23:47      阅读:1097      评论:0      收藏:0      [点我收藏+]

标签:style   class   code   color   strong   http   

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

复制到\webmail\data\plugins\hmailserver-change-password\index.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-password\index.php中添加

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‘,
));
}

AfterLogic webmail开启修改密码插件Hmailserver,布布扣,bubuko.com

AfterLogic webmail开启修改密码插件Hmailserver

标签:style   class   code   color   strong   http   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!