Simplest way to have email on VPS

Hi there I do suck at this, but I managed to create a droplet with Ubuntu 20.04LTS, LAMPS stack and is running a PHP Script I bought for a project I’m starting soon, so far so good. Reading here I understood that installing a mail server is a complex task and it makes a dent on the droplet resources, and obviously I have no idea how to manage that either. I need to send a confirmation email every time an new user is registered, and I’ve achieved that using Sendgrid and it works, but I have no (free) way to receive pop or imap email. I want to create, (I actually did it on 3 accounts info - register - support but I can only use one account at the time, is web based, so no pop or imap and no way to use the 3 accounts under a single login or dashboard. I foudn somewhere that if I have another website on shared hosting, I can somehow use that infrastructure to manage email from the domain hosted on the VPS, based on MX or TXT records,but not sure if I got that right or no.

Excuse my english if it’s not clear enough, maybe I’m asking for something that doesn’t exist as free, but it doesn’t hurt to ask.

Thank you!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hello, puntadigital

You can also double check this mini tutorial I’ve posted in this previosly asked question:

Let me know if you have any questions.

Hope that this helps! Regards, Alex

Hi @puntadigital,

You have two options basically. The first option is to use your droplet for sending out e-mails. It’s not that hard as you think but it required a lot of configuration in order to pass all checks of big E-mail providers like Yahoo, Google and so on. Anyway, you can follow this tutorial to configure an E-mail service on your droplet

Now, the second option would be to use an external E-mail provider. I would suggest this option rather than the first one. It’s easier, you configure the e-mail accounts on a third mail provider and use their MX records. The only thing you do is configure the SMTP stuff on your website by using the instructions given from this provider and that’s it. You don’t have to worry about E-mail score or how to keep E-mails.

Regards, KFSys