DKIM not working.. but it is installed and configured

SYSTEM INFORMATION
OS type and version Ubuntu 22.04
Webmin version cannot locate, but newest
Virtualmin version cannot locate, but newest
Related packages SUGGESTED

hi team,
I have most things up and running successfully. However when I try to send an email I get a rejection notice in the logs from Google saying DKIM and SPF failed… I do have dkim enabled and I confirmed that “opendkim is already the newest version (2.11.0~beta2-6).”

I also can confirm the domain I am sending email from is listed as a domain signed for.

Any advice on what more I could check?

Thank you so much for your help

Your records may need time to update. This is DNS based. Are you hosting your own DNS or is it at your registrars?

I am hosting my own DNS. I do not believe my registrar (NameCheap) allows me to manage DNS with them.

If it is DNS based that would make sense, if I remember correctly it can take up to 72 hours to update…
I’ll try again in a couple of days

Very good this thread. I was trying to enable DKIM to appear in the email of the hosted websites, when I send it and I see that the configuration is incorrect.
The weird thing is that when I use the tests https://easydmarc.com/tools/dkim-lookup or https://mxtoolbox.com/ they return the information - everything is OK.
I noticed that the text generation has several blocks in quotation marks, which creates a problem in the configuration.
This was because I tried to generate one in the DNS record with the newly created text.

I experienced that too, where each tool I used reported DKIM / SPF installed properly… but google still rejected me.

If testing reports ok it should work, I never had a issue. Does the bounce say it DKIM? Normally it would be a PTR or DMARC error.

I have had great success making Google happy with just a SPF entry in DNS, your mileage may vary :smile:

I did a detailed check on all the steps and corrected what was not correct. It is now working normally.

gmail should show you what’s working, just use Show Original

You should see three Passes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.