Postfix: Konfigurasi relayhost dengan Authentikasi

From SpeedyWiki

Jump to: navigation, search

Tambahkan di /etc/postfix/main.cf

vi /etc/postfix/main.cf 
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_always_send_ehlo = yes
relayhost = smtp-global.indo.net.id

Edit /etc/postfix/saslpasswd

vi /etc/postfix/saslpasswd 
smtp-global.indo.net.id  yourlogin:yourpassword


Hash /etc/postfix/saslpasswd

postmap /etc/postfix/saslpasswd 


Restart postfix

/etc/init.d/postfix restart 


[edit] Pranala Menarik

Personal tools