在/cgi-bin/openwebmail/etc目录下修改openwebmail.conf文件,内容如下:
a. mailspooldir /var/spool/mail
b. ow_cgidir /usr/local/apache2/cgi-bin/openwebmail
c. ow_cgiurl /cgi-bin/openwebmail
d. ow_htmldir /usr/local/apache2/cgi-bin/openwebmail
e. ow_htmlurl /data/openwebmail
f. default_language zh_CN.GB2312
g. default_iconset Cool3D.Chinese.Simplified
遇到的问题:
1.openwebmail-tool.pl --init出现suidperl: bad interpreter
发现是没有安装perl-suid包,在cd2里找到rpm包,装上即可。
2.测试openwebmail-tool.pl --init接着出现script is not setuid/setgid in suidperl
chmod 4755 -R openwebmail