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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.