Report this

What is the reason for this report?

Configure Postfix to use SendGrid as outgoing emails

Posted on March 23, 2014

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 smtp.sendgrid.net[208.43.76.146]:587: Connection timed out)

Can anyone please help me?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Gabriel, <br> <br>In order to get to the bottom of this, we could use some more information. Could you post you Postfix config: /etc/postfix/main.cf <br> <br>Also any additional error messages in the log file (/var/log/mail.log) could be helpful.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.