打印

安装OpenWebmail的问题集锦

安装OpenWebmail的问题集锦

服务上安装了OpenWebmail来对邮件进行Web管理,看上去简单的rpm安装,因为涉及到Postfix,还是有许多的细节问题存在,我几乎经历了所有的问题,查遍了Google,不知道是幸或不幸,现在OpenWebmail算是被征服了。

1、问题:Can't locate Text/Iconv.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /var/www/cgi-bin/openwebmail) at shares/iconv.pl line 7.
BEGIN failed--compilation aborted at shares/iconv.pl line 7.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
解决:iconv是用来支持多国的字集转换功能,但可能在编辑时有错
cp /var/www/cgi-bin/openwebmail/misc/patches/iconv.pl.fake /var/www/cgi-bin/openwebmail/shares/iconv.pl

2、问题:初始化: /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init,发生以下错误: Script is not setuid/setgid in suidperl
解决:进行权限修改
chmod 4755 -R /var/www/cgi-bin/openwebmail

3、问题:对邮件地址发送邮件后回复451 Server configuration error
解决:编辑/etc/postfix/main.cf,找到smtpd_client_restrictions = ,取消限制即可

4、问题:无法启动SMTP
解决:由于Redhat9默认安装了Sendmail,在安装Postfix时只是killall了sendmail进程,而没有把程序改名,服务器重启后,Sendmail自动占用25端口,导致Postfix无法使用SMTP传输,停止Sendmail进程并把程序改名即可

5、问题:OpenWebmail编译后文件损坏,使用rpm -e命令卸载显示无文件,也无法重新安装
解决: 如果软件包已安装的情况下仍打算安装同一版本的软件包,可以使用 --replacepkgs 选项,它告诉RPM 来忽略这个错误:
rpm -ivh --replacepkgs

6、使用了MySql却无法修改密码
解决:修改/etc/passwd,将mysql的登录的SH改为:/sbin/nologin 2、mysql_install_db在scripts目录下,至于服务,将support-file下的mysql.server文件复制到/etc/rc.d/init.d/mysql 然后chkconfig -add mysql 3、--user=mysql ,即以用户mysql运行mysql

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-10-12 01:57 京ICP证060528 号

Designed By 17DST