OPENWEBMAIL网页邮件架设

平台:Centos 6

安装

能上外网的前提下在线安装
Yum –y install perl-suidperl perl-Compress-Zlib perl-Text-Iconv

如果PERL-TEST-ICOV 安装失败,请参照如下去下载.
wget http://openwebmail.org/openwebmail/download/redhat/rpm/packages/centos5/perl-Text-Iconv/i386/perl-Text-Iconv-1.7-2.el5.i386.rpm

安装:rpm -ivh perl-Text-Iconv-1.7-2.el5.i386.rpm
检查是否安装成功: rpm –qa |grep perl-

安装APACHE: Yum –y install httpd
进入YUM源目录:cd /etc/yum.repos.d
下载Yum源:wpget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo
在线安装:Yum –y install openwebmail

配置

修改配置文件:Vi /var/www/cgi-bin/openwebmail/etc/default/dbm.conf
[root@mail openwebmail]# vim /var/www/cgi-bin/openwebmail/etc/dbm.conf
dbm_ext                 .pag
dbmopen_ext             none
dbmopen_haslock         yes
smtpserver                  192.168.222.41
Cd /var/www/cgi-bin/openwebmail/
./openwebmail-tool.pl –-init

测试

IE访问:http://mail.davis.dg/cgi-bin/openwebmail/openwebmail.pl