Help configuring domain email accounts on Ubuntu 14.04

  • Posted October 10, 2014

I’m having the hardest time figuring this out. I’m trying to set up my Ubuntu server to accept emails under my registered domain name, we’ll call it

I’ve tried multiple tutorials on setting up Postfix, including one here, but honestly I’m just not sure what I need anymore. I plan on hosting multiple domains on my single droplet, so please help guide me. So far, I’ve been able to use mail() in PHP to send emails, but whenever I receive them from my personal gmail account I’m getting a 554 5.7.1 error including some others.

What I need:

  • Ability to receive emails with multiple email addresses (,,
  • Send emails using an email client (
  • Send triggered emails to mass users with a service (Sendgrid)

Unfortunately, I think my Postfix / Mail files on the server are out of control from my trial and error, so nothing seems to be working anymore. Is this something I can fix by just doing a Postfix uninstall? Should I uninstall anything else? Delete folders to get a fresh start?


I wanted to add I’m planning on having triggered sends for my sites, like Registration authentication, password reset, and interest matches / event sends. Does a service like Mailchimp / Sendgrid sound like an overall better solution for me in that regard?

Thanks for any help in advance.

Submit an 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.

For transitional emails (registration, password reset, etc.), you could use something like Mandrill which is part of MailChimp. For marketing emails (newsletter, etc.) you would use MailChimp.

For receiving emails, you could set up a mail server on your droplet or you could use something like Google Apps which is my preference.