ExtMan是一个基于Web的邮件帐号管理系统。可以通过他来管理邮件帐号、管理员帐号和域名等,默认的超级用户是 root@extmail.org,密码是extmail*123* ExtMan还集成了mailgraph,可以ExtMan内看到整个邮件系统的相关状态流量图。使用ExtMan来管理您的邮件系统将使工作变得更加轻松。之前我们已经安装了ExtMan,在此直接配置webman.cf即可。

1、配置extman

编辑webman.cf文件:

shell

# chmod 644 /usr/local/www/extman/webman.cf
# vi /usr/local/www/extman/webman.cf

修改对应的参数如下:

SYS_CONFIG = /usr/local/www/extman/
SYS_LANGDIR = /usr/local/www/extman/lang
SYS_TEMPLDIR = /usr/local/www/extman/html
SYS_MAILDIR_BASE = /home/domains
SYS_SESS_DIR = /var/tmp/extman/
SYS_DEFAULT_MAXQUOTA = 10000
SYS_DEFAULT_MAXALIAS = 10000
SYS_BACKEND_TYPE = ldap
SYS_LDAP_BASE = dc=extmail.org
SYS_LDAP_RDN = cn=Manager,dc=extmail.org
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = localhost
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_PASSWD = userPassword

2、其他设置

执行如下命令

shell

# mkdir /var/lib
# mkdir /var/tmp/extman/
# chown -R vmail:vmail /var/tmp/extman/
# chmod 700 /var/tmp/extman/
# chmod 600 /usr/local/www/extman/webman.cf
# unlink /usr/local/www/extman/libs/HTML/KTemplate.pm
# cp /usr/local/www/extmail/libs/HTML/KTemplate.pm /usr/local/www/extman/libs/HTML/

3、配置图形日志

安装依赖软件

shell

# cd /usr/ports/databases/rrdtool && make install clean
# cd /usr/ports/devel/p5-File-Tail && make install clean
# cd /usr/ports/devel/p5-Time-HiRes && make install clean

安装mailgraph_ext

shell

# cp -Rfp /usr/local/www/extman/addon/mailgraph_ext/ /usr/local/mailgraph_ext
# /usr/local/mailgraph_ext/mailgraph-init start

启动cmdserver(在后台显示系统信息)

shell

# chmod +x /usr/local/www/extman/daemon/cmdserver
# /usr/local/www/extman/daemon/cmdserver –daemon

加入开机自启动:

shell

# echo "/usr/local/mailgraph_ext/mailgraph-init start" >> /etc/rc.local
# echo "/var/www/extsuite/extman/daemon/cmdserver -v -d" >> /etc/rc.local

使用方法: 等待大约15分钟左右,如果邮件系统有一定的流量,即可登陆到extman里,点“图形日志”即可看到图形化的日志。具体每天,周,月,年的则点击相应的图片进入即可。

 
拾、配置extman.txt · 最后更改: 2012/11/01 22:11 由 shaobo
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki