Author Topic: relayhost mandrillapp  (Read 6362 times)

0 Members and 1 Guest are viewing this topic.

relayhost mandrillapp
« on: April 02, 2015, 11:17:29 PM »
Has anyone been able to re-configure postfix to always relay via Mandrillapp (relayhost = [])?   In my case, my domain email is being hosted with another server.

Is it possible? I tried to add the info. below but it is not working.

Thank you very much for any assistance on this.

Add the following lines to file /etc/postfix/
Code: [Select]
relayhost = []
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes

# Make sure Postfix listens to localhost only
inet_interfaces =

Set up your Mandrill credentials for Postfix:
Code: [Select]
echo "[]    MANDRILL_USERNAME:MANDRILL_API_KEY" > /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd