Question

DKIM signature not valid

I am using one server for my main domain annexis.net and another server for as my email server. The email domain is mail.annexis.net. Mail server is working fine but it says that it does not have a valid DKIM signature. My email sending address is admin@annexis.net I have tried to generate DKIM keys and update my DNS records for annexis.net main domain) but all in vain.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello there,

We do have an article on How To use an SPF Record to Prevent Spoofing & Improve E-mail Reliability

https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability

A DKIM record is another measure that can prevent spoofing and improve mail reliability. You can use any online tool to generate the key for you.

Also if you use any control panel for your server, like cPanel it will have the built-in functionality to create the DKIM record on your behalf

Once created you can use a DKIM checker tool like the one provided from mxtoolbox and check whether the generated key is valid.

https://mxtoolbox.com/dkim.aspx

Hope that this helps! Regards, Alex

Hi @usmanabid283,

There is a very good and useful answer to a similar question in the community here:

https://www.digitalocean.com/community/questions/setting-up-dkim-spf-on-my-domain

It provides good examples on how you can deal with DKIM records in DigitalOcean.

Additionally, upon checking in Google, I found a couple of tutorials outside of DigitalOcean that outline the process needed as well - Add DKIM to DigitalOcean

Please give them a read and let me know if they were helpful.