How to install Open Source Zimbra Collaboration Suite

In this article, you will learn how to install open source Zimbra mail server configuration on CentOS/RHEL 7/8.

Zimbra Collaboration Suite (ZCS) is an open-source, collaborative platform for email servers, and it is available in two editions.

  • Firstly, Zimbra Collaboration Network Edition
  • Secondly, Zimbra Collaboration Open Source Edition.

It provides services such as LDAP, SMTP, POP and IMAP, webmail client, calendar, tasks, antivirus, antispam, and others.

Preconditions of Zimbra Collaboration suite 8.8.15

  • Minimum 8 GB RAM require for Zimbra 8.8.15
  • CPU – 1.5 GHz
  • CentOS/RHEL 7/8 based server
  • Minimum 5 GB for ZCS installation
  • A static IP address for the server
  • Fully Qualified Domain Name
  • An external DNS server with both A and MX valid records to point to your Zimbra mail server IP Address.

But for our Lab Environment, I have configured with the below configurations.

  • Minimum 3 GB RAM
  • CPU – 2.10 GHz (2 cores)
  • Storage – 20 GB
  • Operating System – CentOS 7.8
  • Hostname – mail.linuxgurus.local
  • IP Address –

So let’s start configuration of Zimbra Mail Server.

Step 1: Installation of server updates

It is good practice to install updates before making any changes on the server.

yum update -y

or you can use dnf on CentOS/RHEL 8.

dnf update -y

Now, you can reboot the server.

Step 2: Changing the hostname

So, change the hostname to a fully qualified domain name. For example, I am changing it as mail.linuxgurus.local.

hostnamectl set-hostname mail.linuxgurus.local

And run the below command, So it allows you to execute the hostnamectl command that completely replaces the current process.

exec bash

Step3: Adding the IP address and FQDN in /etc/hosts file

Add the below lines in /etc/hosts file. But change here the IP address as per your server and hostname as per your server hostname.

echo " mail.linuxgurus.local mail" >> /etc/hosts

Step 4: Verifying the A and MX record

Before configuring a private mail server, it is mandatory to have an Authoritative DNS Server. This DNS server is required to answer MX queries, so the emails should be redirected to our Zimbra mail server.

If you have a DNS Server then you can add MX and A record of mail.linuxgurus.local.

It is the time to verify the A and MX record. So use the below command.

dig mail.linuxgurus.local A
dig linuxgurus.local MX

Step 5: Disabling SELinux

it is not a good practice to disable the SELinux but here we are going to disable it. So use any editor to open the SElinux configuration file. I’m using vim editors.

vim /etc/selinux/config

And look for the line SELINUX=enforcing, change the value enforcing to disabled.


TO save the file, press Esc key and type :wq and then hit Enter key. So after making the changes, you need to reboot the server.


To check the SELinux status use the below command.


Step 6: Disabling unwanted service

CentOS/RHEL default installation comes with postfix daemon already installed and running. So, to disable and remove the postfix service run the following commands,

systemctl stop postfix
systemctl disable postfix
yum remove postfix

Note: Also, you can check for other services like LDAP, httpd, dovecot.

Step 7: Installing Zimbra dependencies

There are many services which are necessary to install before installing Zimbra Mail Server. So use the below command to install them.

yum install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat wget -y

Step 8: Downloading the latest version of Zimbra Mail Server

So as per now, we are going to download Zimbra Collaboration Open-source Edition 8.8.15 using the wget command.

Firstly, we are going to create a directory with the name of zimbra.

mkdir zimbra && cd zimbra

You can get the link for the latest version here.

Secondly, we are downloading the zimbra file using the below command.


Step 9: Installing Zimbra

The downloaded package is in tar format so extract it first. For instance, use the tar command to extract it.

tar zxpvf zcs-8.8.15_GA_3869.RHEL7_64.20190918004220.tgz

Now, go to extract directory so we can install it.

cd zcs-8.8.15_GA_3869.RHEL7_64.20190918004220

To start the installation use the below command


The installation will start after accepting the License agreement.

Do you agree with the terms of the software license agreement? [N] So to accept it type y and hit Enter key.

Use Zimbra's package repository [Y] So to accept it type y and hit Enter key.

After this it will ask to say yes for the package installation. So, you can find the list below..

Select the packages to install. So to accept it type y and for not accept type n and then hit Enter key.

zimbra mail server configuration
Selection of the software package to install

Then it will ask to confirm for system modification, So say y. Also, you can see the output in the below picture.

zimbra mail server configuration

After saying yes, it will start downloading the software package. So the installation depends on the Internet speed.

Once the installation will be complete, then you will see the picture below.

zimbra mail server configuration

Step 10: Setting the admin password

So the installation has been completed. But it is the time to set the admin password. To set the password,

Firstly type the number 6 and hit Enter key.

Secondly type number 4 and hit Enter key. It will ask to enter the password for admin, go ahead and enter the password. After typing the password hit Enter key. That’s it for setting the password.

Now press r to go back to the previous menu, and type a to apply the changes. Once all changes will apply the Zimbra services will start.

Step 11: Firewall configuration

In CentOS/RHEL 8, there is a service firewall that allows incoming and outgoing connections based on the configuration. So, here we have to enable the port 25,80,110,143,443,465,587,993,995,5222,5223,9071,7071 to recognize it to through the firewall. Use the below command to allow it.

firewall-cmd --permanent --add-port={25,80,110,143,443,465,587,993,995,5222,5223,9071,7071}/tcp

So, now reload the firewall service to reflect the changes.

firewall-cmd --reload

Step 12: Access Zimbra Admin Portal

After the installation completed, open a web browser and navigate to your domain name or IP address of the machine running Zimbra service, on port 7071 via HTTPS protocol,

If you are getting any certificate error then accept the certificate security error, and login with the credentials configured during the installation process. The default username for the Zimbra Admin web panel is admin.

So for me it is:


Or you can use IP address of the Zimbra Mail server as

The output will be as below in the picture.

Zimbra Admin Log-in Portal
Zimbra Admin Logged-in page

Step 13: Access Zimbra Web Mail Client

If you want to access the Web mail client so you can use the usrl as below.


Or you can only type the IP address. So it will look like as below

Web Mail login page
After user logged in

Step 14: Zimbra service management

So if you want to manage the Zimbra service, then there is a user with name zimbra. Also, you can switch using below command.

su - zimbra

Firstly, you can check the Zimbra serivces status using the below command.

zmcontrol status
Zimbra services status

Secondly, if you want restart the Zimbra service then you can use the below command.

zmcontrol restart

Thirdly, to stop the service.

zmcontrol stop

Lastly, to start the service

zmcontrol start

Also, you can type zmcontrol --help to get the details about zmcontrol command.

Step 15: Checking the log files

All the log files for Zimbra Mail Server are located in the directory /opt/zimbra/log.


In conclusion, you learned to Zimbra Mail Server Configuration. So I hope you understand, but if you have any questions, then you can ask in the comment section.

Also, you can read about Configuration of caching DNS server on CentOS/RHEL 8.


  1. Gabey Binky Neumann
    Gabey Binky Neumann

    Howdy! I simply want to offer you a big thumbs up for the great info you have got here on this post. I will be returning to your blog for more soon.

  2. Netta Jeddy Sarge
    Netta Jeddy Sarge

    This paragraph will assist the internet viewers for building up new website or even a blog from start to end.

  3. Lavena Klaus Janel
    Lavena Klaus Janel

    Way cool! Some extremely valid points! I appreciate you writing this write-up and also the rest of the site is extremely good.

  4. Susette Ferrel Hennie
    Susette Ferrel Hennie

    I like reading through a post that can make people think.

  5. Alice Jack Yacov
    Alice Jack Yacov

    Right away I am going away too do myy breakfast, afterward having my breakfast coming yet again to read further news.

  6. Julienne Jamison Castora
    Julienne Jamison Castora

    I think you have noted some very interesting details , thanks for the post.

  7. Hildy Don Altman
    Hildy Don Altman

    Simply wanna admit that this is extremely helpful, Thanks for taking your time to write this.

  8. Micky Hall Sosthena
    Micky Hall Sosthena

    I really like your writing style, superb info , thanks for putting up

  9. Naomi Reggis Harty
    Naomi Reggis Harty

    Thank you for your blog post. Really thank you! Awesome. Naomi Reggis Harty

  10. Meridith Brewer Edgardo
    Meridith Brewer Edgardo

    I have read so many posts about the blogger lovers except this paragraph is actually a pleasant post, keep it up. Meridith Brewer Edgardo

  11. Cherianne Finley Izak
    Cherianne Finley Izak

    I am so grateful for your blog article. Thanks Again. Awesome.

  12. Fayette Wiatt Waine
    Fayette Wiatt Waine

    Fastidious answer back in return of this difficulty with solid arguments and explaining all about that.

  13. Tony Dud Sweet
    Tony Dud Sweet

    You have noted very interesting details! ps decent web site.

  14. Camila Isidore Froehlich
    Camila Isidore Froehlich

    I really like and appreciate your post. Much thanks again. Much obliged.

  15. Kerrie Dory Harman
    Kerrie Dory Harman

    Appreciate it for sharing the information with us.

  16. Elmira Rubin Lehmann
    Elmira Rubin Lehmann

    Excellent, what a blog it is! This webpage provides helpful facts to us, keep it up.

  17. Martie Feliks Tenney
    Martie Feliks Tenney

    Good response in return of this difficulty with genuine arguments and explaining everything about that.

  18. Yettie Sly Garwood
    Yettie Sly Garwood

    Wow, this piece of writing is fastidious, my younger sister is analyzing these things, therefore I am going to convey her.

  19. Heloise Aleksandr Johan
    Heloise Aleksandr Johan

    Thanks for the blog article. Thanks Again. Want more.

  20. Isabel Louis Colene
    Isabel Louis Colene

    Good response in return of this issue with real arguments and telling everything about that.

  21. Francyne Bealle Tony
    Francyne Bealle Tony

    Pretty! This has been a really wonderful post. Many thanks for providing these details.

  22. Ginnifer Alley Zakaria
    Ginnifer Alley Zakaria

    Way cool! Some very valid points! I appreciate you writing this article and also the rest of the site is really good.

  23. Maria Bartholomeo Phionna
    Maria Bartholomeo Phionna

    You saved me so much time greatful I found your website.

  24. Fantastic………Thank you for sharing this information and also your website is easy and clean.

  25. Minetta Windham Caitlin
    Minetta Windham Caitlin

    Pretty! This has been an incredibly wonderful article. Thanks for providing this info.

  26. Kenna Cody Knowles
    Kenna Cody Knowles

    This piece of writing is actually a nice one it helps new the web viewers, who are wishing in favor of blogging.

  27. Lurlene Derril Gerita
    Lurlene Derril Gerita

    I am not real good with English but I find this really leisurely to read.

  28. Donnie Christoph Trista
    Donnie Christoph Trista

    Thanks for sharing, this is a fantastic blog article. Really thank you! Much obliged.

  29. Giorgia Gail Woodrow
    Giorgia Gail Woodrow

    Early advances had been shared by phrase of mouth.

  30. Elaine Jarib Milo
    Elaine Jarib Milo

    Ahaa, its nice dialogue concerning this article here at this blog, I have read all that, so now me also commenting here.

  31. Tana Scottie Stodder
    Tana Scottie Stodder

    Recent Blogroll Additions I saw this really great post today.

  32. Aaren Reggis Sela
    Aaren Reggis Sela

    If you want to use the photo it would also be good to check with the artist beforehand in case it is subject to copyright. Best wishes.

  33. If you want to use the photo it would also be good to check with the artist beforehand in case it is subject to copyright. Best wishes.

  34. very very helpful. I’m learning Linux and trying to setup mail server. It works, thanks

  35. nicely explained

  36. I setup a mail server and it works without any error. thnx

  37. Nirmal Rajput
    Nirmal Rajput

    This is accurate information for Zimbra mail installation. I followed the steps and I created my Zimbra mail server. thank you guys

Leave a Reply