Report this

What is the reason for this report?

SMTP access across two droplets

Posted on November 6, 2017

Greeting

I have two droplets, one is for my production, which has the WHM cPanel installed, and another one is my testing droplet. For some developments, I need to be able to send email SMTP from testing droplet for testing purpose.

My question is can I allow my testing droplet to use my production droplet for SMTP access in order to send testing email?

My testing droplet uses Ubuntu 16.04 64x My Production droplet uses CentOS 7.2 64x

Please help

Good day



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!

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 there,

You can specify an outgoing server as the SMTP relay server in configurations like Postfix. You just need to specify the server in the configuration file of the respective software of your choice.

However, I’ll personally recommend using a third-party mail service provider like SendGrid to send your outgoing emails.

You can also check this article:

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.