我的OPENWEBMAIL配置笔记

来源:互联网 发布:c语言eof什么意思 编辑:程序博客网 时间:2024/06/06 15:54

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

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


 

阅读(853) | 评论(0) | 转发(0) |
0

上一篇:昨天考试

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

相关热门文章
  • LINUX KERNEL 配置编译中文指...
  • C语言复习笔记
  • Linux配置RAID
  • 服务器虚拟化的优势
  • 拥塞管理】配置RTP优先队列 ...
  • linux 常见服务端口
  • 【ROOTFS搭建】busybox的httpd...
  • 什么是shell
  • linux socket的bug??
  • linux的线程是否受到了保护?...
  • IBM DS3400 盘阵怎么查看是单...
  • 启动auditd时,报错如下,怎么...
  • CGSL系统中root密码正确,但无...
  • 在CGSL系统中,如何为不同的用...
  • CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 小天才电话手表停机怎么办 移动手机卡不知道号码怎么办 天猫退款手机号换了怎么办 科目二考试脚抖怎么办 面试新工作没打电话怎么办 怀孕5个月胎位低怎么办 做业务很害怕打电话怎么办 固定电话总是接到骚扰电话怎么办 电话卡通话被限制了怎么办? 手机名单拉黑了怎么办 被苹果6s被拉黑怎么办 重庆福利企业解聘残疾职工怎么办 被银行拉入黑名单怎么办 借的钱还不起了怎么办 支付宝手机号空号了怎么办 到处贷不到钱了怎么办 还不起钱借不到怎么办 闯红灯收到短信不去扣分怎么办 被一家公司骗了怎么办 oppo手机无线网信号差怎么办 oppo手机无线网网速慢怎么办 电脑无法解析dns地址怎么办 vivox9手机卡顿反应慢怎么办 vivo手机设置成英文怎么办 wi-fi模块坏了怎么办 苹果手机dns被劫持怎么办 圆通快递一直不派送怎么办 凯越没有高压火怎么办 理财回执单丢了怎么办 余额宝超10万怎么办 商场主题经营改变商户怎么办 一个好的项目需要资金怎么办 没有做暂估入库的凭证怎么办 电脑显示宽带连接已断开怎么办 电脑ip地址连不上网怎么办 百度网盘资源打不开怎么办 百度网盘视频格式不支持怎么办 origin注册邮箱填错了怎么办 58同城手机输入不合法怎么办 银行卡密码输入错误三次怎么办 私密相册系统升级后打不开怎么办