Configure Postfix to use SendGrid as outgoing emails

March 23, 2014 2.4k views
I'm trying to configure Postfix on my droplet to use SendGrid for my outgoing emails, but it keeps giving me a timeout error to connect with SendGrid server. The error message is: localhost postfix/smtp[8705]: 0A2F71E2979: relay=none, delay=1478, delays=1418/0.02/60/0, dsn=4.4.1, status=deferred (connect to[]:587: Connection timed out) Can anyone please help me?
1 Answer
Hi Gabriel,

In order to get to the bottom of this, we could use some more information. Could you post you Postfix config: /etc/postfix/

Also any additional error messages in the log file (/var/log/mail.log) could be helpful.
Have another answer? Share your knowledge.