本次安装基于CentOS 6.3,基本配置参照http://linuxkeep.blog.51cto.com/1010009/709514,extman的图形日志安装参照http://aceruser.blog.51cto.com/2772529/671816的结尾部分和http://wiki.extmail.org/%E5%AE%89%E8%A3%85mailgraph_ext。
安装可能用到的软件包:
yum install postfix dovecot dovecot-devel dovecot-mysql mysql mysql-server mysql-devel httpd php php-mysql perl-CGI perl-GD telnet gcc libxml2* glib2* pango*
httpd.conf中关于虚拟主机的配置:
<VirtualHost *:80>
DocumentRoot /var/www/html/
ServerName www.walker.com
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName mail.walker.com
DocumentRoot /var/www/extsuite/extmail/html/
ScriptAlias /extmail/cgi/ /var/www/extsuite/extmail/cgi/
Alias /extmail /var/www/extsuite/extmail/html
ScriptAlias /extman/cgi/ /var/www/extsuite/extman/cgi/
Alias /extman /var/www/extsuite/extman/html
SuexecUserGroup vmail vmail
</VirtualHost>
遇到的一些问题及解决办法如下。
1、问题:
Can't locate RRDs.pm in @INC (@INC contains
解决办法参考:
http://hi.baidu.com/wuyaheyanzi/item/3caabf737c8ea115d1dcb364
2、问题:
Can't open /tmp/extman//sid_
解决办法参考:
http://blog.sina.com.cn/s/blog_6fd605b50100r2qs.html
3、问题:
Extman后台显示No such file or directory
解决办法参考:
http://hi.baidu.com/wylinux/item/d9eef6a9549fb39a14107320
4、问题:
I could not find a working copy of pangocairo.
解决办法参考:
http://ollll.blog.51cto.com/1858025/373834
5、问题:
校验码不显示
解决办法参考:
http://lxsym.blog.51cto.com/1364623/498913
6、问题:
创建与主机名相同域名的虚拟域不能正常收发邮件,日志提示:warning: do not list domain in BOTH mydestination and virtual_mailbox_domains
解决办法参考:
http://blog.csdn.net/huangyaoshifog/article/details/3057330
7、测试时用telnet收发邮件,其命令参考:http://www.cnblogs.com/rootq/articles/1268324.html
*** walker ***
本文转自walker snapshot博客51CTO博客,原文链接http://blog.51cto.com/walkerqt/1076372如需转载请自行联系原作者
RQSLT