我的OPENWEBMAIL配置笔记

以下是我的祥细安装步骤:

工作环境: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]# (/* 还等什么呀,可以了 */)


 

<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(853) | 评论(0) | 转发(0) |
0

上一篇:昨天考试

下一篇:apache的默认语言设置

给主人留下些什么吧!~~
评论热议
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值