Question

Do I need to install postfix if I'm going to use Mandrill or SendGrid to send mail?

Posted June 10, 2013 4.1k views
I'm setting up a server with Ruby to deploy a Rails application. I'm planning on using Mandrill or SendGrid (i.e. providers of transactional email services) to send notification emails and that type of thing. On my local machine, I can connect to their services via environment variables that connect to their api. In that type of situation, it's unclear to me whether I need to install something like Postfix. https://www.digitalocean.com/community/articles/how-to-install-and-setup-postfix-on-ubuntu-12-04

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.

×
2 answers
You do not need postfix or any other MTA to send mail using Mandrill or SendGrid.
SendGrid says: "A local mail server, such as Postfix, is the most robust way to send email through SendGrid when configured to queue all email from your application and then relay the messages through SendGrid as a smart host. " See http://sendgrid.com/docs/Integrate/index.html
Submit an Answer