I am considering migrating a client’s Wordpress installation from a shared hosting setup to a Digital Ocean Ubuntu/LAMP/Wordpress droplet. However I am concerned about the setup needed for handling email.
Apart from a couple of email addresses on the domain, which could be handled by a separate email provider like Zoho, Gmail/Google Apps, or Microsoft Outlook 365, the client also uses a Wordpress Newsletter plugin, which manages the subscriber list and also auto-populates the newsletter with the latest posts (due to this feature it needs to be integrated into wordpress).
From the information here it is not recommended to run your own full email server on a DO droplet.
On the other hand I could go for a send-only server, like Exim, as described here however I am worried about DO’s IP addresses being flagged as spam originators. It seems to be an issue users encounter.
What is the best solution to support this without running risks of over maintenance of mailserver components and also not having such emails flagged as spam?
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!
This question was answered by @ryanpq:
One option would be to set up your outside email service and then use a Wordpress plugin that supports sending via SMTP. This way you could simply configure the plugin to use your Zoho/Gmail/O365 service.
Alternately you could install postfix on your droplet which by default would allow the php mail() function to send without opening the service to outside connections. You would then just need to ensure you have set up appropriate SPF records for the droplet.
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.