1. Setup domain
- Type: A Host: mail Value: public IP
- Type: MX Host: @ Value: mail.youdomain.com
2. Update & Upgrade your Ubuntu Server
- sudo -i
- apt update && apt upgrade -y
3. Set Hostname & host
- hostnamectl set-hostname mail.yourdomain.com
- sudo -i
- nano /etc/hosts
PublicIP mail.yourdomain.com
4. Install DNSmasq & disable systemd-resolve
- systemctl disable systemd-resolved
- systemctl stop systemd-resolved
- ls -lh /etc/resolv.conf
- rm -f /etc/resolv.conf
- nano /etc/resolv.conf
nameserver 8.8.8.8
- apt install dnsmasq -y
5. Config DNSmasq
- cp /etc/dnsmasq.conf /etc/dnsmasq.conf.bak
- nano /etc/dnsmasq.conf
server= PublicIP
domain= yourdomain.com
mx-host= yourdomain.com, mail.yourdomain.com, 5
mx-host= mail.yourdomain.com, mail.yourdomain.com, 5
listen-address=127.0.0.1
- dig -t A mail.yourdomain.com
- dig -t MX yourdomain.com
6. Install Zimbra
- wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
- tar xvzf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz
- cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954
- ./install.sh (choice Y, waiting full done)
7. Set admin password
- choice zimbra-store
- choice Admin Password (set password)
- r (back to menu)
- a (to apply)
- yes
8. Done, access with browser
- https://mail.yourdomain.com:7071 (Zimbra Admin, for create account etc)
- https://mail.yourdomain.com (Web mail GUI)
0 komentar:
Posting Komentar