Zimbra adalah solusi email open source yang dikembangkan oleh Synacor. Ini memiliki versi lain, yaitu versi jaringan. Namun Zimbra Open source digunakan oleh banyak universitas dan perusahaan besar. Pada dasarnya, Zimbra adalah alternatif terbaik untuk Google Workspace berbayar, Office 365, Zoho mail, dan lain sebagainya. Jadi, jika Anda menginginkan server email sederhana Anda sendiri, tidak perlu mencari lagi.
Namun sistem Anda harus memenuhi konfigurasi minimum berikut sesuai dokumentasi Zimbra.
Pertama-tama buat 2 entri DNS di catatan domain sebagai berikut:
Jenis | Host | Nilai |
A | 1.2.3.4 | |
MX | @ | mail.hosteko.id 10 |
1 | root@vmi928964:~# sudo -i |
1 | root@vmi928964:~# apt update && apt upgrade -y |
1 2 | root@vmi928964:~# hostnamectl set-hostname mail.hosteko.id root@vmi928964:~# sudo -i |
1 | root@mail:~# nano /etc/hosts |
127.0.0.1 localhost
127.0.1.1 mail.hosteko.id mail
38.242.142.57 mail.hosteko.id mail
1 2 | root@mail:~# systemctl disable systemd-resolved root@mail:~# systemctl stop systemd-resolved |
1 2 | root@mail:~# ls -lh /etc/resolv.conf lrwxrwxrwx 1 root root 39 Jan 20 2021 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf |
1 | root@mail:~# rm -f /etc/resolv.conf |
1 | root@mail:~# nano /etc/resolv.conf |
1 | root@mail:~# apt install dnsmasq -y |
1 2 | root@mail:~# cp /etc/dnsmasq.conf /etc/dnsmasq.conf.bak root@mail:~# nano /etc/dnsmasq.conf |
server= 38.242.250.63
domain=hosteko.id
mx-host= hosteko.id
, mail.hosteko.id
, 5 mx-host= mail.hosteko.id
, mail.hosteko.id
, 5 listen-address=127.0.0.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | root@mail:~# dig -t A mail.hosteko.id ; <<>> DiG 9.16.1-Ubuntu <<>> -t A mail.hosteko.id ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15272 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;mail.hosteko.id. IN A ;; ANSWER SECTION: mail.hosteko.id. 1799 IN A 38.242.250.63 ;; Query time: 31 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Sun Jul 10 14:59:46 CEST 2022 ;; MSG SIZE rcvd: 61 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | root@mail:~# dig -t MX hosteko.id ; <<>> DiG 9.16.1-Ubuntu <<>> -t MX hosteko.id ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4658 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;hosteko.id. IN MX ;; ANSWER SECTION: hosteko.id. 1799 IN MX 10 mail.hosteko.id. ;; Query time: 35 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Sun Jul 10 14:59:05 CEST 2022 ;; MSG SIZE rcvd: 61 |
1 | root@mail:~# tar xvzf zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954.tgz |
1 2 | root@mail:~# cd zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954 root@mail:~/zcs-8.8.15_GA_4179.UBUNTU20_64.20211118033954# ./install.sh |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | Do you agree with the terms of the software license agreement? [N] y Use Zimbra's package repository [Y] y Warning: apt-key output should not be parsed (stdout is not a terminal) Importing Zimbra GPG key Configuring package repository Checking for installable packages Found zimbra-core (local) Found zimbra-ldap (local) Found zimbra-logger (local) Found zimbra-mta (local) Found zimbra-dnscache (local) Found zimbra-snmp (local) Found zimbra-store (local) Found zimbra-apache (local) Found zimbra-spell (local) Found zimbra-memcached (repo) Found zimbra-proxy (local) Found zimbra-drive (repo) Found zimbra-imapd (local) Found zimbra-patch (repo) Found zimbra-mta-patch (repo) Found zimbra-proxy-patch (repo) Select the packages to install Install zimbra-ldap [Y] y Install zimbra-logger [Y] y Install zimbra-mta [Y] y Install zimbra-dnscache [Y] n 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 Install zimbra-drive [Y] n Install zimbra-imapd (BETA - for evaluation only) [N] n Install zimbra-chat [Y] n Checking required space for zimbra-core Checking space for zimbra-store Checking required packages for zimbra-store zimbra-store package check complete. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | The system will be modified. Continue? [N] y Beginning Installation - see /tmp/install.log.UUJ9kVuj for details... zimbra-core-components will be downloaded and installed. zimbra-timezone-data will be installed. zimbra-common-mbox-conf-attrs will be installed. zimbra-common-core-jar will be installed. zimbra-common-mbox-conf-rights will be installed. zimbra-common-core-libs will be installed. zimbra-common-mbox-conf-msgs will be installed. zimbra-common-mbox-db will be installed. zimbra-common-mbox-docs will be installed. zimbra-common-mbox-native-lib will be installed. zimbra-common-mbox-conf will be installed. zimbra-core will be installed. zimbra-ldap-components will be downloaded and installed. zimbra-ldap will be installed. zimbra-logger will be installed. zimbra-mta-components will be downloaded and installed. zimbra-mta will be installed. zimbra-dnscache-components will be downloaded and installed. zimbra-dnscache will be installed. zimbra-snmp-components will be downloaded and installed. zimbra-snmp will be installed. zimbra-store-components will be downloaded and installed. zimbra-jetty-distribution will be downloaded and installed. zimbra-mbox-store-libs will be installed. zimbra-mbox-conf will be installed. zimbra-mbox-admin-console-war will be installed. zimbra-mbox-war will be installed. zimbra-mbox-webclient-war will be installed. zimbra-mbox-service will be installed. zimbra-store will be installed. zimbra-apache-components will be downloaded and installed. zimbra-apache will be installed. zimbra-spell-components will be downloaded and installed. zimbra-spell will be installed. zimbra-memcached will be downloaded and installed. zimbra-proxy-components will be downloaded and installed. zimbra-proxy will be installed. zimbra-patch will be downloaded and installed (later). zimbra-mta-patch will be downloaded and installed (later). zimbra-proxy-patch will be downloaded and installed (later). Downloading packages (11): zimbra-core-components zimbra-ldap-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-components zimbra-store-components zimbra-jetty-distribution zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components ...done Removing /opt/zimbra Removing zimbra crontab entry...done. Cleaning up zimbra init scripts...done. Cleaning up /etc/security/limits.conf...done. Finished removing Zimbra Collaboration Server. |
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-logger: Enabled
4) zimbra-mta: Enabled
5) zimbra-dnscache: Enabled
******* +Master DNS IP address(es): UNSET
+Enable DNS lookups over TCP: yes
+Enable DNS lookups over UDP: yes
+Only allow TCP to communicate with Master DNS: no
6) zimbra-snmp: Enabled
7) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.hosteko.id
******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.c73xqgvr@mail.hosteko.id
+Enable automated spam training: yes +Spam training user: spam.g1kkn_0g6l@mail.hosteko.id
+Non-spam(Ham) training user: ham.tzkyhmqk2a@mail.hosteko.id
+SMTP host: mail.hosteko.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://mail.hosteko.id
:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@mail.hosteko.id
+Version update source email: admin@mail.hosteko.id
+Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: s) Save config to file x) Expand menu q) Quit5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Address unconfigured (**) items (? - help) 5 DNS Cache configuration 1) Status: Enabled ** 2) Master DNS IP address(es): UNSET 3) Enable DNS lookups over TCP: yes 4) Enable DNS lookups over UDP: yes 5) Only allow TCP to communicate with Master DNS: no Select, or 'r' for previous menu [r] 2 IP Address(es) of Master DNS Server(s), space separated: 8.8.8.8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | 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@mail.hosteko.id ******* +Admin Password UNSET +Anti-virus quarantine user: virus-quarantine.3liys4nw@mail.hosteko.id +Enable automated spam training: yes +Spam training user: spam.cfzvesa2d5@mail.hosteko.id +Non-spam(Ham) training user: ham.ofijq5m5@mail.hosteko.id +SMTP host: mail.hosteko.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://mail.hosteko.id:7780/aspell.php +Enable version update checks: TRUE +Enable version update notifications: TRUE +Version update notification email: admin@mail.hosteko.id +Version update source email: admin@mail.hosteko.id +Install mailstore (service webapp): yes +Install UI (zimbra,zimbraAdmin webapps): yes 8) zimbra-spell: Enabled 9) zimbra-proxy: Enabled 10) Default Class of Service Configuration: s) Save config to file x) Expand menu q) Quit Address unconfigured (**) items (? - help) 7 Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mail.hosteko.id ** 4) Admin Password UNSET 5) Anti-virus quarantine user: virus-quarantine.3liys4nw@mail.hosteko.id 6) Enable automated spam training: yes 7) Spam training user: spam.cfzvesa2d5@mail.hosteko.id 8) Non-spam(Ham) training user: ham.ofijq5m5@mail.hosteko.id 9) SMTP host: mail.hosteko.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://mail.hosteko.id:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@mail.hosteko.id 22) Version update source email: admin@mail.hosteko.id 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes Select, or 'r' for previous menu [r] 4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | Password for admin@mail.hosteko.id (min 6 characters): [m3XShBkX] Store configuration 1) Status: Enabled 2) Create Admin User: yes 3) Admin user to create: admin@mail.hosteko.id 4) Admin Password set 5) Anti-virus quarantine user: virus-quarantine.3liys4nw@mail.hosteko.id 6) Enable automated spam training: yes 7) Spam training user: spam.cfzvesa2d5@mail.hosteko.id 8) Non-spam(Ham) training user: ham.ofijq5m5@mail.hosteko.id 9) SMTP host: mail.hosteko.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://mail.hosteko.id:7780/aspell.php 19) Enable version update checks: TRUE 20) Enable version update notifications: TRUE 21) Version update notification email: admin@mail.hosteko.id 22) Version update source email: admin@mail.hosteko.id 23) Install mailstore (service webapp): yes 24) Install UI (zimbra,zimbraAdmin webapps): yes |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | Select, or 'r' for previous menu [r] r 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-proxy: Enabled 10) Default Class of Service Configuration: 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] Save config in file: [/opt/zimbra/config.21298] Saving config in /opt/zimbra/config.21298...done. The system will be modified - continue? [No] yes |
https://mail.hosteko.id
:7071
dan masukkan nama pengguna admin dan password yang dipilih. Anda akan menerima peringatan SSL, terima dan lanjutkan.Jika Anda tidak dapat mengakses maka firewall mungkin sedang berjalan. Anda harus mengizinkan port untuk menerima lalu lintas.
1 2 3 4 5 6 7 8 9 | root@mail:~# service ufw status ● ufw.service - Uncomplicated firewall Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enabled) Active: active (exited) since Sun 2022-07-10 15:51:30 CEST; 2h 57min ago Docs: man:ufw(8) Main PID: 260 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 9479) Memory: 0B CGroup: /system.slice/ufw.service |
1 2 3 | root@mail:~# ufw allow 25,80,110,143,443,465,587,993,995,5222,5223,9071,7071/tcp Rules updated Rules updated (v6) |
berikut adalah cara mengatasi error ImunifyAV has not detected any compatible hosting panel as well…
CentOS 7 tidak akan mendapatkan pembaruan apa pun setelah Juni 2024. Selain itu, mirrorlist.centos.org tidak…
DNS di server cyberpanel tidak mau bekerja, di cek pada error log keluar pesan seperti…
saat upgrade cyberpanel, keluar pesan error seperti berikut: django.db.utils.OperationalError: (1045, "Access denied for user 'cyberpanel'@'localhost'…
Untuk melakukan restart cyberpanel lewat SSH silahkan jalankan perintah berikut: systemctl restart lscpd
Di Linux, chown digunakan untuk mengubah izin pemilik file dan direktori. Namun, saat menggunakan perintah…