Hello,
Jika anda ingin membuat Servers email, atau Web Mail, anda dapat menggunakan IREDMAIL Sebagai WebMail Servers. dan disini saya Menggunakan VPS Ubuntu dari MikyHost.com . dan silahkan ikuti panduan ini.
Silahkan Beli VPS dan Domain di Mikyhost.com
Tambahkan Record DNS
@ – Type A – IP
Mail – Type A – IP
@ – Type MX – mail.yourdomain.com
@ – Type TXT – v=spf1 a mx ip4:(IP) ~all
_dmarc – Type TXT – v=DMARC1; p=none; fo=1; rua=mailto:info@yourdomain.com; ruf=mailto:info@yourdomain.com
Masukan Kode perintah
# hostnamectl set-hostname mail.yourdomain.com
# nano /etc/hosts
ubah Domain anda
45.354.212.212 mail.yourdomain.com
# apt update -y
# apt upgrade -y
# apt install gzip
# wget https://github.com/iredmail/iRedMail/archive/1.4.2.tar.gz
# tar zxvf 1.4.2.tar.gz
# cd iRedMail-1.4.2# bash iRedMail.sh
2
3
4
5
6
7
8
9
10
login
https://mail.yourdomain.com/iredadmin
Silahkan masukan email dan Password yang ditampilkan saat Proses Instalisasi selesai.
untuk masuk ke WebMail silahkan klik :
https://mail.yourdomain.com/mail
Temukan DKIM dengan cara memasukan Kode Perintah
# amavisd-new showkeys
tambahkan Record dkim._domainkey - Type TXT - "v=DKIM1; p=DKIM"
Tetsing SMTP SMTPER
Chek DKIM, SPF,DMARC, RDNS ( PTR ) MAILDEV DKIM
Install Sertificat SSL Let’s Encrypt
# apt install certbot
# certbot certonly --webroot --dry-run -w /var/www/html -d mail.yourdomain.com
# certbot certonly --webroot -w /var/www/html -d mail.yourdomain.com# chmod 0644 /etc/letsencrypt/{live,archive}
# mv /etc/ssl/certs/iRedMail.crt{,.bak}
# mv /etc/ssl/private/iRedMail.key{,.bak}
# ln -s /etc/letsencrypt/live/mail.yourdomain.com/fullchain.pem /etc/ssl/certs/iRedMail.crt
# ln -s /etc/letsencrypt/live/mail.yourdomain.com/privkey.pem /etc/ssl/private/iRedMail.key
Restart VPS
systemctl restart dovecot
systemctl restart postfix
systemctl restart nginx
systemctl restart slapd
Thanks, Miniskus