一、系统环境

拓朴图:

系  

域  名

服务器

客户端

CentOS 5.8_64bit

mail.zimbra.org

10.10.10.254

10.10.10.110

二、基本配置

1、配置IP

[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=static

IPADDR=10.10.10.254

NETMASK=255.255.255.0

:wq

[root@localhost ~]# service network restart

2、配置DNS文件

[root@localhost ~]# vim /etc/resolv.conf

nameserver 10.10.10.254

3、配置hosts文件

[root@localhost ~]# vim /etc/hosts

127.0.0.1       localhost.localdomain localhost

10.10.10.254    mail.zimbra.org

4、配置主机名:mail.zimbra.org

[root@localhost ~]# vim /etc/sysconfig/network

HOSTNAME=mail.zimbra.org

:wq  保存

[root@localhost ~]# hostname mail.zimbra.org

断开终端,再次连接,这样就需要重新启动系统:ctrl+d

[root@mail ~]# hostname

mail.zimbra.org

5、SELinux关闭、LINUX关闭防火墙

SELinux关闭

1.永久方法 – 需要重启服务器

修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。

2.临时方法 – 设置系统参数

使用命令setenforce 0

LINUX关闭防火墙

1.重启后永久性生效:

开启:chkconfig iptables on

关闭:chkconfig iptables off

2 .即时生效,重启后失效:

开启:service iptables start

关闭:service iptables stop

三、安装所需依赖rpm包

[root@mail ~]# yum install libtool-ltdl compat-libstdc++-33 sysstat

四、安装bind(DNS)

[root@mail ~]# yum install bind-libs ypbind bind-chroot bind bind-utils caching-nameserver

1、配置named文件

[root@mail ~]# cd /var/named/chroot/etc/

[root@mail etc]# cp -p named.caching-nameserver.conf named.conf

[root@mail etc]# cp named.conf named.confbak

[root@mail etc]# vim named.conf

修改:

行数

15         listen-on port 53 { any; };

27         allow-query     { any; };

28         allow-query-cache { any; };

37         match-clients      { any; };

38         match-destinations { any; };

:wq

[root@Zmail etc]# cp named.rfc1912.zones named.rfc1912.zonesbak

[root@mail etc]# vim named.rfc1912.zones

复制修改以下内容:

21 zone "localhost" IN {

22         type master;

23         file "localhost.zone";

24         allow-update { none; };

25 };

修改如下:

27 zone "zimbra.org" IN {

28         type master;

29         file "zimbra.org.zone";

30         allow-update { none; };

31 };

:wq

2、进入named目录

[root@mail etc]# cd ../var/named/

[root@mail named]# pwd

/var/named/chroot/var/named

3、创建zone文件

[root@mail named]# cp -p localhost.zone zimbra.org.zone

[root@mail named]# cp zimbra.org.zone zimbra.org.zonebak

[root@mail named]# vim zimbra.org.zone

$TTL    86400

@               IN SOA  mx.zimbra.org.       root (

42              ; serial (d. adams)

3H              ; refresh

15M             ; retry

1W              ; expiry

1D )            ; minimum

@               IN NS           mx.zimbra.org.

@               IN A            10.10.10.254

mx              IN A            10.10.10.254

mail            IN A            10.10.10.254

@               IN MX 10        mail

:wq

4、测试DNS

[root@mail named]# nslookup

> set type=mx

> zimbra.org

Server:         202.96.128.166

Address:        202.96.128.166#53

Non-authoritative answer:

zimbra.org      mail exchanger = 10 net109.nonsolocomputer.net.

Authoritative answers can be found from:

zimbra.org      nameserver = ns2.dominiofaidate.com.

zimbra.org      nameserver = ns1.dominiofaidate.com.

5、启动named

[root@mail named]# service named restart

[root@Zimail named]# chkconfig named on

五、关闭sendmail,并不随机启动或者卸载

[root@mail named]# service sendmail stop

[root@mail named]# chkconfig sendmail off

六、安装zimbra

下载:http://files.zimbra.com/downloads/7.1.3_GA/zcs-7.1.3_GA_3346.RHEL5_64.20110928134520.tgz

[root@mail ~]# tar -zxvf zcs-7.1.3_GA_3346.RHEL5_64.20110928134520.tgz -C /usr/local/src/

[root@mail ~]# cd /usr/local/src/

[root@mail src]# cd zcs-7.1.3_GA_3346.RHEL5_64.20110928134520/

[root@mail zcs-7.1.3_GA_3346.RHEL5_64.20110928134520]# ./install.sh --platform-override

Operations logged to /tmp/install.log.29062

Checking for existing installation...

zimbra-ldap...NOT FOUND

。。。。。。。。(略)

zimbra-core...NOT FOUND

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.

ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU

FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING

THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY

THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS

AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:

http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Do you agree with the terms of the software license agreement? [N] y

Checking for prerequisites...

FOUND: NPTL

。。。。。。。。(略)

Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [N] y

Install zimbra-proxy [N] n

Checking required space for zimbra-core

checking space for zimbra-store

Installing:

zimbra-core

。。。。。。。。(略)

zimbra-spell

zimbra-memcached

You appear to be installing packages on a platform different

than the platform for which they were built.

This platform is CentOS5_64

Packages found: RHEL5_64

This may or may not work.

Using packages for a platform in which they were not designed for

may result in an installation that is NOT usable. Your support

options may be limited if you choose to continue.

Install anyway? [N] y

The system will be modified.  Continue? [N] y

Removing /opt/zimbra

Removing zimbra crontab entry...done.

done.

。。。。。。。。(略).

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core......zimbra-core-7.1.3_GA_3346.RHEL5_64-20110928134520.x86_64.rpm...done

。。。。。。。。(略)

Operations logged to /tmp/zmsetup.01022013-145607.log

Installing LDAP configuration database...done.

Setting defaults...

DNS ERROR resolving MX for mail.zimbra.org

It is suggested that the domain name have an MX record configured in DNS

Change domain name? [Yes] y

Create domain: [mail.zimbra.org] zimbra.org     #设置域名

MX: mail.zimbra.org (10.10.10.254)

Interface: 10.10.10.254

Interface: 127.0.0.1

done.

Checking for port conflicts

Main menu

1) Common Configuration:

2) zimbra-ldap:                             Enabled

3) zimbra-store:                            Enabled

+Create Admin User:                    yes

+Admin user to create:                 admin@zimbra.org

******* +Admin Password                      UNSET

+Anti-virus quarantine user:           virus-quarantine.kqhru87ko@zimbra.org

+Enable automated spam training:       yes

+Spam training user:                   spam.0yxtjbeb@zimbra.org

+Non-spam(Ham) training user:          ham.gl0urd64@zimbra.org

+SMTP host:                          mail.zimbra.org

+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.zimbra.org:7780/aspell.php

+Configure for use with mail proxy:        FALSE

+Configure for use with web proxy:        FALSE

+Enable version update checks:           TRUE

+Enable version update notifications:      TRUE

+Version update notification email:        admin@zimbra.org

+Version update source email:            admin@zimbra.org

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   #设置网页管理端admin的登录密码

Store configuration

1) Status:                              Enabled

2) Create Admin User:                    yes

3) Admin user to create:                   admin@zimbra.org

** 4) Admin Password                       UNSET

5) Anti-virus quarantine user:              virus-quarantine.kqhru87ko@zimbra.org

6) Enable automated spam training:          yes

7) Spam training user:                      spam.0yxtjbeb@zimbra.org

8) Non-spam(Ham) training user:             ham.gl0urd64@zimbra.org

9) SMTP host:                            mail.zimbra.org

10) Web server HTTP port:                   80

11) Web server HTTPS port:                  443

12) Web server mode:                      http

13) IMAP server port:                      143

14) IMAP server SSL port:                   993

15) POP server port:                       110

16) POP server SSL port:                    995

17) Use spell check server:                  yes

18) Spell server URL:                       http://mail.zimbra.org:7780/aspell.php

19) Configure for use with mail proxy:         FALSE

20) Configure for use with web proxy:         FALSE

21) Enable version update checks:            TRUE

22) Enable version update notifications:       TRUE

23) Version update notification email:         admin@zimbra.org

24) Version update source email:             admin@zimbra.org

Select, or 'r' for previous menu [r] 4     #设置后台管理密码

Password for admin@zimbra.org (min 6 characters): [9XL2caGG] 123456   #密码为:123456

Store configuration

1) Status:                               Enabled

2) Create Admin User:                     yes

3) Admin user to create:                   admin@zimbra.org

4) Admin Password                       set

5) Anti-virus quarantine user:              virus-quarantine.kqhru87ko@zimbra.org

6) Enable automated spam training:          yes

7) Spam training user:                      spam.0yxtjbeb@zimbra.org

8) Non-spam(Ham) training user:             ham.gl0urd64@zimbra.org

9) SMTP host:                               mail.zimbra.org

10) Web server HTTP port:                    80

11) Web server HTTPS port:                   443

12) Web server mode:                         http

13) IMAP server port:                        143

14) IMAP server SSL port:                    993

15) POP server port:                         110

16) POP server SSL port:                     995

17) Use spell check server:                  yes

18) Spell server URL:                        http://mail.zimbra.org:7780/aspell.php

19) Configure for use with mail proxy:       FALSE

20) Configure for use with web proxy:        FALSE

21) Enable version update checks:            TRUE

22) Enable version update notifications:     TRUE

23) Version update notification email:       admin@zimbra.org

24) Version update source email:             admin@zimbra.org

Select, or 'r' for previous menu [r] r   #返回上一层页面

Main menu

1) Common Configuration:

2) zimbra-ldap:                             Enabled

3) zimbra-store:                            Enabled

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

*** CONFIGURATION COMPLETE - press 'a' to apply

Select from menu, or press 'a' to apply config (? - help) a    #输入”a”应用配置

Save configuration data to a file? [Yes] y

Save config in file: [/opt/zimbra/config.4354] y

Saving config in y...done.

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

Operations logged to /tmp/zmsetup.01022013-145607.log

Setting local config values...done.

。。。。。。。。(略)

Checking for default IM conference room...not present.

Initializing default IM conference room...done.

Setting up syslog.conf...done.

You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Suite.

The only information that will be transmitted is:

The VERSION of zcs installed (7.1.3_GA_3346_CentOS5_64)

The ADMIN EMAIL ADDRESS created (admin@zimbra.org)

Notify Zimbra of your installation? [Yes] no

Notification skipped

Starting servers...done.

Installing common zimlets...

com_zimbra_attachcontacts...done.

。。。。。。。。(略)

Setting up zimbra crontab...done.

Moving /tmp/zmsetup.01022013-145607.log to /opt/zimbra/log

Configuration complete - press return to exit

安装完成,按任意键退出。

七、验证

1、登录后台管理

https://mail.zimbra.org:7071 邮件后台管理 (帐户:admin,密码:123456(安装时的设置))

服务正常启动:

2、创建用户

地址-----新建:帐户

下一步(略)

完成。

3、登录客户端

http://mail.zimbra.org

在上面的管理界面我建立了一个名字为yanghw的邮箱账号,用这个账号登录邮箱客户端:

之前yanghw的账号给user1发了一份邮件:

User1收到来自yanghw的邮件:表明收发邮件成功!

zimbra邮件系统搭建完成!!!

转载于:https://blog.51cto.com/yanghuawu/1106390

CentOS 5.8 Zimbra邮件系统安装与配置相关推荐

  1. Postfix邮件系统安装与配置:Postfix,Cyrus-IMAP,Cyrus-sasl,Dovecot和SPF

    最近发现邮件发送服务还是挺重要的.可能对于每天只有一百来封的邮件发送需求的个人博主来说,一个免费的邮箱提供的免费SMTP邮件发送服务就可以满足了,但是对于一些大型的网站.论坛和平台,每天的邮件发送量可 ...

  2. 服务器系统linux怎么安装教程,CentOS 8.0.1905 linux服务器系统安装与配置图解教程...

    说明: 截止目前CentOS 8.x最新版本为CentOS 8.0.1905,下面介绍CentOS 8.0.1905的具体安装配置过程 服务器相关设置如下: 操作系统:CentOS 8.0.1905 ...

  3. hMailServer 邮件系统安装配置篇

    此篇进入正题,详细的说一下安装和配置过程.得先说一下,hMailServer是真正的邮件服务端,而Roundcube Webmail仅仅是为hMailServer提供Webmail应用的,可以让你通过 ...

  4. 安装搭建zimbra邮件服务器(dns域名解析)

    安装搭建zimbra邮件服务器(yum搭建,dns搭建) 简介: Zimbra与众不同的特点是其"Zimlet"网络服务提供了更多的电子邮件功能.例如,人们可以简单地用鼠标点击电子 ...

  5. ESXi6.5环境搭建(四:虚拟机操作系统安装及配置)

    实验目的及要求 完成VMware workstations安装,会应用相关操作: 完成虚拟机中ESXI6.5平台的安装及网络环境配置: 完成VMware vSphere Client 6.0软件在PC ...

  6. zimbra邮件服务器配置,Zimbra邮件服务器无需登录任意邮箱伪造漏洞修复

    Zimbra邮件服务器无登陆邮箱就可发送邮件的漏洞的处理: 配置目的:用户发送邮件必须通过smtp认证,认证通过后,用户发送邮件时的发件人必须和通过认证的用户相一致, 才能发送邮件,防止伪造发件人发送 ...

  7. Linux系统安装及配置——Centos-7-X86_64-DVD-2009

    目录 1.下载 VMware Workstation软件 2.下载 Centos-7-X86_64-DVD-2009.iso 3.安装并配置 3.1打开VMware Workstation,选择创建新 ...

  8. centos 系统软件包管理 yum 本地yum配置 扩展源epel rpm 清除yum缓存 yum provides */vim 第十节课...

    centos  系统软件包管理  yum 本地yum配置  扩展源epel  rpm  清除yum缓存  yum provides "*/vim"   第十节课 你不能保证可逆化操 ...

  9. ecmall php传变量,PHP_ECMall支持SSL连接邮件服务器的配置方法详解,首先,主要是ecmall使用的phpmail - phpStudy...

    ECMall支持SSL连接邮件服务器的配置方法详解 首先,主要是ecmall使用的phpmailer版本太低,不支持加密连接. 然后,得对相应代码做一定调整. 1. 覆盖phpmailer 请从附件进 ...

最新文章

  1. sigmoid函数求导与自然指数
  2. 明天是你的生日~~~
  3. EJB和JavaBean的区别
  4. opengl 流程梳理
  5. Android之设置当前app为默认浏览器研究
  6. 让vim显示空格,及tab字符
  7. 渗透测试之Nmap命令(三) idle 扫描
  8. 一个ContentProvider的典型结构分析
  9. Oracle优化避免索引失效
  10. 【CentOS 7笔记26】,打包和压缩工具的使用#171108
  11. 简单数据查询——单表无条件和有条件查询
  12. html 让360浏览器兼容模式,360浏览器兼容模式的设置方法
  13. 卫星影像的分辨率与成图比例尺
  14. 【转】8段数码管引脚图,8段数码管动态显示详解
  15. 笔记本计算机左侧插,笔记本电脑插上耳机还有外音的解决方法
  16. 2021window10下的IDEA安装
  17. 自适应动态规划matlab,自适应动态规划ADP
  18. Linux的内核设计与实现之进程管理(含源码)
  19. python enumerate_Python enumerate() 函数
  20. Codec2入门:框架解析

热门文章

  1. 苹果cms资源站360影视
  2. wpe使用方法(详细)(--新加秒10图)(10号继续可用)
  3. C#内存流示例-----gt;用内存流来读取图片
  4. PHP: 关键字global 和 超全局变量$GLOBALS的用法、解释、区别
  5. Node.js: 如何继承 events 自定义事件及触发函数
  6. Magento: 自动生成产品SKU Auto generated SKU when add product in magento
  7. CSS:去除点击链接和按钮时出现的虚线框
  8. 深入理解JavaScript系列:《你真懂JavaScript吗?》答案详解
  9. Redis中的事务和watch(乐观锁)
  10. jira7.12.1安装与破解