Question

How to build WordPress website + SMTP server + third party mail application on the same server?

Hello Now, I’m learning how to build a fully secure server and I succeeded to build my own server and deploy my WordPress now I need to build my own SMTP server and add a third party mail application to the same server, without using Control Panel

Subscribe
Share

I’m using Nginx webserver


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.

Hello,

In addition to what KFSys mentioned already, what I could also suggest is looking into a managed SMTP service like SendGrid. That way you will still be able to send out emails from your server by specifying the SendGrid SMTP server, but you would not have to manage the SMTP service yourself. They also provide a free plan which is sufficient in most cases.

Hope that this helps!

Best,

Bobby

Hi @HappyTech,

So, you’ve said you already have a WordPress website installed and you are using Nginx, that’s cool, good job!

Now, regarding SMTP, I’ll urge you to check the following article:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-18-04

As a whole, it’s easy to create an SMTP send-only service with Postfix. Having said that, I’ll recommend you to use the third-party mail application for SMTP as well as for receiving mails.

Additionally, third-party mail applications are not hosted on your Droplet. That’s the idea for these mail apps, to not be used on your Droplet so that they are not influenced by your setup.

This comment has been deleted

This comment has been deleted