Question

How to correctly configure DNS and DKIM for Plesk

We have recently set up a new droplet running ubuntu and plesk for site management. Our domain dns is managed by Digital Ocean. We’ve connected plesk with digital ocean to manage DNS, and have turned off local DNS management in plesk (not sure if this is correct). We’ve added the generated DKIM key to the DNS records on Digital Ocean. However, all emails sent out from the droplet are marked as spam at gmail. Can anyone advise on how to probably configure DO DNS, DKIM, and Plesk so emails are not recognized as spam?

Thanks in advance.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @jmorley,

In order to have a proper DKIM record, you’ll need to have one public and one private DKIM key. Usually, how it goes is, you have the private DKIM on your Droplet and the public DKIM record added to your DNS. When you send an e-mail to a another domain, the server the domain is on, checks both the public and the private DKIMs to see if they match.

Basically, in order for your DKIM to work, you’ll need to have the private part on your Droplet. Having said that, Plesk does come as far as I’m aware with a tool that does this.

I’ll urge you to check the Plesk forums on how you can do that. Despite what I said, I’ve found two articles which I think can help you out here:

https://docs.plesk.com/en-US/obsidian/customer-guide/mail-settings/enabling-dkim-email-signing.74718/

https://support.plesk.com/hc/en-us/articles/115002537053--How-to-enable-DKIM-in-Plesk-

Hope this helps!

Regards, KFSys