Zimbra配置手册

snow chuai汇总、整理、撰写---2020/2/25


1. 安装Zimbra
1) 安装一些需要的工具软件
[root@srv1 ~]# yum install perl-core unzip libaio nmap-ncat sysstat openssh-clients -y
2) 如果有相关的http/mail/ldap服务请停止(stop及disable) [root@srv1 ~]# systemctl disable --now postfix
3) DNS能够解析并拥有MX记录
4) 设定hosts(必须做此步骤,不然报错)
[root@srv1 ~]# echo "192.168.10.11 srv1.1000cc.net srv1" >> /etc/hosts
5) 下载zimbra # 最新版本可从: https://www.zimbra.com/downloads/zimbra-collaboration-open-source下载 [root@srv1 ~]# wget \ https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
[root@srv1 ~]# tar zxf zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
[root@srv1 ~]# cd zcs-8.8.15_GA_3869.RHEL7_64.20190918004220/ [root@srv1 zcs-8.8.15_GA_3869.RHEL7_64.20190918004220]# ./install.sh
Operations logged to /tmp/install.log.JQJXrEaw Checking for existing installation... zimbra-drive...NOT FOUND zimbra-imapd...NOT FOUND zimbra-patch...NOT FOUND zimbra-mta-patch...NOT FOUND zimbra-proxy-patch...NOT FOUND zimbra-license-tools...NOT FOUND zimbra-license-extension...NOT FOUND zimbra-network-store...NOT FOUND zimbra-network-modules-ng...NOT FOUND zimbra-chat...NOT FOUND zimbra-talk...NOT FOUND zimbra-ldap...NOT FOUND zimbra-logger...NOT FOUND zimbra-mta...NOT FOUND zimbra-dnscache...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-core...NOT FOUND

---------------------------------------------------------------------- PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. SYNACOR, INC. ("SYNACOR") 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 this Zimbra Collaboration Suite Software: https://www.zimbra.com/license/zimbra-public-eula-2-6.html ----------------------------------------------------------------------

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

Use Zimbra's package repository [Y] # 回车
Importing Zimbra GPG key
Configuring package repository
Checking for installable packages
Found zimbra-core (local) Found zimbra-ldap (local) Found zimbra-logger (local) Found zimbra-mta (local) Found zimbra-dnscache (local) Found zimbra-snmp (local) Found zimbra-store (local) Found zimbra-apache (local) Found zimbra-spell (local) Found zimbra-memcached (repo) Found zimbra-proxy (local) Found zimbra-drive (repo) Found zimbra-imapd (local) Found zimbra-patch (repo) Found zimbra-mta-patch (repo) Found zimbra-proxy-patch (repo)

Select the packages to install
Install zimbra-ldap [Y] # 回车
Install zimbra-logger [Y] # 回车
Install zimbra-mta [Y] # 回车
Install zimbra-dnscache [Y] # 回车
Install zimbra-snmp [Y] # 回车
Install zimbra-store [Y] # 回车
Install zimbra-apache [Y] # 回车
Install zimbra-spell [Y] # 回车
Install zimbra-memcached [Y] # 回车
Install zimbra-proxy [Y] # 回车
Install zimbra-drive [Y] # 回车
Install zimbra-imapd (BETA - for evaluation only) [N] # 回车
Install zimbra-chat [Y] # 回车
Checking required space for zimbra-core Checking space for zimbra-store Checking required packages for zimbra-store zimbra-store package check complete.
Installing: zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy zimbra-drive zimbra-patch zimbra-mta-patch zimbra-proxy-patch zimbra-chat
The system will be modified. Continue? [N] y
Beginning Installation - see /tmp/install.log.Kei5NhL9 for details...
zimbra-core-components will be downloaded and installed. zimbra-timezone-data will be installed. zimbra-common-core-jar will be installed. zimbra-common-mbox-conf will be installed. zimbra-common-mbox-conf-attrs will be installed. zimbra-common-mbox-conf-msgs will be installed. zimbra-common-mbox-conf-rights will be installed. zimbra-common-mbox-db will be installed. zimbra-common-mbox-docs will be installed. zimbra-common-mbox-native-lib will be installed. zimbra-common-core-libs will be installed. zimbra-core will be installed. zimbra-ldap-components will be downloaded and installed. zimbra-ldap will be installed. zimbra-logger will be installed. zimbra-mta-components will be downloaded and installed. zimbra-mta will be installed. zimbra-dnscache-components will be downloaded and installed. zimbra-dnscache will be installed. zimbra-snmp-components will be downloaded and installed. zimbra-snmp will be installed. zimbra-store-components will be downloaded and installed. zimbra-jetty-distribution will be downloaded and installed. zimbra-mbox-conf will be installed. zimbra-mbox-war will be installed. zimbra-mbox-service will be installed. zimbra-mbox-webclient-war will be installed. zimbra-mbox-admin-console-war will be installed. zimbra-mbox-store-libs will be installed. zimbra-store will be installed. zimbra-apache-components will be downloaded and installed. zimbra-apache will be installed. zimbra-spell-components will be downloaded and installed. zimbra-spell will be installed. zimbra-memcached will be downloaded and installed. zimbra-proxy-components will be downloaded and installed. zimbra-proxy will be installed. zimbra-drive will be downloaded and installed (later). zimbra-patch will be downloaded and installed (later). zimbra-mta-patch will be downloaded and installed (later). zimbra-proxy-patch will be downloaded and installed (later). zimbra-chat will be downloaded and installed (later).
Downloading packages (11): zimbra-core-components zimbra-ldap-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-components zimbra-store-components zimbra-jetty-distribution zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components ...done
Installing local packages (26): zimbra-timezone-data zimbra-common-core-jar zimbra-common-mbox-conf zimbra-common-mbox-conf-attrs zimbra-common-mbox-conf-msgs zimbra-common-mbox-conf-rights zimbra-common-mbox-db zimbra-common-mbox-docs zimbra-common-mbox-native-lib zimbra-common-core-libs zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-mbox-conf zimbra-mbox-war zimbra-mbox-service zimbra-mbox-webclient-war zimbra-mbox-admin-console-war zimbra-mbox-store-libs zimbra-store zimbra-apache zimbra-spell zimbra-proxy ...done
Installing extra packages (5): zimbra-drive zimbra-patch zimbra-mta-patch zimbra-proxy-patch zimbra-chat ...done
Running Post Installation Configuration: Operations logged to /tmp/zmsetup.20200225-035010.log Installing LDAP configuration database...done. Setting defaults...

Create domain: [srv1.1000cc.net] 1000cc.net MX: srv1.1000cc.net (192.168.10.11)
Interface: 127.0.0.1 Interface: ::1 Interface: 192.168.10.11 done. Checking for port conflicts
Main menu
1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@1000cc.net ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.kxcjefc7ep@1000cc.net +Enable automated spam training: yes +Spam training user: spam.k9lsjvs17@1000cc.net +Non-spam(Ham) training user: ham.komnihx1z@1000cc.net +SMTP host: srv1.1000cc.net +Web server HTTP port: 8080 +Web server HTTPS port: 8443 +Web server mode: https +IMAP server port: 7143 +IMAP server SSL port: 7993 +POP server port: 7110 +POP server SSL port: 7995 +Use spell check server: yes +Spell server URL: http://srv1.1000cc.net:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@1000cc.net +Version update source email: admin@1000cc.net +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes
8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: s) Save config to file x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 7

Store configuration
1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@1000cc.net ** 4) Admin Password UNSET 5) Anti-virus quarantine user: virus-quarantine.kxcjefc7ep@1000cc.net 6) Enable automated spam training: yes 7) Spam training user: spam.k9lsjvs17@1000cc.net 8) Non-spam(Ham) training user: ham.komnihx1z@1000cc.net 9) SMTP host: srv1.1000cc.net 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://srv1.1000cc.net:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@1000cc.net 22) Version update source email: admin@1000cc.net 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] 4
Password for admin@1000cc.net (min 6 characters): [iq_8lfC2m2] 123456 # 密码
Store configuration
1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@1000cc.net 4) Admin Password set 5) Anti-virus quarantine user: virus-quarantine.kxcjefc7ep@1000cc.net 6) Enable automated spam training: yes 7) Spam training user: spam.k9lsjvs17@1000cc.net 8) Non-spam(Ham) training user: ham.komnihx1z@1000cc.net 9) SMTP host: srv1.1000cc.net 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://srv1.1000cc.net:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@1000cc.net 22) Version update source email: admin@1000cc.net 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes
Select, or 'r' for previous menu [r] r
Main menu
1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: 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 Save configuration data to a file? [Yes] # 回车 Save config in file: [/opt/zimbra/config.5308] # 回车 The system will be modified - continue? [No] y Operations logged to /tmp/zmsetup.20200225-035010.log Setting local config values...done. Initializing core config...Setting up CA...done.
..... .....
Notification complete
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.20200225-035010.log to /opt/zimbra/log
Configuration complete - press return to exit
2. 配置Zimbra
1) 服务端配置
[浏览器]====>https://srv1.1000cc.net:7071















2) 用户登录 [浏览器]====>https://srv1.1000cc.net




 

如对您有帮助,请随缘打个赏。^-^

gold