https://www.howtoforge.com/tutorial/ubuntu-14-04-zimbra-server/
Change Password Root
$ sudo passwd
Install openssh-Server
# apt-get install openssh-server
Enable root SSH from Network
# nano /etc/ssh/sshd_config
To enable services SSH after configuration, restart ubuntu
# reboot
Connect to your server, get root privileges and install this package.
Install Prerequisite
apt-get install libgmp10 libperl5.18 unzip pax sysstat sqlite3 dnsmasq wget
apt-get install curl fetchmail libexpat1 libxml2 libtie-ixhash-perl
apt-get install libgmp10 libperl5.18 libaio1 pax sqlite3
Configure hostname and DNS Server
Step 1 – Edit hostname and hosts
nano /etc/hostname
nano /etc/hosts
add this line:
172.90.1.253 mail.fikry.local mail
Step 2 – Edit dnsmasq configuration
vim /etc/dnsmasq.conf
server=172.90.1.253
domain=fikry.local
mx-host=fikry.local, mail.fikry.local, 5
mx-host=mail.fikry.local, mail.fikry.local, 5
listen-address=127.0.0.1
Step 3 – Reboot
sudo reboot
Installing Zimbra
Download Zimbra and extract it
wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
tar -xvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
New Zimbra Package
wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz
tar zxvf zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz
./install.sh
here doesn`t need zimbra-dnscache, because in this tutorial use dnsmasq.
You need to wait, because this installation takes some time.
Testing Zimbra
to test your zimbra server is running, you can type a command :
su – zimbra
zmcontrol status
try to access zimbra from web browser. https://172.90.1.253/
The Administration Console
You can now open a browser and open the Zimbra Administrator web interface. The URL is https://mail.example.com:7071/zimbraAdmin or https://172.90.1.253:7071/zimbraAdmin. Log in with the username admin and the password you specified during the Zimbra installation:
Create New User
Configuration MTA or SMTP Relay to External
Create New Domains
Test Send and Receive Email
CMIIW, Thanks