国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 網(wǎng)管 > 服務(wù)器 > 正文

Zimbra8.x郵件服務(wù)器安裝及配置

2020-05-27 13:25:52
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

   下載說(shuō)明:

  1. 版本:

  zimbra有兩個(gè)大版本:Open Source Edition和 Network Edition (Starter/Standard/Professional),其中前者免費(fèi),后者收費(fèi),

  2. 環(huán)境(以下網(wǎng)絡(luò)及DNS信息請(qǐng)根據(jù)實(shí)際情況填寫(xiě)):

  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

  添加如下內(nèi)容:

  zone "example.com"{

  type master;

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

  };

  # nano/etc/bind/example.com

  添加如下內(nèi)容:

  $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服務(wù)器上的臨時(shí)DNS換成正式DNS,并重啟服務(wù)器

  # 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系統(tǒng)的/data/目錄下

  b)安裝Zimbra相關(guān)組件:

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

  c)配置DNS,并重啟服務(wù)器

  # 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

  安裝過(guò)程中會(huì)有如下提示:

  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 回到上級(jí)目錄

  選擇s

  要求保存文件時(shí),直接回車(chē)即可

  選擇a 應(yīng)用所有配置

  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 回車(chē)退出即可

  e)修改/opt/zimbra/.bashrc

  # nano /opt/zimbra/.bashrc

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

  f)重啟服務(wù)器

  # reboot

  4)客戶(hù)端登錄

  https://192.168.1.5

  用戶(hù)名:admin

  密碼:zimbra (剛剛修改的admin密碼)

  5)測(cè)試

  a) 外發(fā)郵件:

  現(xiàn)在假設(shè)登錄服務(wù)器192.168.1.5,紅色字體部分是需要我們手動(dòng)輸入的內(nèi)容

  測(cè)試步驟如下:

  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.

  這樣郵件就發(fā)送出去了,你可以登錄你的收件郵件看看有沒(méi)有收到郵件。如果收到郵件,表示一切正常,結(jié)束。

  b) 內(nèi)發(fā)郵件

  步驟同上,只需將mail from所示的發(fā)件人和rcpt to所示的收件人郵箱互換即可

  至此,zimbra8.0.5集成郵件服務(wù)器搭建完成

發(fā)表評(píng)論 共有條評(píng)論
用戶(hù)名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 镇巴县| 德钦县| 陇川县| 岐山县| 屏南县| 新疆| 青州市| 南部县| 萍乡市| 昭平县| 乌鲁木齐市| 达孜县| 溆浦县| 开封县| 旬阳县| 五家渠市| 城固县| 德钦县| 崇阳县| 孟津县| 长阳| 大竹县| 浏阳市| 和田市| 治县。| 苏尼特左旗| 遵化市| 奎屯市| 开封市| 新河县| 和政县| 灯塔市| 灵宝市| 香格里拉县| 萍乡市| 平阳县| 洪湖市| 固始县| 梅河口市| 武隆县| 河东区|