欢迎登陆真网站,您的到来是我们的荣幸。 登陆 注册 忘记密码? ☆设为首页 △加入收藏
欢迎加入真幸福QQ群
电脑知识: 基础知识 网络技术 操作系统 办公软件 电脑维修 电脑安全 windows7 windows8 windows10 服务器教程 平板电脑 视频播放教程 网络应用 互联网 工具软件 浏览器教程 QQ技巧 输入法教程 影视制作 YY教程 wps教程 word教程 Excel教程 PowerPoint
云南西双版纳特产小花糯玉米真空包装


nginx session共享的问题
Xshell远程连接Linux服务器
服务器迁移服务器搬家教程
windows后台启动VirtualBox虚拟机
Win系统2013年12月补丁包汇总
linux mount/umount命令
全闪存是最好的吗?
谷歌为何要自主设计服务器芯片?
电商如何挑选适合的服务器
linux服务器(nginx或者apache)限制IP访问
Zimbra8.x邮件服务器安装及配置
【 来源:网络 】【 点击:1 】 【 发布时间:2017_03_03 08:59:59 】

   下载说明:

  1. 版本:

  zimbra有两个大版本:Open Source Edition和 Network Edition (Starter/Standard/Professional),其中前者免费,后者收费,

  2. 环境(以下网络及DNS信息请根据实际情况填写):

  OS:Ubuntu Server 12.04 x64

  hostname:mail

  domain:sunnie.com

  address:192.168.1.5

  netmask:255.255.255.0

  gateway:192.168.1.1

  nameserver:192.168.1.2

  3. 配置DNS(必须)

  # nano/etc/bind/named.conf.local

  添加如下内容:

  zone "example.com"{

  type master;

  file "/etc/bind/example.com";

  };

  # nano/etc/bind/example.com

  添加如下内容:

  $TTL 604800

  @ IN SOA @ mail.local.(

  20131212 ; Serial

  604800 ; Refresh

  86400 ; Retry

  2419200 ; Expire

  604800) ; Negative Cache TTL

  ;

  @ IN NS mail

  @ IN MX 10 mail

  mail IN A 192.168.1.5

  # invoke-rc.d bind9 restart

  4. 将Zimbra服务器上的临时DNS换成正式DNS,并重启服务器

  # nano /etc/resolv.conf

  nameserver 192.168.1.5

  # reboot

  5. 安装Zimbra8.0.5

  a)将zcs-8.0.5_GA_5839.UBUNTU12_64.20130910124038.tgz用FTP上传至Ubuntu Server系统的/data/目录下

  b)安装Zimbra相关组件:

  #aptitude install sudo libidn11 libpcre3 libgmp3c2 libperl5.14 libexpat1 perl5 sysstat sqlite3 file pax

  c)配置DNS,并重启服务器

  # nano /etc/resolvconf/resolv.conf.d/base

  nameserver 192.168.60.136

  # reboot

  d)安装:

  # cd /data/

  # tar zxvf zcs-8.0.5_GA_5839.UBUNTU12_64.20130910124038.tgz

  # cd zcs-8.0.5_GA_5839.UBUNTU12_64.20130910124038

  # ./install.sh

  安装过程中会有如下提示:

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

  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] y

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

  Change domain name? [Yes] no

  选择3

  然后再选择4

  输入admin密码,此处我的密码是zimbra

  选择 r 回到上级目录

  选择s

  要求保存文件时,直接回车即可

  选择a 应用所有配置

  Select from menu, or press 'a' to apply config (? - help) a

  Save configuration data to a file? [Yes]

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

  Saving config in /opt/zimbra/config.9213…done.

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

  Notify Zimbra of your installation? [Yes] no

  Configuration complete - press return to exit 回车退出即可

  e)修改/opt/zimbra/.bashrc

  # nano /opt/zimbra/.bashrc

  找到PATH,在等号最前面添加/usr/share/file:最后形式如下:PATH=/usr/share/file:${ZIMBRA_HOME}/bin:${ZIMBRA_HOME}/postfix/sbin:…

  f)重启服务器

  # reboot

  4)客户端登录

  https://192.168.1.5

  用户名:admin

  密码:zimbra (刚刚修改的admin密码)

  5)测试

  a) 外发邮件:

  现在假设登录服务器192.168.1.5,红色字体部分是需要我们手动输入的内容

  测试步骤如下:

  telnet 192.168.1.5 25

  Trying 192.168.1.5…

  Connected to 192.168.1.5 (192.168.1.5)。

  Escape character is '^]'.

  220 mail.example.com ESMTP Postfix

  helo example.com

  250 mail.example.com

  mail from:

  250 2.1.0 Ok

  rcpt to:

  250 2.1.5 Ok

  data

  354 End data with .

  Subject: this is a test mail

  This is test mail content

  .

  250 2.0.0 Ok: queued as 88B3B2A68032

  quit

  221 2.0.0 Bye

  Connection closed by foreign host.

  这样邮件就发送出去了,你可以登录你的收件邮件看看有没有收到邮件。如果收到邮件,表示一切正常,结束。

  b) 内发邮件

  步骤同上,只需将mail from所示的发件人和rcpt to所示的收件人邮箱互换即可

  至此,zimbra8.0.5集成邮件服务器搭建完成

本网站由川南居提供技术支持,fkzxf版权所有 浙ICP备12031891号
淳安分站 淳安分站