Question

How to correctly configure DNS and DKIM for Plesk

Posted September 8, 2021 65 views
CentOSEmailNetworkingDNSDigitalOcean Droplets

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.

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.

×
Submit an Answer
1 answer

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