遇到问题:
1.在ie中打开http://mail.hongutay.com/cgi-bin/openwebmail/openwebmail.pl时,如果直接显示网页的代码,就是要补充安装前面的perl-suidperl-5.8.3-18.1.i386.rpm程序.
2.可以在outlook express收发邮件,但是登陆http://mail.hongutay.com/cgi-bin/openwebmail/openwebmail.pl时无法看见openwebmail的登陆页面,错误代码:Can't locate /home/www/cgi-bin/openwebmail/etc/lang/en in @INC contains : /usr/lib/..... line 90
解决方法:检查openwebmail.conf 中的ow_xxxx 等参数后面的文件路径是否是/var/www/ ...
3.openwebmail的登陆页面出现错误:'/var /www/cgi-bin/openwebmail/openwebmail.pl' must setuid to root
解决方法: cd /usr/bin
chmod 4555 suidperl
其它参考方法详见:http://bbs.chinaunix.net/thread-520856-1-1.html
4.在openwebmail的登陆页面,输入邮箱的用户名以及密码登陆后,出现登陆失败的窗口:认证系统内部错误
解决方法: vi /var/www/cgi-bin/openwebmail/etc/defaults/auth_unix.conf 确认以下参数配置:
passwdfile_plaintext /etc/passwd
passwdfile_encrypted /etc/shadow
passwdmkdb none
接着, vi /var/www/cgi-bin/openwebmail/auth/auth_unix.pl 确认以下参数配置:
my $passwdfile_plaintext='/etc/passwd';
my $passwdfile_encrypted='/etc/shadow';
my $passwdmkdb='none';
详细可参考:http://www.chmhome.com/knowledge/mailsystem/20070626/74632.html.
完毕!!!