Difference between revisions of "Postfix: Mengatasi Blockir email oleh Google"
Jump to navigation
Jump to search
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...") |
Onnowpurbo (talk | contribs) |
||
Line 16: | Line 16: | ||
==Edit Postfix Server== | ==Edit Postfix Server== | ||
− | Edit /etc/postfix/main.cf | + | Edit /etc/postfix/main.cf , pastikan ada |
relayhost smtp.mailgun.org | relayhost smtp.mailgun.org | ||
− | |||
smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd |
Latest revision as of 17:39, 6 February 2019
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 , pastikan ada
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