DKIM for dedicated server: No record found

SYSTEM INFORMATION
OS type and version RHEL: Almalinux 8.7
Virtualmin version 7.7

I am experiencing a specific email deliverability issue, but I don’t know the exact fix.

SPF is working well.
DMARC is fully functional.

When I test DKIM using mxtoolbox’s command:

“dkim:mydomain.com:email”

I receive the result:

“No DKIM Record found”

Sometimes it comes from ns1, sometimes from ns2

In the VirtualMin DKIM settings,

Signing of outgoing mail IS enabled.
Reject incoming email with invalid DKIM is set to NO
Force generation of new private key is set to NO
DKIM key size is 2048
The list of domains that are signed for are: primary.mydomain.com, mydomain.com, primary.mydomain.com, primary, and mail.mydomain.com
It then lists the key in the three formats.

The is a text record under the BIND DNS like this:

name: default._domainkey.mydomain.com.
TTL = 38400
message = v=DKIM1; k=rsa; t=s; p=[the key I have redacted here]

What am I missing?

Please let me know if you need any more information. I am happy to provide.

Kenneth

if the name in the record is default._domainkey.mydomain.com
the with mxtools use dkim:mydomain.com:default

default is the selector.

1 Like

Thank you, stefan1959.
That works like a charm.

I guess I misunderstood the mxtools lookup, and the virtualmin setting are okay. I appreciate the the lesson.

I guess this means that my mail server’s email deliverability passes.

All the best!

Kenneth

1 Like

well you need dmarc setup as well for the policy on what to do with emails that fails.
https://www.cloudflare.com/learning/email-security/dmarc-dkim-spf/

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