Question

DKIM signature not valid

Posted June 21, 2021 143 views
ApacheEmailDNSUbuntu 20.04

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.

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 @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.

  • Hi KFSys,
    Thanks for responding. I have checked the link that you shared it did not helped my case. In my case my email and domain servers are different i.e., annexis.net (main domain), mail.annexis.net(email server). Now I have configured my mail server to use the email like admin@annexis.net (AND NOT admin@mail.annexis.net).
    Now my first question is on which domain I need to setup my DKIM signature annexis.net? or mail.annexis.net?
    Secondly, When I try to enter the DKIM key in annexis.net it says the key is not valid.
    When I create the DKIM for mail.annexis.net, it has no impact on the testing website.

    I am testing my email on
    https://www.mail-tester.com/