Zimbra的简单配置

运维 系统运维
Zimbra 提供的主要是Zimbra Desktop邮件管理软件。该如何配置Zimbra呢?以下这篇文章主要介绍的是zimbra的配置过程。

Zimbra的简单配置

一、前提工作

  CentOS 5.3默认安装

  关闭防火墙

  关闭SELinux

  zimbra服务器的IP为 10.44.100.66

  关闭不必要的服务开机启动

 

  1.   # chkconfig sendmail off  
  2.  
  3.   # chkconfig ip6tables off  
  4.  
  5.   # chkconfig iptables off 

二、安装过程

  安装一些必要的包

  # yum install libtool-ltdl compat-libstdc++-33 sysstat

  修改主机名

  # echo "10.44.100.66 mail.rookie.com mail" >> /etc/hosts

  10.44.100.66 应为你服务器的IP地址

  安装Name Service

  默认安装的centOS 都已安装了named ,如果没安装自己再装一次吧

  # rpm -qa |grep bind #查看named 是否安装

  1.   bind-libs-9.3.4-10.P1.el5  
  2.  
  3.   ypbind-1.19-11.el5  
  4.  
  5.   bind-chroot-9.3.4-10.P1.el5  
  6.  
  7.   bind-9.3.4-10.P1.el5  
  8.  
  9.   bind-utils-9.3.4-10.P1.el5 

  创建名字服务配置文件named.conf

  1.   # vi /var/named/chroot/etc/named.conf  
  2.  
  3.   options   
  4.  
  5.   {  
  6.  
  7.   directory "/var/named";  
  8.  
  9.   dump-file "/var/named/data/cache_dump.db";  
  10.  
  11.   statistics-file "/var/named/data/named_stats.txt";  
  12.  
  13.   };  
  14.  
  15.   include "/etc/rndc.key";  
  16.  
  17.   // We are the master server for mail.rookie.com  
  18.  
  19.   zone "mail.rookie.com" {  
  20.  
  21.   type master;  
  22.  
  23.   file "db.mail.rookie.com";  
  24.  
  25.   }; 

  创建数据文件

  1.   # vi /var/named/chroot/var/named/db.mail.rookie.com  
  2.  
  3.   ;  
  4.  
  5.   ; Addresses and other host information.  
  6.  
  7.   ;  
  8.  
  9.   @ IN SOA mail.rookie.com. hostmaster.mail.rookie.com. (  
  10.  
  11.   10118 ; Serial  
  12.  
  13.   43200 ; Refresh  
  14.  
  15.   3600 ; Retry  
  16.  
  17.   3600000 ; Expire  
  18.  
  19.   2592000 ) ; Minimum  
  20.  
  21.   ; Define the nameservers and the mail servers  
  22.  
  23.   IN NS 10.44.100.66  
  24.  
  25.   IN A 10.44.100.66  
  26.  
  27.   IN MX 10 mail.rookie.com. 

  定义zimbra服务器的DNS服务器地址

  1.   # echo "nameserver 10.44.100.66" >> /etc/resolv.conf 

  启动named

  1.   # service named start 

  添加到开机启动

  1.   # chkconfig named on 

  测试解释是否正常

  1.   # nslookup mail.rookie.com 

  如出现以下内容说明正常

 

  1.   Server: 10.44.100.66  
  2.  
  3.   Address: 10.44.100.66#53  
  4.  
  5.   Name: mail.rookie.com  
  6.  
  7.   Address: 10.44.100.66 

#p#

三、安装zimbra

  下载zimbra 包

  1.   # wget http://h.yimg.com/lo/downloads/6.0.1_GA/zcs-6.0.1_GA_1816.RHEL5.20090911181524.tgz 

  解压tgz包

  1.   # tar zxvf zcs-6.0.1_GA_1816.RHEL5.20090911181524.tgz 

  安装zimbra

  1.   # cd zcs-6.0.1_GA_1816.RHEL5.20090911181524  
  2.  
  3.   # ./install.sh --platform-override 

  安装过程会有N多提示,对新手来说前面的都可以默认

  至到

  install anyway? [N] 选择Y

  The system will be modified. Continue? [N] 选择Y

  当出现以下画面的时候

  Main menu

  1) Common Configuration:

  2) zimbra-ldap: Enabled

  3) zimbra-store: Enabled

  +Create Admin User: yes

  +Admin user to create: admin@mail.rookie.com

  ******* +Admin Password UNSET

  +Enable automated spam training: yes

  +Spam training user: spam.o1irkbvbks@mail.rookie.com

  +Non-spam(Ham) training user: ham.1zaab3n5vd@mail.rookie.com

  +Global Documents Account: wiki@mail.rookie.com

  +SMTP host: mail.rookie.com

  +Web server HTTP port: 80

  +Web server HTTPS port: 443

  +Web server mode: http

  +IMAP server port: 143

  +IMAP server SSL port: 993

  +POP server port: 110

  +POP server SSL port: 995

  +Use spell check server: yes

  +Spell server URL: http://mail.rookie.com:7780/aspell.php

  +Configure for use with mail proxy: FALSE

  +Configure for use with web proxy: FALSE

  4) zimbra-mta: Enabled

  5) zimbra-snmp: Enabled

  6) zimbra-logger: Enabled

  7) zimbra-spell: Enabled

  8) Default Class of Service Configuration:

  r) Start servers after configuration yes

  s) Save config to file

  x) Expand menu

  q) Quit

  Address unconfigured (**) items (? - help)

  选择3 回车,再选择4,设置 配置员密码

  1.   Password for admin@mail.rookie.com (min 6 characters): [UKzK4JXi] 

  输入一次就完成

  完成后输入r回到上级目录

  1.   Select, or 'r' for previous menu 

  输入a 应用刚刚的修改

  

  1. *** CONFIGURATION COMPLETE - press 'a' to apply  
  2.  
  3.   Select from menu, or press 'a' to apply config (? - help) 

  再次确定,直接回车

  Save configuration data to a file? [Yes]

  Save config in file: [/opt/zimbra/config.8916]

  提示系统会被修改,这里要选择Yes

  The system will be modified - continue? [No] Yes

  是否把安装信息发送到zimbra 官网,yes 和 no 都可以

  Notify Zimbra of your installation? [Yes]

  出现以下行证明安装配置成功

 

  1.   Configuration complete - press return to exit 

四、测试

  安装完成,可以测试一下了

  https://10.44.100.66:7071 注意是https,这里是zimbra的管理控制台

  http://10.44.100.66 这是里用户webmail

【编辑推荐】

  1. 开源软件商Zimbra拟明年增加Web邮箱IM功能
  2. Zimbra邮件系统安装
  3. Zimbra server的安装
  4. Zimbra 未解决的三个细节问题
  5. Zimbra的安装与配置

责任编辑:zhaolei 来源: 网络转载
相关推荐

2011-01-21 16:49:15

Zimbra

2011-01-20 11:00:07

Zimbra安装

2011-01-19 12:56:45

Zimbraserve安装

2011-02-21 17:28:50

Zimbraserver安装

2011-02-21 17:41:58

2011-01-21 17:28:37

Zimbra

2011-02-21 17:17:05

UbuntuZimbra安装

2011-02-21 17:51:39

Zimbra入门新手

2011-01-21 17:43:13

2011-01-21 17:09:06

Zimbra

2011-01-19 12:29:44

2010-04-21 17:56:22

Unix网卡配置

2011-01-19 13:11:25

Zimbra白名单证书

2011-01-21 17:15:35

Zimbra

2010-09-26 14:27:50

配置DHCP中继

2012-07-17 09:43:58

2010-07-20 16:58:59

2010-03-29 15:57:34

2010-06-03 13:21:07

HadoopHBase

2010-08-26 15:59:17

linux
点赞
收藏

51CTO技术栈公众号