安装搭建zimbra邮件服务器(yum搭建,dns搭建)

简介:

Zimbra与众不同的特点是其“Zimlet”网络服务提供了更多的电子邮件功能。例如,人们可以简单地用鼠标点击电子邮件程序中的航班信息以检查航班的状况。用户还可以在电子邮件中跟踪FedEx公司的投递情况并且获得地图、股票和其它信息。

  

Zimbra的核心产品是Zimbra协作套件(Zimbra Collaboration Suite,简称ZCS)。除了它的核心功能是电子邮件和日程安排服务器,当然还包括许多其它的功能,就象是下一代的微软Exchange。在电子邮件和日程安排之外,它还提供文档存储和编辑、即时消息以及一个利用获奖技术开发的全功能的管理控制台。ZCS同时也提供移动设备的支持,以及与部署于Windows、Linux或apple操作系统中的桌面程序的同步功能。

安装需求及配置环境

Cent os 5.5 纯净版

固定IP:192.168.20.98

安装httpd服务

搭建DNS服务器

域名为:xiaolu.com 并解析为mail.xiaolu.com

关闭防火墙

禁用selinux

禁用sendmail

安装gcc、java、sysstat

安装sudo、libidn、gmp、perl、sqlite

Zimbra软件包:zcs-7.0.1_GA_3105.RHEL5.20110304210448.tgz

一、配置yum,安装配置环境

1)  挂载光盘,记录挂载位置

# mount /dev/cdrom /mnt/cdrom/

2)  修改配置文件。

# vi /etc/yum.repos.d/CentOS-Media.repo

[c5-media]

name=CentOS-$releasever - Media

baseurl=file:///media/CentOS/

file:///mnt/cdrom/     此处为光盘挂载位置

file:///media/cdrecorder/

gpgcheck=1

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

保存退出

验证是否成功。执行命令yum list 将会列出rpm列表

3)  利用yum安装相应软件

Yum install gcc*

yum install java*

yum install sysstat*

yum install sudo*

yum install gmp*

yum install perl*

yum install sqlite*

4)  安装httpd服务

方法一样,使用yum安装

yum install http*

5)  关闭防火墙

Service iptables stop

Chkconfig iptables off

6)  禁用selinux

# vi /etc/selinux/config

SELINUX=disabled

7)  禁用sendmail

Service sendmail stop

Chkconfig sendmail off

二、安装配置dns服务器

1)  使用yum源安装dns服务器

# yum install bind*

2)  配置dns服务器

# vi /var/named/chroot/etc/named.conf          修改dns主配置文件

# vi /var/named/chroot/var/named/xiaolu.com.zone   配置解析文件

# vi /etc/resolv.conf    修改resolv ,添加dns地址

nameserver 192.168.20.98     添加本地解析

3)  修改hosts文件

# vi /etc/hosts

127.0.0.1       localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

192.168.20.98   mail.xiaolu.com mail

4)  修改主机名

# vi /etc/sysconfig/network

HOSTNAME=mail.xiaolu.com

5)

三、安装zimbra

1)  解压zimbra源码包

# tar -zxmf zcs-7.0.1_GA_3105.RHEL5.20110304210448.tgz

# mv zcs-7.0.1_GA_3105.RHEL5.20110304210448 zimbra     改名字

2)  执行脚本

# ./install.sh --platform-override

以下为问答交互式:

Operations logged to /tmp/install.log.3668

Checking for existing installation...

zimbra-ldap...NOT FOUND

zimbra-logger...NOT FOUND

zimbra-mta...NOT FOUND

zimbra-snmp...NOT FOUND

zimbra-store...NOT FOUND

zimbra-apache...NOT FOUND

zimbra-spell...NOT FOUND

zimbra-convertd...NOT FOUND

zimbra-memcached...NOT FOUND

zimbra-proxy...NOT FOUND

zimbra-archiving...NOT FOUND

zimbra-cluster...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 installable packages

Found zimbra-core

Found zimbra-ldap

Found zimbra-logger

Found zimbra-mta

Found zimbra-snmp

Found zimbra-store

Found zimbra-apache

Found zimbra-spell

Found zimbra-memcached

Found zimbra-proxy

Select the packages to install   发现了需要安装的包,保持默认即可

Install zimbra-ldap [Y]

Install zimbra-logger [Y]

Install zimbra-mta [Y]

Install zimbra-snmp [Y]

Install zimbra-store [Y]

Install zimbra-apache [Y]

Install zimbra-spell [Y]

Install zimbra-memcached [N]

Install zimbra-proxy [N]

Checking required space for zimbra-core

checking space for zimbra-store

Installing:

zimbra-core

zimbra-ldap

zimbra-logger

zimbra-mta

zimbra-snmp

zimbra-store

zimbra-apache

zimbra-spell

You appear to be installing packages on a platform different

than the platform for which they were built.

This platform is CentOS5

Packages found: RHEL5

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]选择yes  开始安装

The system will be modified.  Continue? [N] y  选择y继续安装

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@xiaolu.com

******* +Admin Password                        UNSET

+Anti-virus quarantine user:           virus-quarantine.u65u6xuf@xiaolu.com

+Enable automated spam training:       yes

+Spam training user:                   spam.6da5u3v5v@xiaolu.com

+Non-spam(Ham) training user:          ham.cs0jug2hzc@xiaolu.com

+SMTP host:                            mail.xiaolu.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.xiaolu.com: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@xiaolu.com

+Version update source email:          admin@xiaolu.com

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  输入管理密码

Store configuration

1) Status:                                  Enabled

2) Create Admin User:                       yes

3) Admin user to create:                    admin@xiaolu.com

4) Admin Password                           set

5) Anti-virus quarantine user:              virus-quarantine.u65u6xuf@xiaolu.com

6) Enable automated spam training:          yes

7) Spam training user:                      spam.6da5u3v5v@xiaolu.com

8) Non-spam(Ham) training user:             ham.cs0jug2hzc@xiaolu.com

9) SMTP host:                               mail.xiaolu.com

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.xiaolu.com: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@xiaolu.com

24) Version update source email:             admin@xiaolu.com

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]    选择yes开始配置数据文件

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.0.1_GA_3105_CentOS5)

The ADMIN EMAIL ADDRESS created (admin@xiaolu.com)

Notify Zimbra of your installation? [Yes] yes  选择yes

Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=7.0.1_GA_3105_CentOS5&MAIL=admin@xiaolu.com

Notification complete

Starting servers...done.

Installing common zimlets...

com_zimbra_date...done.

com_zimbra_social...done.

com_zimbra_srchhighlighter...done.

com_zimbra_email...done.

com_zimbra_cert_manager...done.

com_zimbra_webex...done.

com_zimbra_adminversioncheck...done.

com_zimbra_bulkprovision...done.

com_zimbra_linkedin...done.

com_zimbra_attachcontacts...done.

com_zimbra_attachmail...done.

com_zimbra_url...done.

com_zimbra_dnd...done.

com_zimbra_phone...done.

Finished installing common zimlets.

Restarting mailboxd...done.

Setting up zimbra crontab...done.

Moving /tmp/zmsetup.08012011-134423.log to /opt/zimbra/log

Configuration complete - press return to exit  到这一步如果没有报错,就完成了!

3)  访问管理后台,通过域名或IP地址访问,加端口:7071

https://192.168.20.98:7071  管理后台   https://mail.xiaolu.com:7071

http://192.168.20.98   前台页面       http://mail.xiaolu.com

4)  页面展示:

附件配置为:DNS配置文件。请参阅!

转载于:https://blog.51cto.com/haolulu/639704

安装搭建zimbra邮件服务器(dns域名解析)相关推荐

  1. 免费邮件服务器软件 linux,Linux 快速搭建免费邮件服务器(docker)

    文章目录 Docker下搭建Ewomail邮件服务器 第一步:安装运行docker 第二步:登录管理中心 配置 iRedMail iRedMail简介 linux安装开源邮件服务器iredmail的方 ...

  2. RedHat el5.0 搭建 Postfix 邮件服务器系统一

    RedHat el5.0 搭建 Postfix 邮件服务器系统                        (postfix+cyrus-sasl2+courier-authlib+courier- ...

  3. linux 下邮件服务器,Linux 下搭建Postfix邮件服务器

    Linux 下搭建Postfix邮件服务器详解: 1.首先关闭sendmail服务 service sendmail stop 2.chkconfig sendmail off(关闭开机自启动) 3. ...

  4. Linux搭建Postfix邮件服务器

    第一章:实验环境和目标 1.实验环境 Vm虚拟机安装CentOs7系统 CentOs7的IP地址:192.168.81.133 Win7客户端(测试用),有Xshell或者SecureCRT工具 2. ...

  5. Linux中搭建 Postfix 邮件服务器

    搭建背景:公司决定搭建邮件服务器,实现内部和外部交流的电子化,因为Linux系统稳定.安全性较好,该公司决定在Linux系统中搭建postfix邮件服务器,邮件服务器mail.pengqi.com能够 ...

  6. 阿里云ECS CentOS6.5搭建iRedMail邮件服务器

    阿里云ECS CentOS6.5搭建iRedMail邮件服务器 0 . 注册域名:例:geekds.com 然后:进入你申请域名的网站(如万网或新网),域名管理–>我的域名–>管理–> ...

  7. ewomail 本地发送邮件接收不到_CentOS下搭建EwoMail邮件服务器的几个小诀窍

    导读 搭建邮件服务器,过程非常简单,只需几个步骤即可.通常在Linux搭建邮件服务器是需要安装很多软件和配置文件的,所以我们可以使用一个开源邮件服务器软件来搭建的. 准备一台服务器与系统 云服务器或本 ...

  8. linux搭建ewomail邮件服务器完整步骤

    linux搭建ewomail邮件服务器超完整细致步骤 啊 首先准备一台与服务器一个域名 安装EwoMail 测试邮局通信端口是否开启: 1.安装telnet:yum install telnet -y ...

  9. linux下简单的邮件服务器搭建,linux中搭建简单邮件服务器

    linux中搭建简单邮件服务器 发布时间:2008-09-29 10:06:09来源:红联作者:tvnet 在rh5下默认是安装sendmail的,也就是说可以实现发信了,如果要实现在oe中接收信件, ...

最新文章

  1. php的const,php中const入门
  2. tp5循环查询语句_tp5 foreach 套循环的优化(就是foreach 里边再查表)
  3. hibernate.jdbc.fetch_size 和 hibernate.jdbc.batch_size
  4. linux未知的类型名 FILE,smb使用 ------转载自http://blog.csdn.net/tlaff/article/details/5463068...
  5. content-type对照表
  6. C#LeetCode刷题之#171-Excel表列序号(Excel Sheet Column Number)
  7. SQL 2016 性能调优培训来了!!! 还免费!!!
  8. Java集合List,Set,Map,Queue,Deque
  9. mouseover 和 hover 方法
  10. VS2015:出现devenv.sln解决方案保存对话框
  11. [JAVA] TicTacToe实现Socket通信(一)
  12. CDOJ--1012
  13. Android电视远程桌面,【当贝市场】教你使用小米电视远程控制Windows桌面
  14. 通过内容关键词查找文件
  15. 如何启用计算机的远程服务,如何启用远程Windows命令行管理程序
  16. Daimayuan Online Judge 小蜗的疑问
  17. 树莓派卸载系统自带应用增大硬盘空间
  18. 大数据技术,Spark核心技术之运行原理
  19. 【mybatis代码生成器】mybatis-generator的xml方式使用
  20. 2022-2028全球萃取塔市场现状及未来发展趋势

热门文章

  1. android语音控制歌曲播放,Amazon Music应用程序已支持Alexa语音控制歌曲播放
  2. echarts 雷达图_【带着canvas去流浪】绘制雷达图
  3. java接口多态的变量能_「JAVA」多态的灵魂,面向接口的程序设计,这才是你该懂得的接口(interface)...
  4. linux 进程内存 limit,Linux 中的Soft limit 和Hard limit
  5. python查看数据集的维度、大小_Python数据分析 - numpy
  6. matlab打包多个m文件,MATLAB GUI多个m文件和fig如何生成exe文件
  7. mysql客户端新建一个表_MySQL 建库、建用户及建表事项
  8. R中统计假设检验总结
  9. 图像形状特征(六)--AR模型形状描述子
  10. 51单片机redefinition_lcd12864程序在keil中出现好多重新定义,尝试了很多办法都改不了,求助大家了...