WEB开发网
开发学院操作系统CentOS CentOS extmail安装配置apache与extman安装 阅读

CentOS extmail安装配置apache与extman安装

 2010-05-27 23:12:52 来源:WEB开发网   
核心提示:特别值得一提的是CentOS extmail安装与extman配置有很多值得学习的地方,这里我们主要介绍CentOS extmail安装,CentOS extmail安装配置apache与extman安装,包括介绍extman配置等方面,CentOS extmail安装与extman配置,A、CentOS extmai

特别值得一提的是CentOS extmail安装与extman配置有很多值得学习的地方,这里我们主要介绍CentOS extmail安装,包括介绍extman配置等方面。CentOS extmail安装与extman配置。

A、CentOS extmail安装配置apache
修改/etc/httpd/conf/httpd.conf,将下面的选项改为:
User vuser
Group vgroup
[[email protected] ~]# cd /etc/httpd/conf.d/
[[email protected] conf.d]# vim extmail.conf
输入下面的内容:
Alias /extman/cgi/ /var/www/extsuite/extman/cgi/
Alias /extman /var/www/extsuite/extman/html/
<Location "/extman/cgi">
SetHandler cgi-script
Options +ExecCGI
</Location>
# config for ExtMail
Alias /extmail/cgi/ /var/www/extsuite/extmail/cgi/
Alias /extmail /var/www/extsuite/extmail/html/
<Location "/extmail/cgi">
SetHandler cgi-script
Options +ExecCGI
</Location>
[[email protected] ~]# mkdir /var/www/extsuite
[[email protected] ~]# tar zxf extmail-1.0.5b1.tar.gz
[[email protected] ~]# cp -r extmail-1.0.5b1 /var/www/extsuite/extmail
[[email protected] ~]# cp -r extman-0.2.5b1 /var/www/extsuite/extman

B、配置CentOS extmail安装参数
[[email protected] ~]# cd /var/www/extsuite/extmail/
[[email protected] extmail]# cp webmail.cf.default webmail.cf
修改webmail.cf 下面的选项
SYS_SESS_DIR = /tmp/extmail
SYS_MAILDIR_BASE = /home/data/domains
SYS_MYSQL_USER = extmail
SYS_MYSQL_PASS = extmail

C、CentOS extmail安装配置extman参数
[[email protected] extmail]# cd /var/www/extsuite/extman/
修改webman.cf 下面的选项:
SYS_MAILDIR_BASE = /home/data/domains

D、CentOS extmail安装创建session 目录
[[email protected] extman]# mkdir /tmp/{extman,extmail}
[[email protected] extman]# chown vuser:vgroup /tmp/ext*

E、CentOS extmail安装配置后台日志分析工具
[[email protected] addon]# cd /var/www/extsuite/extman/addon/
[[email protected] addon]# cp -r mailgraph_ext /usr/local/
将下面的内容加入/etc/rc.local
/usr/local/mailgraph_ext/mailgraph-init start
/usr/local/mailgraph_ext/qmonitor-init start
安装所依懒的软件包
[[email protected] mailgraph_ext]# yum -y install rrdtool perl-rrdtool perl-GD perl-File-Tail

F、CentOS extmail安装启动后台进程
[[email protected] mailgraph_ext]# /usr/local/mailgraph_ext/qmonitor-init start
Starting queue statistics grapher: qmonitor
[[email protected] mailgraph_ext]# /usr/local/mailgraph_ext/mailgraph-init start
Starting mail statistics grapher: mailgraph_ext

G、访问CentOS extmail安装与extman
打开浏览器,输入http://your_ip_address/extmail 注意:your_ip_address 为你实际的ip
第一个测试用户为:postmaster 密码:extmail 域:extmail
打开浏览器,输入http://your_ip_address/extman
extman root 用户为:[email protected] 密码为:extmail*123*
注意:进入系统后要修改密码及找回密码的提示问题、答案。

Tags:CentOS extmail

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接