In the previous article, I am using Zimbra Open Source Edition created by Beezim. In this article, I am using Zimbra 9 Open Source Edition unofficial created by ZeXtras. You can find full information about Zimbra 9 OSE created by ZeXtras here: https://www.zextras.com/zimbra-9/.
If you are looking for a Zimbra 9 installation on CentOS 7, please see this one: How to Install Zimbra 9 Open Source Edition (Unofficial) on CentOS 7. If you are looking for a Zimbra 9 installation on Ubuntu, please see this one: How to Install Zimbra 9 Open Source Edition (Unofficial) on Ubuntu.
Here is how I install Zimbra 9 FOSS (unofficial) on CentOS 8 created by ZeXtras
# Install EPEL Repo
yum install epel-release -y yum update -y yum upgrade -y
# Install screen and wget
yum install wget screen -y
# Download script automatic configuration
This script will automatically configure /etc/hosts, hostname, create local DNS using BIND and install dependencies that required by Zimbra
screen -S install-zimbra wget -c https://raw.githubusercontent.com/imanudin11/zimbra-auto-install/master/setup-zimbra-cento8.sh chmod +x setup-zimbra-cento8.sh ./setup-zimbra-cento8.sh
Screen commands are used for background processes. When the SSH connection is lost, I can reconnect to the server and check the progress by running the screen -x.
When the script is run, you will be asked about the hostname, domain, and IP address. Below is the information I used
[INFO] : Configuring /etc/hosts Hostname. Example mail : mail Domain name. Example imanudin.net : imanudin.net IP Address : 192.168.11.12
# Download Zimbra binary
You must register here to get a link download: https://www.zextras.com/download-Zimbra-9/. Or you can follow my steps below. I hope the download link is the same.
cd /opt/ wget -c https://download.zextras.com/zcs-9.0.0_OSE_RHEL8_latest-zextras.tgz
# Extract and Install Zimbra
tar -zxvf zcs-9.0.0_OSE_RHEL8_latest-zextras.tgz cd zimbra-installer ./install.sh
type Y if asked license agreement and repository package
Do you agree with the terms of the software license agreement? [N] Y Use Zimbra's package repository [Y] Y
Select the packages to install. I do not install zimbra-imapd and zimbra-dnscache
Install zimbra-ldap [Y] Y Install zimbra-logger [Y] Y Install zimbra-mta [Y] Y Install zimbra-dnscache [Y] N 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] N Install zimbra-chat [Y] Y
Type Y if asked The system will be modified. Continue?
if get a message like follows, enter or type Yes and change the domain name
DNS ERROR resolving MX for mail.imanudin.net It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] Yes Create domain: [mail.imanudin.net] imanudin.net
if you do not change the domain name on the above section, your domain name will become mail.imanudin.net, and the email account will become firstname.lastname@example.org.
Type 6 then press the enter key to change the password of the admin account. Type 4 then press the enter key. Insert the password you want
Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-snmp: Enabled 6) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: email@example.com ******* +Admin Password UNSET +Anti-virus quarantine user: firstname.lastname@example.org ..... ..... Address unconfigured (**) items (? - help) 6 Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: email@example.com ** 4) Admin Password UNSET 5) Anti-virus quarantine user: firstname.lastname@example.org .... .... Select, or 'r' for previous menu [r] 4 Password for email@example.com (min 6 characters): [_47SUjFEQ] VeryS3cret
After inserting the password, Select, or ‘r’ for previous menu. If all has been configured, apply configuration and wait until Zimbra is finished installing.
*** CONFIGURATION COMPLETE - press 'a' to apply 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.5731] Saving config in /opt/zimbra/config.5731...done. The system will be modified - continue? [No] Yes Operations logged to /tmp/zmsetup.20200501-161152.log
Type Yes if asked Notify Zimbra of your installation? then press the enter key when you see Configuration complete – press return to exit,
Check Zimbra status and version with these commands
su - zimbra -c "zmcontrol status" su - zimbra -c "zmcontrol -v"
[root@mailimanudinnet zimbra-installer]# su - zimbra -c "zmcontrol -v" Release 9.0.0_ZEXTRAS.e41af5bae02dd6e1ee964342d6efb01fdeb09927_202007113.RHEL8_64_20200710151420 RHEL8_64 FOSS edition, Patch 9.0.0_P4.
Below are some screenshots of webmail
Why not using a modern web app after login? as mention on Zimbra Wiki “A Zimbra Network Edition license is required to use the Modern Web App.”. So, you should buy Zimbra NE to get more Benefits 🙂
Congratulations, you had been finished install Zimbra 9 on CentOS 8. After install, you can improve anti-spam with some method below. This method is still relevant for Zimbra 9 🙂
Good luck 🙂