Report this

What is the reason for this report?

Help configuring domain email accounts on Ubuntu 14.04

Posted on 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 DOMAIN.com.

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 (name@DOMAIN.com, name2@DOMAIN.com, other@OTHERDOMAIN.com)
  • Send emails using an email client (Mail.app)
  • 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?



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.

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.

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.