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:[email protected]; ruf=mailto:[email protected]
Masukan Kode perintah
# hostnamectl set-hostname mail.yourdomain.com
# nano /etc/hosts
ubah Domain anda
15.334.212.212 mail.yourdomain.com
# yum update
# yum upgrade
# yum install gzip
# yum install wget
# wget https://github.com/iredmail/iRedMail/archive/refs/tags/1.6.1.tar.gz
# tar zxvf 1.6.1.tar.gz
# cd iRedMail-1.6.1
# 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 -c /etc/amavisd/amavisd.conf 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
#
yum install certbot
# certbot certonly --webroot --dry-run -w /var/www/html -d **MAIL.MYDOMAIN.COM**
Install Let's Encrypt SSL
# certbot certonly --webroot -w /var/www/html -d **MAIL.MYDOMAIN.COM**
# chmod 0644 /etc/letsencrypt/{live,archive}
# mv /etc/pki/tls/certs/iRedMail.crt{,.bak}
# mv /etc/pki/tls/private/iRedMail.key{,.bak}
# ln -s /etc/letsencrypt/live/**MAIL.MYDOMAIN.COM**/fullchain.pem /etc/pki/tls/certs/iRedMail.crt
# ln -s /etc/letsencrypt/live/**MAIL.MYDOMAIN.COM**/privkey.pem /etc/pki/tls/private/iRedMail.key
Restart VPS
systemctl restart dovecot
systemctl restart postfix
systemctl restart nginx
systemctl restart slapd
Thanks, Miniskus