How to Install Zimbra in CentOS 7 – Open Source Edition
Before we plan to install Zimbra in CentOS7, RHEL, or Ubuntu OS, we need to know a little bit more about Zimbra. Zimbra is an open-source, enterprise-grade server for email, calendars, contacts, and more. It has been developed and owned by Synacor, Inc., and is based on open-source software so it can be modified and redistributed without restrictions. Zimbra has an open source edition which was last updated on 30 Sep 2019 and a commercial edition or Zimbra Network Edition which has more features to offer.
Is Zimbra still an Open Source product and what is the difference between Zimbra 8 and Zimbra 9?
Yes. Zimbra is still based on the Open Source platform but Zimbra 9 open source binaries will not be provided by the company unlike the Zimbra 8 release. However, the source code will be available on GitHub which can be downloaded and compiled into a binary if required.
Zimbra Open Source has the following key features available:
- Deploy Zimbra on the cloud, and on-premises on a private data center.
- The Zimbra mail server supports a variety of protocols including IMAP and POP.
- The Zimbra Admin Console allows you to administer your network from any web browser or device.
- Integrated AV and antispam features with an option to enable third-party add-ons.
- Zimbra COS can help you manage end-user features, quotas, and storage policies.
You can also check out the Zimbra open source features for a detailed list of features available in the zimbra open source edition.
In this article, we will focus on how to install the latest Zimbra OSE edition 8.8.12 on CentOS 7. You can use the same steps to install Zimbra on Almalinux, Redhat Enterprise Linux 6/ 7 and also on Ubuntu LTS 14.04/16.04 and 18.04.
Looking for Zimbra Hosting Provider?
Check out our Zimbra Email Hosting Services
and request a demo today.
Zimbra server installation prerequisites
- To install Zimbra you need a CentOS 7 or compatible OS.
- Intel or AMD CPU with 4 cores @ 2.0 GHz and above speed.
- A minimum of 8 GB of RAM is required and it will be increased depending on the no. of users.
- 20 GB free disk space for software and logs (SSD is recommended).
- Additional storage for Zimbra email users should be planned in advance.
You need to have a valid A & MX record for your domain.
In our case, we are using zimbrademo.in the domain for the zimbra open-source server installation.
Important: You must disable any other web server, database, LDAP, or MTA server before you install Zimbra on the server.
Zimbra Application Packages for installing Zimbra
Zimbra includes open-source integrations and has been tested by third parties. It is reliable and compatible with industry-standard protocols.
The following describes the Zimbra packages that are installed when you install Zimbra on Centos 7 server:
- Zimbra Core:
This includes everything needed to get started with the installation. Besides the core, you have libraries, utilities, and some configuration files that are installed on your server.
- Zimbra Store:
The Zimbra store includes many useful components for the mailbox server, including Jetty. This is the servlet container for the Zimbra software. It also includes other useful parts like the following:
- Data store:
The data store is a MariaDB database.
- Message store:
The message store is where all email messages and file attachments are saved.
- Index store:
Index and search technology is provided through Lucene. Index files are maintained for each mailbox on the index store.
- Data store:
- Web application services:
The Jetty server is an open-source application that can run any type of web application. It will allow their service to be used on many different servers, allowing web applications to be run on any server.
- Zimbra LDAP:
User authentication is provided through OpenLDAP® software. Every account on the Zimbra server has a unique mailbox ID which is typically used as the primary point of reference to identify each account. The OpenLDAP schema has been customized and the Zimbra LDAP server must be configured before the other servers.
- Zimbra MTA:
Postfix is the free open-source email server (MTA) you can use to receive emails sent via SMTP. Once there, it routes messages to their appropriate destination and uses LMTP. The Zimbra MTA also includes antivirus and anti-spam components.
- Zimbra Proxy:
A Zimbra Proxy is a high-performing proxy service for passing IMAP/POP/HTTP client requests to another internal ZCS service. This software is provided as a package and installed on your MTA servers or on an independent server. If you installed the Zimbra-proxy package, which is highly recommended, it will enable the proxy when the server starts. You can still configure a Web app server even if you haven’t installed the package and enabled the proxy.
- Zimbra SNMP:
Installing the Zimbra SNMP package is optional. You should install it if you only want to monitor the server via SNMP though.
- Zimbra Logger:
Installing the Zimbra Logger package is optional and it is currently compiled for a single server. The Logger is an app that installs log aggregation and reporting tools and monitors your zimbra email logs. It’s also a self-contained application with no dependencies on other packages so you won’t have to worry about affecting other parts of your Zimbra setup.
Note: The Logger package must be installed at the same time as the mailbox server.
- Zimbra Spell:
Aspell is an open-source spell checker that is optional and can be disabled in the Zimbra Web Client.
- Zimbra Apache:
This is installed automatically when you install Zimbra Spell.
Zimbra Pre-Installation Checklist
Set the hostname for the Zimbra Server
The first thing we need to do is set the hostname and fully qualified domain name(FQDN) to point to your server’s IP address.
[root@zimbrademo ~]# hostnamectl set-hostname zimbrademo.in
[root@zimbrademo ~]# vi /etc/hosts 10.0.6.18 zimbrademo.in
DNS Configuration for Zimbra Server
To send and receive emails, the Zimbra MTA needs to be configured with both A and MX records.
For sending mail, the MTA uses DNS to resolve hostnames and email-routing information. To receive mail, the MX record must be configured correctly to route the message to the zimbra mail server.
[root@zimbrademo ~]# dig -t MX zimbrademo.in ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9 <<>> -t MX zimbrademo.in ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51550 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;zimbrademo.in. IN MX ;; ANSWER SECTION: zimbrademo.in. 21600 IN MX 10 mail.zimbrademo.in. ;; Query time: 5 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Wed Aug 10 06:41:28 EDT 2022 ;; MSG SIZE rcvd: 63
[root@zimbrademo ~]# dig -t A zimbrademo.in
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.9
<<>> -t A zimbrademo.in ;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4301
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;zimbrademo.in. IN A
;; ANSWER SECTION:
zimbrademo.in. 21600 IN A 43.239.192.50
;; Query time: 70 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Aug 10 06:36:14 EDT 2022
;; MSG SIZE rcvd: 58
Set SELinux to “permissive” mode.
It’s better to check if you have SELinux on your machine, and if it’s on, then change the status to “permissive”.
[root@zimbrademo ~]# setenforce 0 [root@zimbrademo ~]# getenforce Permissive
Stop and disable the postfix service before the Zimbra installation
The postfix service needs to be removed to avoid port conflict during the installation of Zimbra components. [root@zimbrademo ~]# systemctl stop postfix [root@zimbrademo ~]# systemctl disable postfix Removed symlink /etc/systemd/system/multi-user.target.wants/postfix.service. [root@zimbrademo ~]# yum remove postfix -y
Install dependency packages for zimbra
Run the below command to install Zimbra dependencies.
[root@zimbrademo ~]# yum -y install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6
Download Zimbra Open Source (ZCS 8.8.12) installer
You will need to download the Zimbra software in order to install it. From the below URL, you can choose your package. In our case, we are using the ‘CentOS 7′ and ’64 Bit’ option. The latest version can be downloaded using the below command.
[root@zimbrademo ~]# wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
--2022-08-10 05:59:45-- https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
Resolving files.zimbra.com (files.zimbra.com)... 143.204.71.216
Connecting to files.zimbra.com (files.zimbra.com)|143.204.71.216|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255802491 (244M) [binary/octet-stream]
Saving to: 'zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz'
100%[===================>] 255,802,491 2.28MB/s in 2m 47s 2022-08-10 06:02:32 (1.46 MB/s) – ‘zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz’ saved [255802491/255802491]
Once the file is downloaded, extract it using the tar utility.
[root@zimbrademo ~]# tar xvf zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz
Install Zimbra on Centos7.
Go to the extracted folder
[root@zimbrademo ~]# cd zcs-8.8.15_GA_3869.RHEL7_64.20190918004220
We are ready to install Zimbra on the Centos7 system.
Run the installer script to start the installation.
[root@zimbrademo zcs-8.8.15_GA_3869.RHEL7_64.20190918004220]# ./install.sh
Operations logged to /tmp/install.log.ml5OFi24
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
Select the Zimbra server components to install
Use Zimbra's package repository [Y] 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] Y
Install zimbra-logger [Y] Y
Install zimbra-mta [Y] Y
Install zimbra-dnscache [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 [Y] Y
Install zimbra-proxy [Y] Y
Install zimbra-drive [Y] Y
Install zimbra-imapd (BETA - for evaluation only) [N] Y
Install zimbra-chat [Y] 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-imapd
zimbra-patch
zimbra-mta-patch
zimbra-proxy-patch
zimbra-chat
The system will be modified. Continue? [N] Y
Beginning Installation - see /tmp/install.log.ml5OFi24 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-imapd will be installed.
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).
Removing /opt/zimbra Removing zimbra crontab entry…done. Cleaning up zimbra init scripts…done. Cleaning up /etc/security/limits.conf…done. Finished removing Zimbra Collaboration Server. Installing repo 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 (27): 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 zimbra-imapd …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.20220810-063234.log Installing LDAP configuration database…done. Setting defaults… MX: mail.zimbrademo.in (43.239.192.50) Interface: 127.0.0.1 Interface: ::1 Interface: 10.0.6.18 43.239.192.50 43.239.192.50 43.239.192.50 DNS ERROR – none of the MX records for zimbrademo.in resolve to this host Change domain name? [Yes] No done. Checking for port conflicts
Here, we will configure the administrator password for Zimbra, which is not yet configured. You may also find the administrator password marked with asterisks (********) under the zimbra-store section.
Hit “7” on your keyboard to enter into the zimbra-store section.
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@nullzimbrademo.in
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.26vbn1x_@nullzimbrademo.in
+Enable automated spam training: yes
+Spam training user: spam.c8eh_nhqv@nullzimbrademo.in
+Non-spam(Ham) training user: ham.jnmohqrlnr@nullzimbrademo.in
+SMTP host: zimbrademo.in
+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://zimbrademo.in:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@nullnullzimbrademo.in +Version update source email: admin@nullnullzimbrademo.in +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) zimbra-imapd: Enabled 11) Default Class of Service Configuration: s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? – help)
Now, for the Administrator Password configuration, hit “4”. You will be asked to set a password for the admin. Type any password (with a minimum of 6 characters).
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@nullzimbrademo.in
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.26vbn1x_@nullzimbrademo.in
6) Enable automated spam training: yes
7) Spam training user: spam.c8eh_nhqv@nullzimbrademo.in
8) Non-spam(Ham) training user: ham.jnmohqrlnr@nullzimbrademo.in
9) SMTP host: zimbrademo.in
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://zimbrademo.in:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@nullnullzimbrademo.in 22) Version update source email: admin@nullnullzimbrademo.in 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Select, or ‘r’ for previous menu [r] 4 Password for admin@nullnullzimbrademo.in (min 6 characters): [rPm8z9UtId]
Once the Zimbra Administrator Password is set, press “r” to go back to the previous menu.
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@nullzimbrademo.in
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.26vbn1x_@nullzimbrademo.in
6) Enable automated spam training: yes
7) Spam training user: spam.c8eh_nhqv@nullzimbrademo.in
8) Non-spam(Ham) training user: ham.jnmohqrlnr@nullzimbrademo.in
9) SMTP host: zimbrademo.in
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://zimbrademo.in:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@nullnullzimbrademo.in 22) Version update source email: admin@nullnullzimbrademo.in 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Admin password has been set and now press “r” to go to previous menu
Now hit “a” to apply the configurations and hit “Y” again to save the zimbra server configurations.
When you are notified that the system will be modified, hit “Y”.
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] Yes
Save config in file: [/opt/zimbra/config.16795]
Saving config in /opt/zimbra/config.16795...done.
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.20220810-063234.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-imapd certificate...done.
Creating new zimbra-store SSL certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for zimbrademo.in...done.
Configuring SNMP...done.
Setting up syslog.conf...done.
Enabling IMAP protocol for zimbra-imapd service...done.
Enabling IMAPS protocol for zimbra-imapd service...done.
Starting servers...done.
Enabling jetty logging...done.
Installing common zimlets...
com_zimbra_proxy_config...done.
com_zimbra_clientuploader...done.
com_zimbra_phone…done. com_zimbra_webex…done. com_zimbra_url…done. com_zimbra_bulkprovision…done. com_zimbra_email…done. com_zimbra_attachcontacts…done. com_zimbra_adminversioncheck…done. com_zimbra_mailarchive…done. com_zimbra_viewmail…done. com_zimbra_attachmail…done. com_zimbra_ymemoticons…done. com_zimbra_cert_manager…done. com_zimbra_date…done. com_zimbra_tooltip…done. com_zimbra_srchhighlighter…done. com_zextras_chat_open…done. com_zextras_drive_open…done. Finished installing common zimlets. Restarting mailboxd…done. Creating galsync account for default domain…done. You have the option of notifying Zimbra of your installation. This helps us to track the uptake of the Zimbra Collaboration Server. The only information that will be transmitted is: The VERSION of zcs installed (8.8.15_GA_3869_RHEL7_64) The ADMIN EMAIL ADDRESS created (admin@nullnullzimbrademo.in) Notify Zimbra of your installation? [Yes] Yes
You will now see the following screen with the ‘Configuration complete’ message. Press enter to exit.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.8.15_GA_3869_RHEL7_64)
The ADMIN EMAIL ADDRESS created (admin@nullzimbrademo.in)
Notify Zimbra of your installation? [Yes] Yes
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/ notify.cgi?VER=8.8.15_GA_3869_RHEL7_64&MAIL=admin@nullnullzimbrademo.in ERROR: Notification failed Checking if the NG started running…done. Setting up zimbra crontab…done. Moving /tmp/zmsetup.20220810-063234.log to /opt/zimbra/log Configuration complete – press return to exit
Confirm Zimbra installation and log in as Zimbra admin
Verifying zimbra Services status You should verify that the server is running after installation is completed. Use the CLI command, zmcontrol status, to verify that each server is running. Log on as a Zimbra administrator, from the root. Type “su – zimbra” Type “zmcontrol status” as shown in the below screenshot. The services status information is displayed. All services should be running.
[root@zimbrademo ~]# su - zimbra
[zimbra@zimbrademo ~]$ zmcontrol status
Host zimbrademo.in
amavis Running
antispam Running
antivirus Running
dnscache Running
imapd Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
snmp Running
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running
Note: If services are not started, you can type “zmcontrol start” to start the services.
Access Zimbra Administration & Webmail page
To access the Zimbra admin web interface, use the URL https://<ip_adddress>:7071 Or https://<FQDN>:7071 Login with your admin user and the password you set during installation.
From the above, you can now add Domain and user accounts to your mail server and start using them.
To access the Zimbra Webmail interface, use the URL
https://<ip_adddress> or https://<FQDN>
Zimbra post-installation checklist
Enable plain text authentication for zimbra POP/IMAP connection
By default, the server will not accept IMAP and POP login over a clear text (non-encrypted) connection. Enable plain text authentication on Zimbra IMAP front-end by going to Configure > Global Settings > IMAP check the “Enable Clear Text Login” as below
Enable plain text authentication on Zimbra POP front-end by going to
Configure > Global Settings > POP Check the “Enable Clear Text Login” as below
Enable plain text login from Zimbra Proxy
The above settings are enough for enabling plain text authentication, however we all know that nginx listens on the real ports like 110 and 143 in a proxy environment. Therefore, we need to enable the same settings in the proxy.
How to uninstall the Zimbra server
In case you wish to uninstall Zimbra server and start over, you need to run the installation script with the ‘-u’ option and then delete the zcs directory and remove the zcs tgz file from the servers.
Change directories to the original install directory for the zcs files.
[root@zimbrademo ~]# cd
zcs-8.8.15_GA_3869.RHEL7_64.20190918004220
[root@zimbrademo zcs-8.8.15_GA_3869.RHEL7_64.20190918004220]#
./install.sh -u
[root@zimbrademo zcs-8.8.15_GA_3869.RHEL7_64.20190918004220]# ./install.sh -u
Operations logged to /tmp/install.log.XDroMbJj
Checking for existing installation...
zimbra-drive...FOUND zimbra-drive-1.0.13.1576152256-1
zimbra-imapd...FOUND zimbra-imapd-8.8.15_GA_3869
zimbra-patch...FOUND zimbra-patch-8.8.15.1658841204
zimbra-mta-patch...FOUND zimbra-mta-patch-8.8.15.1658841204
zimbra-proxy-patch...FOUND zimbra-proxy-patch-8.8.15.1658841204
zimbra-license-tools...NOT FOUND
zimbra-license-extension...NOT FOUND
zimbra-network-store...NOT FOUND
zimbra-network-modules-ng...NOT FOUND
zimbra-chat...FOUND zimbra-chat-3.0.2.1655178187-1
zimbra-talk...NOT FOUND
zimbra-ldap...FOUND zimbra-ldap-8.8.15_GA_3869
zimbra-logger...FOUND zimbra-logger-8.8.15_GA_3869
zimbra-mta...FOUND zimbra-mta-8.8.15_GA_3869
zimbra-dnscache...FOUND zimbra-dnscache-8.8.15_GA_3869
zimbra-snmp...FOUND zimbra-snmp-8.8.15_GA_3869
zimbra-store...FOUND zimbra-store-8.8.15_GA_3869
zimbra-apache...FOUND zimbra-apache-8.8.15_GA_3869
zimbra-spell...FOUND zimbra-spell-8.8.15_GA_3869
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-1.4.37-2
zimbra-proxy...FOUND zimbra-proxy-8.8.15_GA_3869
zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.8.15_GA_3869
Completely remove existing installation? [N]
[root@zimbrademo ~]# rm -rf zcs-8.8.15_GA_3869.RHEL7_64.20190918004220
Delete the zcs.tgz file, type rm -rf zcs.tgz.
[root@zimbrademo ~]# rm -rf zcs-8.8.15_GA_3869.RHEL7_64.20190918004220
Additional files may need to be deleted. See the Zimbra Wiki section on for additional information https://wiki.zimbra.com/wiki/UnInstalling_Zimbra_on_Linux
Zimbra Resources
- http://forums.zimbra.com/
- https://wiki.zimbra.com/
- https://zimbra.github.io/installguides/latest/single.html
Final thoughts on Zimbra Install in CentOS 7 – Zimbra OSE vs Zimbra NE
While Zimbra Open source edition is a very robust solution for email collaboration requirements for organisations where most of the users are downloading email to their local email clients and not using much of IMAP sync, daily email backups, 2FA or delegated admin features.
The Zimbra network edition on the other hand is what you should consider for your business if email is an absolutely critical requirement. The below features are some of the key features which are exclusive to Zimbra network edition are highlighted below and you can view the Zimbra edition comparison pdf to get the full details:
- Attachment search
- Exchange Active Sync
- Zimbra Docs
- LDAP and Microsoft AD Support
- Real time backup and restore
- Per mailbox wise backup and restore
- Two Factor Authentication
- Support from Zimbra
Diadem Technologies is a leading Zimbra Hosting Partner (Business Service Provider) and we provide managed Zimbra hosting at our TIER IV datacenter at Equinix, India. Checkout our hosted Zimbra Cloud Storage Plans and also book a meeting with our team so we can provide you with a custom Zimbra email hosting solution.
We hope you found this post to be helpful for your Zimbra install guide. Please share your thoughts on the comments sections below and reach out to us for any queries or feedback.
Related Post: How to Check MySQL version in Windows?
Diadem Technologies is an ISO 27001 Certified Cloud Provider.
Book a 30 minutes free consultation
with a zimbra Certified Expert