Membuat Mail Server Zimbra Network Edition 8.8.10 di CentOS 7.6
Membuat Mail Server Zimbra Network Edition 8.8.10 di CentOS 7.6 ini menggunakan zimbra yang berbayar. Apa perbedaan Zimbra Network Edition (NE) dengan Zimbra Open Source Edition (OSE) bisa dilihat pada berikut product edition comparison . Banyak kelebihan dan keuntungan bila menggunakan Zimbra Network Edition untuk lebih jelasnya mengenai Zimbra Network Edition bisa dilihat pada berikut .
Persiapan
Berikut yang harus disiapkan, diantaranya
- Server / VPS – System Requirements
- IP Public – Nat IP Publik ke IP Local untuk Port nya
- CentOS 7.6 – Download
- Domain
- Zimbra 8.8.10 – Download Untuk Zimbra NE ini harus memiliki file license nya terlebih dahulu, tanpa file license tidak akan bisa di install. Namun bila ingin mencoba versi trial, bisa mengajukkan license trial 60 hari disini isi form contact information yang disediakan, nanti akan dikirim lewat email license trialnya.
Langkah Pembuatan
1. Instalasi paket yang dibutuhkan
yum install nano wget perl libreoffice libreoffice-headless bind-utils telnet
2. Atur TimeZone Centos
timedatectl set-timezone Asia/Jakarta
3. Atur Hostname Centos
hostnamectl set-hostname zimbra.saad.web.id
4. Stop dan Disable Postfix
systemctl stop postfix systemctl disable postfix
5. Ubah Hosts Centos
nano /etc/hosts
Masukkan IP Address Centos (Cek Dengan Perintah: ifconfig) IP Contoh: 111.222.333.444
111.222.333.444 zimbra.saad.web.id zimbra
6. Ubah Konfigurasi resolv.conf
Pada tutorial kali ini menggunakan dns server lain untuk resolve hostname zimbra, karena fitur zimbra-dnscache akan diaktifkan. Apabila tidak memiliki dns server, bisa melakukkan instalasi dns server local menggunakan perintah berikut.
yum install bind -y
kemudian bisa mengikuti langkah 6 – 10 pada tutorial disini
ketika tahap instalasi berikut harus dipilih no atau n,
Install zimbra-dnscache [Y] n
karena bila zimbra-dnscache di install berbarengan dengan dns server local, maka akan bentrok pada port 53
Menggunakan dns server lain
Ubah file resolv.conf
nano /etc/resolv.conf
Tambahkan baris berikut (ip address dns server lain), di paling atas. (contoh menggunakan ip 139.162.62.27). Save dengan Ctrl+o
nameserver 139.162.62.27
Cek lookup
nslookup zimbra.saad.web.id
apabila muncul seperti dibawah berarti sudah ok.
[root@zimbra etc]# nslookup zimbra.saad.web.id Server: 139.162.62.27 Address: 139.162.62.27#53 Name: zimbra.saad.web.id Address: 111.222.333.444
Download dan Install Zimbra Mail Server
7. Download zimbra ne 8.8.10
cd /opt wget https://files.zimbra.com/downloads/8.8.10_GA/zcs-NETWORK-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz
8. Ekstrak Paket
tar -zxvf zcs-NETWORK-8.8.10_GA_3039.RHEL7_64.20180928094617.tgz cd zcs-NETWORK-8.8.10_GA_3039.RHEL7_64.20180928094617
9. Upload ZCSLicense.xml pada /root. Menggunakan aplikasi WinSCP
10. Install zimbra ne 8.8.10
./install.sh -l /root/ZCSLicense.xml
11. Pilih ‘y’, enter
Do you agree with the terms of the software license agreement? [N] y
12. Pilih ‘y’, enter
Use Zimbra's package repository [Y] y
13. Isi ‘y’ semua,
Select the packages to install 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-convertd [Y] y Install zimbra-memcached [Y] y Install zimbra-proxy [Y] y Install zimbra-archiving [N] y Install zimbra-drive [Y] y Install zimbra-imapd (BETA - for evaluation only) [N] y Install zimbra-network-modules-ng [Y] y Install zimbra-talk [Y] y
14. Abaikan apabila muncul warning berikut
###WARNING### Network Modules NG needs to bind on TCP ports 8735 and 8736 in order to operate, for inter-instance communication. Please verify no other service listens on these ports and that ports 8735 and 8736 are properly filtered from public access by your firewall. Please remember that the Backup NG module needs to be initialized in order to be functional. This is a one-time operation only that can be performed by clicking the 'Initialize' button within the Backup section of the Network NG Modules in the Administration Console or by running `zxsuite backup doSmartScan` as the zimbra user. Checking required space for zimbra-core Checking space for zimbra-store Checking required packages for zimbra-store FOUND: libreoffice-5.3.6.1-19 MISSING: libreoffice-headless ###WARNING### bug pada file instalasi cek disini https://bugzilla.zimbra.com/show_bug.cgi?id=107219
15. Ketik ‘y’, enter
The system will be modified. Continue? [N] y
16. Ketik ‘y’, enter. Masukkan domain untuk email
DNS ERROR resolving MX for zimbra.saad.web.id It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] y Create domain: [zimbra.saad.web.id] saad.web.id
17. Ketik ‘n’, enter
It is suggested that the MX record resolve to this host Re-Enter domain name? [Yes] n
18. Ketik ‘1’, enter
Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@saad.web.id ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.iwqjnv3rb@saad.web.id +Enable automated spam training: yes +Spam training user: spam.obmxtyoih0@saad.web.id +Non-spam(Ham) training user: ham.gtzw4kqwi@saad.web.id +SMTP host: zimbra.saad.web.id +Web server HTTP port: 8080 +Web server HTTPS port: 8443 +Web server mode: https +IMAP server port: 7143 +IMAP server SSL port: 7993 +POP server port: 7110 +POP server SSL port: 7995 +Use spell check server: yes +Spell server URL: http://zimbra.saad.web.id:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@saad.web.id +Version update source email: admin@saad.web.id +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-convertd: Enabled 10) zimbra-proxy: Enabled 11) zimbra-imapd: Enabled 12) Default Class of Service Configuration: 13) Enable default backup schedule: yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 1
19. Ketik ‘7’, enter. Kemudian ketik ’48’, enter. (timezone Asia/Bangkok)
Common configuration 1) Hostname: zimbra.saad.web.id 2) Ldap master host: zimbra.saad.web.id 3) Ldap port: 389 4) Ldap Admin password: set 5) Store ephemeral attributes outside Ldap: no 6) Secure interprocess communications: yes 7) TimeZone: UTC 8) IP Mode: ipv4 9) Default SSL digest: sha256 Select, or 'r' for previous menu [r] 7 Enter the number for the local timezone: [132] 48
20. Ketik ‘r’, enter
Common configuration 1) Hostname: zimbra.saad.web.id 2) Ldap master host: zimbra.saad.web.id 3) Ldap port: 389 4) Ldap Admin password: set 5) Store ephemeral attributes outside Ldap: no 6) Secure interprocess communications: yes 7) TimeZone: Asia/Bangkok 8) IP Mode: ipv4 9) Default SSL digest: sha256 Select, or 'r' for previous menu [r] r
21. Ketik ‘7’, enter
7) zimbra-store: Enabled +Create Admin User: yes +Admin user to create: admin@saad.web.id ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.iwqjnv3rb@saad.web.id +Enable automated spam training: yes +Spam training user: spam.obmxtyoih0@saad.web.id +Non-spam(Ham) training user: ham.gtzw4kqwi@saad.web.id +SMTP host: zimbra.saad.web.id +Web server HTTP port: 8080 +Web server HTTPS port: 8443 +Web server mode: https +IMAP server port: 7143 +IMAP server SSL port: 7993 +POP server port: 7110 +POP server SSL port: 7995 +Use spell check server: yes +Spell server URL: http://zimbra.saad.web.id:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@saad.web.id +Version update source email: admin@saad.web.id +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-convertd: Enabled 10) zimbra-proxy: Enabled 11) zimbra-imapd: Enabled 12) Default Class of Service Configuration: 13) Enable default backup schedule: yes s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 7
22. Ketik ‘4’, Enter
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@saad.web.id ** 4) Admin Password UNSET 5) Anti-virus quarantine user: virus-quarantine.iwqjnv3rb@saad.web.id 6) Enable automated spam training: yes 7) Spam training user: spam.obmxtyoih0@saad.web.id 8) Non-spam(Ham) training user: ham.gtzw4kqwi@saad.web.id 9) SMTP host: zimbra.saad.web.id 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://zimbra.saad.web.id:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@saad.web.id 22) Version update source email: admin@saad.web.id 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Select, or 'r' for previous menu [r] 4
23. Masukkan password admin zimbra, kemudian enter
Password for admin@saad.web.id (min 6 characters): [V1dy51NAMO] latihanzimbra
24. Ketik ‘r’, Enter
Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@saad.web.id 4) Admin Password set 5) Anti-virus quarantine user: virus-quarantine.iwqjnv3rb@saad.web.id 6) Enable automated spam training: yes 7) Spam training user: spam.obmxtyoih0@saad.web.id 8) Non-spam(Ham) training user: ham.gtzw4kqwi@saad.web.id 9) SMTP host: zimbra.saad.web.id 10) Web server HTTP port: 8080 11) Web server HTTPS port: 8443 12) Web server mode: https 13) IMAP server port: 7143 14) IMAP server SSL port: 7993 15) POP server port: 7110 16) POP server SSL port: 7995 17) Use spell check server: yes 18) Spell server URL: http://zimbra.saad.web.id:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@saad.web.id 22) Version update source email: admin@saad.web.id 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Select, or 'r' for previous menu [r] r
25. Ketik ‘a’, enter
Main menu 1) Common Configuration: 2) zimbra-ldap: Enabled 3) zimbra-logger: Enabled 4) zimbra-mta: Enabled 5) zimbra-dnscache: Enabled 6) zimbra-snmp: Enabled 7) zimbra-store: Enabled 8) zimbra-spell: Enabled 9) zimbra-convertd: Enabled 10) zimbra-proxy: Enabled 11) zimbra-imapd: Enabled 12) Default Class of Service Configuration: 13) Enable default backup schedule: yes s) Save config to file x) Expand menu q) Quit *** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a Save configuration data to a file? [Yes] y
26. Tekan Enter
Save config in file: [/opt/zimbra/config.20930] Saving config in /opt/zimbra/config.20930...done.
27. Ketik ‘y’, Enter
The system will be modified - continue? [No] y
28. Tekan enter
Moving /tmp/zmsetup.20181205-170348.log to /opt/zimbra/log Configuration complete - press return to exit
29. Restart Zimbra, untuk memastikan semua berjalan baik
su - zimbra zmcontrol restart
Selamat Mencoba
“Bila membutuhkan layanan implementasi , VPS, Maintenance Bulanan, Training dan SSL dapat menghubungi kami melalui WhatsApp atau pada contact”