首页 运维 正文
Zimbra的简单配置

 2022-10-23    542  

Zimbra的简单配置

一、前提工作

Zimbra的简单配置

  CentOS 5.3默认安装

  关闭防火墙

  关闭SELinux

  zimbra服务器的IP为 10.44.100.66

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

  #chkconfigsendmailoff 
  •   #chkconfigip6tablesoff
  •   #chkconfigiptablesoff
  • 二、安装过程

      安装一些必要的包

      # 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 是否安装

      bind-libs-9.3.4-10.P1.el5 
  •   ypbind-1.19-11.el5
  •   bind-chroot-9.3.4-10.P1.el5
  •   bind-9.3.4-10.P1.el5
  •   bind-utils-9.3.4-10.P1.el5
  •   创建名字服务配置文件named.conf

      #vi/var/named/chroot/etc/named.conf 
  •   options
  •   {
  •   directory"/var/named";
  •   dump-file"/var/named/data/cache_dump.db";
  •   statistics-file"/var/named/data/named_stats.txt";
  •   };
  •   include"/etc/rndc.key";
  •   //Wearethemasterserverformail.rookie.com
  •   zone"mail.rookie.com"{
  •   typemaster;
  •   file"db.mail.rookie.com";
  •   };
  •   创建数据文件

      #vi/var/named/chroot/var/named/db.mail.rookie.com 
  •   ;
  •   ;Addressesandotherhostinformation.
  •   ;
  •   @INSOAmail.rookie.com.hostmaster.mail.rookie.com.(
  •   10118;Serial
  •   43200;Refresh
  •   3600;Retry
  •   3600000;Expire
  •   2592000);Minimum
  •   ;Definethenameserversandthemailservers
  •   INNS10.44.100.66
  •   INA10.44.100.66
  •   INMX10mail.rookie.com.
  •   定义zimbra服务器的DNS服务器地址

      #echo"nameserver10.44.100.66">>/etc/resolv.conf
    

      启动named

      #servicenamedstart
    

      添加到开机启动

      #chkconfignamedon
    

      测试解释是否正常

      #nslookupmail.rookie.com
    

      如出现以下内容说明正常

      Server:10.44.100.66 
  •   Address:10.44.100.66#53
  •   Name:mail.rookie.com
  •   Address:10.44.100.66
  • #p#

    三、安装zimbra

      下载zimbra 包

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

      解压tgz包

      #tarzxvfzcs-6.0.1_GA_1816.RHEL5.20090911181524.tgz
    

      安装zimbra

      #cdzcs-6.0.1_GA_1816.RHEL5.20090911181524 
  •   #./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,设置 配置员密码

      Passwordforadmin@mail.rookie.com(min6characters):[UKzK4JXi]
    

      输入一次就完成

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

      Select,or'r'forpreviousmenu
    

      输入a 应用刚刚的修改

      

    ***CONFIGURATIONCOMPLETE-press'a'toapply 
  •   Selectfrommenu,orpress'a'toapplyconfig(?-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]

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

      Configurationcomplete-pressreturntoexit
    

    四、测试

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

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

      http://10.44.100.66 这是里用户webmail

    原文链接:https://77isp.com/post/9027.html

    =========================================

    https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。