Mail Server

Installation Zimbra 8.6 in ubuntu 12.04 Server.

How To Install Zimbra Mail server on ubuntu 18.04 LTS

Zimbra is a free & open-source mail server 

First we need to install Ubuntu server

After installation ubuntu server we need to update and upgrade ubuntu server

Sudo apt-get update

Sudo apt-get upgrade

hostnamectl set-hostname

or we can set via manually editing /etc/hosts files

vi /etc/hosts

Disable,Stop & Remove Systemd-resolve service

systemctl stop systemd-resolved

rm /etc/resolv.conf

Create a new resolv.conf file

sh -c ‘echo nameserver >> /etc/resolv.conf’

Install DNS server

apt-get install dnsmasq

Open the /etc/dnsmasq.conf file

vi /etc/dnsmasq.conf

Add the following lines



mx-host= host-name,, 5, 5


Restart the dnsmasq service

systemctl restart dnsmasq

now start to download Zimbra mail server




tar -xvf zcs-8.6.15_GA_3869.UBUNTU18_64.20190918004220.tgz

Change the directory

cd zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220

Install Zimbra commands

Click type Y (yes)

Need to install zimbra packages repository

Type Y (yes)

Type Y, select zimbra packages to install

Type Y to install Zimbra features

In main menu

Need to type 7 for change password

Type 4 & Press Enter

Type the password

  • Type a to apply the configurations.
  • Type y,for save config data to a file.
  • Type yes for system modification.
  • Press Enter.

Open the  port number on network firewall

Open ports as per your requirement

Now you can access Zimbra on web Interface

Admin portal

User web interface

For email server configuration

Click on Configure

Click on servers

And add the server name like

General information

Mail Transfer agent setting

Relay External mail delivery like I am using proxmom mail gateway

IMAP Setting

POP Setting

Zimbra 8.6 Installation in Ubuntu 12.04 Server

2 thoughts on “Mail Server

  • August 20, 2022 at 10:17 am

    I have been examinating out some of your stories and i can claim pretty clever stuff. I will make sure to bookmark your blog.


Leave a Reply

Your email address will not be published. Required fields are marked *