Postfix: Mengatasi Blockir email oleh Google
Revision as of 17:10, 6 February 2019 by Onnowpurbo (talk | contribs) (Created page with "Untuk mengatasi blokir email oleh google * relay melalui mailgun.com * pastikan dapat saran entry TXT untuk domain yan kita kelola, misalnya domain.kita TXT...")
Untuk mengatasi blokir email oleh google
- relay melalui mailgun.com
- pastikan dapat saran entry TXT untuk domain yan kita kelola, misalnya
domain.kita TXT "v=spf1 include:mailgun.org ~all" krs._domainkey.domain.kita TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQ...."
- Edit DNS domain kita sesuai saran mailgun.com
- tunggu verifikasi
- dapatkan username:password utk relay email
smtp.mailgun.org postmaster@domain.kita:d0e58ec7e
Edit Postfix Server
Edit /etc/postfix/main.cf
relayhost smtp.mailgun.org
smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous smtp_sasl_mechanism_filter = AUTH LOGIN
vi /etc/postfix/sasl_passwd , isi dengan
smtp.mailgun.org your_mailgun_smtp_user@your_subdomain_for_mailgun:your_mailgun_smtp_password
chmod
sudo chmod 600 /etc/postfix/sasl_passwd sudo postmap /etc/postfix/sasl_passwd
Restart
systemctl restart postfix