By GSYWebsites
Hi everyone,
I’m trying to set up the mail server for my CentOS web panel installation and so far I’ve got everything working. I can send and receive emails but my sent email is always sent to the spam folder. I’ve done some research and I’ve come to the conclusion that I need to set up SPF and DKIM for my domain. How exactly would I do this with Digital Ocean (I use them to manage my domain)?
Any helps appreciated.
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 friend!
SPF can definitely help here. DKIM has a marginal impact, and I personally feel that impact isn’t worth it’s complexity, but it’s certainly something you can do. To set up your SPF record, try using this guide: https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability
For DKIM, I found this guide for CentOS Web Panel: https://blog.bullten.com/centos-web-panel/enabling-spf-and-dkim-keys-in-centos-web-panel-cwp/
You’re going to need to take the DNS record created by that software and add it to our DNS panel if you use us for DNS. There may be no easy way to explain that process.
I also recommend using this to help give you reasons why your email might land in spam folders: https://www.mail-tester.com/
Hope that helps a bit :)
Kind Regards, Jarland
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.