How to Install and Configure Zimbra Open Source Mail Server on Ubuntu 20.04 LTS:
=======================================
Minimum System Requirements for Zimbra:
=======================================
1. Intel/AMD 64-bit CPU 1.5 GHz
2. For single server installations, a minimum of 8GB of RAM is required.
Minimum system Requirement URL:
docs.zimbra.com...
=====================
Initial Server Setup:
=====================
1. Set Date and Time:
timedatectl set-timezone Asia/Kolkata
2. Set Hostname:
hostnamectl set-hostname mail.linuxworldwithgk.tk
sudo -i
3. Modify /etc/hosts :
open /etc/hosts and make following entry in it.
127.0.0.1 localhost
172.31.43.8 mail.linuxworldwithgk.tk
172.31.45.120 -. Ip address of our mail server.
mail.linuxworldwithgk.com - FQDN of our Mail server
Please replace IP and FQDN
4. Update and upgrade Ubuntu server by following command
apt update && apt upgrade -y
5. Configuring DNS resolution:
You should have a domain name with A and Mx Record. If you have already DNS server then just need to Make entry of A and Mx record of of our Mail Server in DNS. In case if you do not have DNS server then you can use any DNS resolution server, including dnsmasq, systemd-resolved, and bind.
Here I will show you how to configure dnsmasq on ubuntu 20.04 LTS.
Steps to configure Dnsmasq:
1. Install Dnsmasq
apt install dnsmasq -y
2. Disable systemd-resolve
systemctl disable systemd-resolved
systemctl stop systemd-resolved
3. Recreate /etc/resolv.conf
rm -f /etc/resolv.conf
nano /etc/resolv.conf
5. Configure Dnsmasq:
nano /etc/dnsmasq.conf
Insert the following content at the bottom and don’t forget to replace the IP address and domain name
server=1.1.1.1
mx-host=linuxworldwithgk.tk,mail.linuxworldwithgk.tk,50
host-record=linuxworldwithgk.tk,172.31.43.8
host-record=mail.linuxworldwithgk.tk,172.31.43.8
Now save the file and restart dnsmasq by following command
systemctl restart dnsmasq.service
Zimbra 8.8.15 Open Source Installation on Ubuntu 20.4 LTS:
1. Download Binary Zimbra:
wget files.zimbra.c...
2. Next, you have to extract the content
tar xvzf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
3. Execute Zimbra Installation scrip
./install.sh
Thanks
Gautam Kumar
Email Id: gautam19nov1991@gmail.com
5 сен 2024