免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 732 | 回复: 0
打印 上一主题 下一主题

我的OPENWEBMAIL配置笔记 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-04 16:24 |只看该作者 |倒序浏览

以下是我的祥细安装步骤:
工作环境:RedHat 9.0 + Postfix-1.1.11-11
[root@mail wht]# cd openwebmail
[root@mail openwebmail]# ls
openwebmail-2.30-1.i386.rpm perl-Compress-Zlib-1.21-RH9.i386.rpm perl-Text-Ico
perl-CGI-2.81-88.i386.rpm perl-suidperl-5.8.0-88.i386.rpm
/* 只有以上五个插件噢,不用这么多就可以的:) */ /*查查系统有没有安装这几个插件呀!?*/
[root@mail openwebmail]# rpm -qa|grep perl-CGI
perl-CGI-2.81-88
[root@mail openwebmail]# rpm -qa|grep perl-MIME
[root@mail openwebmail]# rpm -qa|grep perl-Text-Iconv
[root@mail openwebmail]# rpm -qa|grep perl-libnet
[root@mail openwebmail]#
[root@mail openwebmail]# rpm -ivh perl-Text-Iconv-1.2-RH80.i386.rpm
Preparing... ########################################### [100%]
1:perl-Text-Iconv ########################################### [100%]
[root@mail openwebmail]# rpm -ivh perl-Compress-Zlib-1.21-RH9.i386.rpm
Preparing... ########################################### [100%]
1:perl-Compress-Zlib ########################################### [100%]
[root@mail openwebmail]# rpm -ivh perl-suidperl-5.8.0-88.i386.rpm
warning: perl-suidperl-5.8.0-88.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:perl-suidperl ########################################### [100%]
[root@mail openwebmail]# rpm -ivh openwebmail-2.30-1.i386.rpm
Preparing... ########################################### [100%]
1:openwebmail ########################################### [100%]
You may login with non-root account from
http://mail/cgi-bin/openwebmail/openwebmail.pl
(/* 在IE中执行此就可以了,mail是我RH9.0的电脑名 */)
[root@mail openwebmail]#
[root@mail openwebmail]# cd /var/www/cgi-bin/
[root@mail cgi-bin]# ls
openwebmail
[root@mail cgi-bin]# cd operwebmail
-bash: cd: operwebmail: 沒有此一檔案或目錄
[root@mail cgi-bin]# cd openwebmail
[root@mail openwebmail]# ls
auth openwebmail.pl openwebmail-webdisk.pl
etc openwebmail-prefs.pl preload.pl
modules openwebmail-read.pl quota
openwebmail-abook.pl openwebmail-send.pl shares
openwebmail-advsearch.pl openwebmail-spell.pl userstat.pl
openwebmail-cal.pl openwebmail-tool.pl uty
openwebmail-folder.pl openwebmail-vdomain.pl vacation.pl
openwebmail-main.pl openwebmail-viewatt.pl
[root@mail openwebmail]# ./openwebmail-tool.pl --init
WARNING!
The perl on your system has serious bug in routine tell()!
While openwebmail can work properly with this bug, other perl application
may not function properly and thus cause data loss.
We suggest that you should patch your perl as soon as possible.
Please hit 'Enter' to continue or Ctrl-C to break.
Please change './etc/dbm.conf' from    (/* 要修改这里才可以:) */)
dbm_ext .db
dbmopen_ext none
dbmopen_haslock no
to
dbm_ext .db
dbmopen_ext .db
dbmopen_haslock yes
And execute './openwebmail-tool.pl --init' again!
ps: If you are running openwebmail in persistent mode,
don't forget to 'touch openwebmail*.pl', so speedycgi
will reload all scripts, modules and conf files in --init.
[root@mail openwebmail]#
[root@mail openwebmail]# vi ./etc/dbm.conf   (/* 错了,没有这个文件 */)
[root@mail openwebmail]# cd etc
[root@mail etc]# ls
address.book b2g.map openwebmail.conf.help
auth_ldap.conf.default calendar.book README.conf.default
auth_mysql.conf.default dbm.conf.default sessions
auth_mysql_vmail.conf.default filelock.conf.default sites.conf
auth_nis.conf.default filter.book smtpauth.conf
auth_pam.conf.default g2b.map styles
auth_pg.conf.default holidays templates
auth_pgsql.conf.default lang users
auth_pop3.conf.default lunar.map users.conf
auth_unix.conf.default openwebmail.conf
auth_vdomain.conf.default openwebmail.conf.default
[root@mail etc]# cp dbm.conf.default dbm.conf
[root@mail etc]# vi dbm.conf     (/* 照上面的修改后保存就OK啦 */)
[root@mail etc]# cd ..
[root@mail openwebmail]# ./openwebmail-tool.pl --init
WARNING!
The perl on your system has serious bug in routine tell()!
While openwebmail can work properly with this bug, other perl application
may not function properly and thus cause data loss.
We suggest that you should patch your perl as soon as possible.
Please hit 'Enter' to continue or Ctrl-C to break.
creating db /var/www/cgi-bin/openwebmail/etc/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/lunar ...done.
Welcome to the Open WebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.20-8 i686
Perl: 5.008
WebMail: Open WebMail 2.30 20040103
Send the site report?(Y/n) y
sending report...
Thank you.
[root@mail openwebmail]# (/* 还等什么呀,可以了 */)



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/166/showart_4528.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP