HomePage » Mail » Postfix » PostfixSmarthost


Postfix smarthost


1. Set up a password maps file (/etc/postfix/sasl_passwd) as follows:
mail.domain.tld:587    username:password


2. chown root:root /etc/postfix/sasl_passwd; chmod 600 /etc/postfix/sasl_passwd
3. postmap /etc/postfix/sasl_passwd
4. In /etc/postfix/main.cf:

relayhost = mail.domain.tld:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =


5. postfix reload

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki