Question

Set up emails for multiple domains Ubuntu

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

Subscribe
Share

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.

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