Question

Can I create my mail server on the same droplet that i am hosting my website on?

Posted October 29, 2019 7.1k views
Email

I have my website on -let’s say on- droplet X
I want to create an email account say"admin@mydomain.com“, how i can create it?

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.

×
6 answers

Hi @amiralbtal,

Since you haven’t mentioned what OS you are running on your droplet, I’ll take a guess and say it’s Ubuntu 18.04 since it’s the most used one.

I’ll recommend using Postfix to send out mails and configure mail accounts. Digital Ocean have a very good article on how to configure your mail server on a droplet - How To Install And Configure Postfix On Ubuntu

Regards,
KDSys

by Justin Ellingwood
by Hanif Jetha
Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to route and deliver email on a Linux system. It is estimated that around 25% of public mail servers on the internet run Postfix. In this guide, we'll teach you how to get up and running quickly using the Postfix mail server.

Hey guys!

Sorry for bothering, but the answer is not clear to me.
Is it possible to create a mail server on the same droplet that i am hosting my website on?
Im running Magento2 on Ubuntu 16.

Thank you in advance.

thanks for you fast reply!
i will give a try

Regards

“For the purposes of this tutorial, we will assume that you are configuring a host that has the FQDN of mail.example.com.”

what’s suppose to mean?

“fully qualified domain name”. You are supposed to replace “mail.example.com” with your own domain name.

this is not the proper answer. is it yes or is it a no?

Submit an Answer