Question

Set up emails for multiple domains Ubuntu

Posted May 12, 2016 7.2k views
EmailConfiguration Management

Hi, I read a few articles about emails setup, but I am very confused what can I actually need.

My requirements are:

  • phpmail is working
  • I can host many webs in my droplet and add mail addresses easily (like info@abc.com, info@dbc.com)
  • I have some admin API, where user can log in and send some emails from his email address
  • free options are best :) Now I am using only 512MB Droplet, which is great for my webs

I am not sure, if I need for that an email server, but it can be fine if something like that exists. I also read about Google apps for bussiness or setup with namecheap, but I don’t like it. I think the best option will be to have it on own server.

Could you please suggest something for me?

Thank you very much

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

Thank you for the answer, but I know that article pretty well. I am sorry, but I am looking for a solution, not for “it won’t be the best idea”.

To understand me - I don’t need mail server at all if it not fits for me, but I want:

  1. send emails throw mail() in php
  2. possible to have more emails with different addresses (like info@a.com, info@b.com)
  3. possible to log in somewhere to read them and respond to them

I don’t know how to achieve that yet.

This article does a good job of talking about the pitfalls and issues with hosting your own mail server, and also makes some recommendations at the bottom for the servers you could run if you decide that is still the best course for you: https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

by Mitchell Anicas
When setting up a web site or application under your own domain, it is likely that you will also want a mail server to handle the domain's incoming and outgoing email. While it is possible to run your own mail server, it is often not the best option for a variety of reasons. This guide will cover many of the reasons that you may not want to run your own mail server, and offer a few alternatives.
Submit an Answer