我的OPENWEBMAIL配置笔记

发表于:2007-07-04来源:作者:点击数: 标签:
以下是我的祥细安装步骤: 工作环境: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-suidp

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

工作环境: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-li.net
[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 aclearcase/" target="_blank" >ccount 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]# (/* 还等什么呀,可以了 */)


 

原文转自:http://www.ltesting.net