教学之友,学习之友。

站长教学网

Redhat下如何安装和配置Openwebmail(4)

时间:2012-03-26 00:10来源:it168 作者:it168 点击:

遇到问题:

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.

完毕!!!
 

(责任编辑:ken)
TAG标签: linux Redhat mail 邮件 openwebmail
顶一下
(1)
100%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
注册登录:不允许匿名留言,登录后留言无需输入验证码。
栏目列表
最新内容