zimbra邮件系统详细配置教程
簡介
Zimbra與眾不同的特點是其“Zimlet”網絡服務提供了更多的電子郵件功能。例如,人們可以簡單地用鼠標點擊電子郵件程序中的航班信息以檢查航班的狀況。用戶還可以在電子郵件中跟蹤FedEx公司的投遞情況并且獲得地圖、股票和其它信息。
Zimbra的核心產品是Zimbra協作套件(Zimbra Collaboration Suite,簡稱ZCS)。除了它的核心功能是電子郵件和日程安排服務器,當然還包括許多其它的功能,就象是下一代的微軟Exchange。在電子郵件和日程安排之外,它還提供文檔存儲和編輯、即時消息以及一個利用獲獎技術開發的全功能的管理控制臺。ZCS同時也提供移動設備的支持,以及與部署于Windows、Linux或apple操作系統中的桌面程序的同步功能。
核心功能
電子郵件服務
它打破傳統電子郵件的限制,提供集成的信息和協作辦公,以提高工作效率,通過自動整理的郵箱、標簽以及對話視圖,zimbra讓電子郵件易于管理,提供即時信息、共享日歷以及快捷的文檔創作和協作功能,改變由他人協作的方式,使用zimbra可以在任何地點從任意計算機訪問自己的賬戶,而無論使用的是windows、apple還是linux操作系統,zimbra還可以與blackberry、iphone等手持設備同步,即使在路上也能時刻掌握最新資訊,zimbra可以作為個人電子郵件操作系統,也可以用于整個組織。既可以本地部署,也可以部署在托管服務器上。
電子郵件具體功能 1、收件箱、郵件、搜索(inbox, mail&search)
功能圖示(8張)
2、插件(mashups)
3、日歷(calendar)
4、文檔協作(document collaboration)
5、即時消息、任務、公文包(im,task,briefcase)
6、zimbra桌面(zimbra desktop)
7、與outlook或apple同步(outlook&apple sync)
8、移動訪問(zimbra mobile)Zimbra協作套件(Zimbra Collaboration Suite
實驗環境:
服務器系統:centos5 64位?????IP:192.168.0.3
zimbra安裝包:zxvf zcs-6.0.10_GA_2692.RHEL5_64.20101215170845.tgz
網絡適配器的參數:
[root@zcs ~]# ifconfig eth0 | grep 'inet addr'|awk '{print $2}'|cut -c 6-
192.168.0.3
/etc/sysconfig/network文件的主機名配置:
HOSTNAME=zcs.baiying.com
/etc/hosts文件的配置:
[root@zcs ~]# cat /etc/hosts
127.0.0.1???????????????localhost.localdomain???localhost
::1?????????????????????localhost6.localdomain6 localhost6
192.168.0.3?????????????zcs.baiying.com?????zcs
/etc/resolv.conf文件的配置:
[root@zcs ~]# cat /etc/resolv.conf
nameserver??????192.168.0.3
?
主機名稱:
[root@zcs ~]# hostname
zcs.baiying.com
?
配置dns服務:
編輯DNS解析配置文件:
[root@zcs etc]# vi named.conf
options {
????????directory???????"/var/named";
????????dump-file???????"/var/named/data/cache_dump.db";
????????statistics-file "/var/named/data/named_stats.txt";
????????memstatistics-file "/var/named/data/named_mem_stats.txt";
?????};
logging {
????????channel default_debug {
????????????????file "data/named.run";
????????????????severity dynamic;
????????};
};
zone "baiying.com" IN {
????????type master;
????????file "baiying.com.zone";
????????allow-update {none;};
?};
zone "0.168.192.in-addr.arpa" IN {
????????type master;
????????file "0.168.192.in-addr.arpa.zone";
????????allow-update {none;};
};
復制文件localhost.zone為baiying.com.zone,更改baiying.com.zone區域解析文件屬性:
[root@zcs named]# cp localhost.zone baiying.com.zone
?
編輯baiying.com.zone區域解析文件:
[root@zcs named]# vi baiying.com.zone
$TTL????86400
@???IN??????SOA?????????@??????????????root (
????????????????????????????????????????20110308????????; serial (d. adams)
????????????????????????????????????????3H??????????????; refresh
????????????????????????????????????????15M?????????????; retry
????????????????????????????????????????1W??????????????; expiry
????????????????????????????????????????1D )????????????; minimum
baiying.com.???????????IN??????NS??????????????zcs.baiying.com.
zcs.baiying.com.????IN??????A???????????????192.168.0.3
baiying.com.???????????IN??????MX??????10??????zcs.baiying.com.
mail????????????????????IN??????CNAME???????????zcs.baiying.com.
?
復制baiying.com.zone為0.168.192.in-addr.arpa.zone,將后者作為反向解析配置文件,更改0.168.192.in-addr.arpa.zone的文件屬性:
[root@zcs named]# cp baiying.com.zone 0.168.192.in-addr.arpa.zone
[root@zcs named]# vi 0.168.192.in-addr.arpa.zone
編輯0.168.192.in-addr.arpa.zone反向解析文件:
[root@zcs named]# vi 0.168.192.in-addr.arpa.zone
$TTL????86400
@???????IN??????SOA?????@??????????root (
????????????????????????????????????????20110308????????; serial (d. adams)
????????????????????????????????????????3H??????????????; refresh
????????????????????????????????????????15M?????????????; retry
????????????????????????????????????????1W??????????????; expiry
????????????????????????????????????????1D )????????????; minimum
?
@???????IN??????NS??????????????zcs.baiying.com.
@???????IN??????MX??????10??????zcs.baiying.com.
25??????IN??????PTR?????????????zcs.baiying.com.
25??????IN??????PTR?????????????mail.baiying.com.
將named及network服務設置為開機啟動,將sendmail服務停止:
[root@zcs ~]# chkconfig named on
[root@zcs ~]# chkconfig network on
[root@zcs ~]# chkconfig named --level 35 on
[root@zcs ~]# chkconfig network --level 35 on
[root@zcs ~]# service sendmail stop
[root@zcs ~]# chkconfig sendmail off
[root@zcs ~]# chkconfig sendmail --level 35 off
進入ZCS軟件包的目錄,解壓ZCS tgz包:
[root@zcs Desktop]# tar zxvf zcs-6.0.10_GA_2692.RHEL5_64.20101215170845.tgz
進入ZCS軟件包目錄,找到安裝啟動文件并查看幫助:
[root@zcs Desktop]# mv zcs-6.0.10_GA_2692.RHEL5_64.20101215170845 zcs
在CentOS-5.5-64bit上安裝ZCS For RHEL5的軟件包,需要加參數--platform-override:
[root@zcs zcs]# ./install.sh --platform-override
Operations logged to /tmp/install.log.3602
Checking for existing installation...
????zimbra-ldap...NOT FOUND
????zimbra-logger...NOT FOUND
?? ?...
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
?? ?...
Found zimbra-memcached
Found zimbra-proxy
Select the packages to install
選擇默認安裝:
Install zimbra-ldap [Y]
最后一個N
Install zimbra-proxy [N]
Checking required space for zimbra-core
?? ...
options may be limited if you choose to continue.
Install anyway? [N] y
The system will be modified.??Continue? [N] yes
Removing /opt/zimbra ?...
It is suggested that the domain name have an MX record configured in DNS
Change domain name?[Yes] yes
更改域名,主機名zcs.baiying.com,域名設置為baiying.com:
Checking for port conflicts
Main menu
???1) Common Configuration:??????????????????????????????????????????????????
???2) zimbra-ldap:?????????????????????????????Enabled??????????????????????
?? ? ? ? ?...
???7) zimbra-spell:????????????????????????????Enabled???????????????????????
???8) Default Class of Service Configuration:???????????????????????????????
???r) Start servers after configuration????????yes??????????????????????????
設置網頁管理端admin的登錄密碼:
Address unconfigured (**) items??(? - help) 3
Store configuration
???1) Status:??????????????????????????????????Enabled??????????????????????
?? ? ? ...
??24) Version update source email:?????????????admin@baiying.com???????????
Select, or 'r' for previous menu [r] 4?????//設置管理密碼
Password for admin@baiying.com (min 6 characters): [OUYQ0Ht8] 123456??//密碼
返回上層頁面:
Select, or 'r' for previous menu [r] r
輸入“a”以應用配置:
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
?? ?....
Notify Zimbra of your installation? [Yes] no
Configuration complete - press return to exit
安裝完成,按任意鍵退出:
切換成zimbra用戶(安裝zimbra時系統自動創建),查看ZCS套件工作的狀態:
[root@zcs ~]# su - zimbra
[zimbra@~]$ zmcontrol status
Host zcs.baiying.com
????????antispam????????????????Running
?? ? ? ? ...
????????stats???????????????????Running
?
瀏覽器訪問頁面地址:
管理員登陸頁面:https://192.168.0.3:7071/zimbraAdmin/(需要DNS配置成功做解析支持)或https://192.168.0.3:7071,帳戶:admin,密碼:123456(安裝時的設置)。
如下圖:
?
//點擊登錄
?
郵箱客戶端登陸頁面:http://192.168.0.3/zimbra(需要DNS配置成功做解析支持)
在上面的管理界面我建立了一個名字為baiying的郵箱賬號,用這個賬號登錄郵箱客戶端:
?
之前我用管理員的賬號給baiying發了一份郵件:
?
最簡單的zimbra郵件系統搭建完成。
?
本文轉自 baiying 51CTO博客,原文鏈接:http://blog.51cto.com/baiying/659509,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的zimbra邮件系统详细配置教程的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Windows 8 Release Pr
- 下一篇: jenkins 使用LDAP认证