Skip to content

Instantly share code, notes, and snippets.

@twogood
Last active August 29, 2015 14:18
Show Gist options
  • Save twogood/150d1cc3373badceb673 to your computer and use it in GitHub Desktop.
Save twogood/150d1cc3373badceb673 to your computer and use it in GitHub Desktop.
Mandril SMTP relay in Postfix
relayhost = smtp.mandrillapp.com:submission
# http://www.zulius.com/how-to/set-up-postfix-with-a-remote-smtp-relay-host/
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_type = cyrus
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
# The server info must exactly match the value
# for "relayhost" in /etc/postfix/main.cf
smtp.mandrillapp.com:submission user@example.com:password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment