3.接下来我们安装Openwebmail,先要安装支持包。
到以下地址下载: http://turtle.ee.ncku.edu.tw/openwebmail/download/
openwebmail-2.51-1.i386.rpm
perl-Text-Iconv-1.2-RH80.i386.rpm
perl-CGI-2.81-88.4.i386.rpm
perl-Compress-Zlib-1.21-RH9.i386.rpm
perl-suidperl-5.8.5-24.RHEL4
perl-CGI-SpeedyCGI-2.21-RH9.i386.rpm
perl-FCGI-0.67-1.2.el4.rf.i386.rpm
MIME-Base64-3.01.tar.gz
说明:
其中perl-CGI-SpeedyCGI-2.21-RH9.i386.rpm在rh9目录中
安装perl-CGI-2.81-88.4.i386.rpm时出错
从网站下载: perl-FCGI后安装
http://dries.studentenweb.org/apt/packages/perl-FCGI/info.html
perl-suidperl-5.8.5-24.RHEL4.rpm要与perl-5.8.5-24.RHEL4.rpm的版本保持一致
# speedy_convert(不需要)
修改 /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf文件
dbm_ext .db
dbmopen_ext .db
dbmopen_haslock yes
首次运行更改默认的域名:
修改:vi /var/www/cgi-bin/openwebmail/etc/default/openwebmail.conf
domainnames mail.lzz.com ----------我们申请的域?
smtpserver 192.168.8.139 -------------服务器的IP
smtpport 25 -------------smtp的端?
5.再运行初始化脚本
#cd /var/www/cgi-bin/openwebmail
# ./openwebmail-tool.pl --init
Welcome to the Open WebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.21-8smp i686
Perl: 5.008
WebMail: Open WebMail 2.41 20041220
Send the site report?(Y/n) y
sending report...
Thank you.