Install Zimbra Mail Server on CentOS 7

Persyaratan Sistem Zimbra Mail Server

  • Minimal CentOS 7
  • 8 GB RAM
  • At least 5 GB Free Space on /opt
  • FQDN (Fully Qualified Domain Name), in my case it is “mail.vkttech.com”
  • A & MX record for your Server

Initial Domain Setup

First of all create 2 DNS entries in the domain records as follows

Type Host Value
A mail 1.2.3.4
MX @ mail.yourdomain.com 10

Vps Server

MikyHost.com

Update
# yum update -y ; reboot
set hostname
# hostnamectl set-hostname "mail.yoursite.com" 
# exec bash
Install Nano
# yum install nano -y
Edit dan tambahkan host mail
# nano /etc/hosts
Jalankan perintah di bawah ini untuk menginstal dependensi Zimbra / ZCS
# yum install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6 wget -y
Unduh versi terbaru Zimbra (ZCS 8.8.10) menggunakan perintah wget
# mkdir zimbra && cd zimbra
Gunakan perintah wget di bawah ini untuk mengunduh versi terbaru ZCS 8.8.10 dari terminal
# wget https://files.zimbra.com/downloads/8.8.10_GA/zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz --no-check-certificate
Install Zimbra / ZCS 8.8.10
# tar zxpvf zcs-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz
Buka folder yang diekstrak dan jalankan skrip instal
# cd zcs-8.8.10_GA_3039.RHEL7_64.20180928094617 
# ./install.sh

Do you agree with the terms of the software license agreement? [N] y

Install zimbra-ldap [Y] y
Install zimbra-ldap [Y] y  
Install zimbra-logger [Y] y  
Install zimbra-mta [Y] y  
Install zimbra-dnscache [Y] y  
Install zimbra-snmp [Y] y  
Install zimbra-store [Y] y  
Install zimbra-apache [Y] y  
Install zimbra-spell [Y] y  
Install zimbra-memcached [Y] y  
Install zimbra-proxy [Y] y

Sekarang tekan “r” untuk pergi ke menu sebelumnya dan kemudian tekan “a” untuk menerapkan perubahan.

Installing and Enabling FirewallD
# sudo yum install firewalld 
# sudo systemctl start firewalld 
# sudo systemctl enable firewalld
Tambahkan Port
# firewall-cmd --permanent --add-port={25,80,110,143,443,465,587,993,995,5222,5223,9071,7071}/tcp 
# firewall-cmd --reload
Untuk mengatur ulang kata sandi administrator:
# su - zimbra 
# zmprov sp <admin email address> <new password>

Untuk mengakses Portal Admin Zimbra, ketik URL di bawah ini di Web Browser
https://mail.yoursite.com:7071/
Untuk mengakses Zimbra Mail Web Client, ketik URL berikut di browser
https://mail.yoursite.com

Pemecahan Masalah Layanan dan Log Zimbra
# su - zimbra 
$ zmcontrol status
Buat kunci DKIM di Zimbra
# su - zimbra 
# /opt/zimbra/libexec/zmdkimkeyutil -a -d yoursite.com

seting SPF

v=spf1 a mx ip4:XXX.XXX.XXX.XXX ~all 
Setting Dmarc 
_dmarc
v=DMARC1; p=none; fo=1; rua=mailto:dmarc@yourdomain.com; ruf=mailto:dmarc@yourdomain.com 

thanks,

 

Leave a Reply

Your email address will not be published.