我的OPENWEBMAIL配置笔记

来源:互联网 发布:朋友圈小视频制作软件 编辑:程序博客网 时间:2024/05/16 18:53

我的OPENWEBMAIL配置笔记

以下我安装OPENWEBMAIL时从http://www.todayhero.net/linux/linux19.htm及http://www.adj.idv.tw/server/linux_openwebmail.php两个网站参考的文章,大致的步骤是相同的,具体应用上有一定的区别,最后我的祥细安装步骤:

openwebmail简介
在介绍网络邮局服务器之前。必须先安装SENDMAIL服务器。Openwebmail是利用sendmail服务器来收发邮件的。所以在安装openwebmail邮局服务器之前,必须选择安装好sendmail邮件服务器. Openwebmail具有以下特点:
1、 支持20多种语言。
2、 简易的操作界面。
3、 邮件过滤功能。
4、 支持外部邮件的收发。
5、 支持草稿邮件功能。
6、 良好的运行效率。
□ 下载和安装open webmail
一、 安装openwebmail的系统要求。
1、 apache网页服务器。
2、 邮件服务器
3、 perl程序组件。
二、下载程序
1、 openwebmail主程序下载。http://turtle.ee.ncku.edu.tw中寻找openwebmail关键字。
Openwebmail-1.90-1.i386.rpm
2、下载以下四个械块模块:
perl-CGI-2.7.4-1.i386.rpm
perl-libnet-1.09.1-1.i386.rpm
perl-MIME-Base64-2.12-1.i386.rpm
perl-Text-Iconv-1.2-1.i386.rpm
三、安装operwebmail程序


1、 首先安装以下模块
rpm –ivh perl-CGI-2.7.4-1.i386.rpm
rpm –ivh perl-libnet-1.09.1-1.i386.rpm
rpm –ivh perl-MIME-Base64-2.12-1.i386.rpm
rpm –ivh perl-Text-Iconv-1.2-1.i386.rpm
2、安装openwebmail主程序
rpm –ivh Openwebmail-1.90-1.i386.rpm
四、在邮局服务器主机上执行以下创建邮局服务器。
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl –init:此步骤会创建相应邮局服务器的数据库。
□ openwebmail的登录与退出
一、 在任何一台计算机的网页浏览器中输入openwebmail主机的地址即可。
http://linux.abc.com/cgi-bin/openwebmail/openwebmail.pl
如果一切无误,登录就应该会顺利登录界面,提示输入用户名和密码。输入LINUX系统上的用户名和密码,记住root用户默认是不允许登录的。登录成功后,会提示你设置用户工作环境。
1、 修改使用中文界面
登录之后,首先会进行个模板设置环境——language——选中‘chinese’——save(保存即可)。
二、退出openwebmail
如果再收发邮件了。可单工具栏中的“退出”按钮。一个打开的书形状的图标。
□ 利用openwebmail收发邮件。
利用openwebmail收发邮件,与163、首都在线、搜狐等各网站所提供的免费电子邮箱使用方法一致。在此暂不做介绍。请大家注意练习使用。

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

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

 

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

上一篇:我的squid+iptable在redhat 9.0上配置笔记

下一篇:SCO-UNIX在VMWARE下的安装

相关热门文章
  • LINUX KERNEL 配置编译中文指...
  • C语言复习笔记
  • Linux配置RAID
  • 服务器虚拟化的优势
  • 拥塞管理】配置RTP优先队列 ...
  • linux 常见服务端口
  • 【ROOTFS搭建】busybox的httpd...
  • 什么是shell
  • linux socket的bug??
  • linux的线程是否受到了保护?...
  • IBM DS3400 盘阵怎么查看是单...
  • 启动auditd时,报错如下,怎么...
  • CGSL系统中root密码正确,但无...
  • 在CGSL系统中,如何为不同的用...
  • CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~