出现 Can'tlocate Text/Iconv.pm in @INC 解决方法

执行:cp/var/www/cgi-bin/openwebmail/misc/patches/iconv.pl.fake/var/www/cgi-bin/openwebmail/shares/iconv.pl
访问:http://localhost/cgi-bin/openwebmail/openwebmail.pl

 

系统提示:
'/var/www/cgi-bin/openwebmail/.openwebmail.pl'must setuid to root

原来之前执行perl/var/www/cgi-bin/openwebmail/misc/tools/wrapsuid/wrapsuid.pl/var/www/cgi-bin/openwebmail/后,所有openwebmail*.pl文件的s位没有了。所以需要执行以下命令:
chmod 4755 /var/www/cgi-bin/openwebmail/openwebmail*.pl
然后在访问: http://localhost/cgi-bin/openwebmail/openwebmail.pl 
OK
,可以看到登陆框了,说明openwebmail已经安装成功了,下面就是来结合sendmail了。