I am having issue with DKIM. I went to Email settings>> DomainKeys Identified Mail did all setting and enabled. Still yet it is failed. Please can someone assist
a clue might be in the error log. How did it fail? How do you know it failed?
Sorry, I was supposed to write DKIM. I just edited.
Here is the picture I got from GMAIL header

That suggest to me that it is Google/GMail failing to recognise your email server rather than a Virtualmin failure. I think that may have been covered on here somewhere [a search](https://forum.virtualmin.com/search?expanded=true). did Virtualmin complain when you set it up?
Yes you are right. It is from Gmail.
Please what can I do?
Also check DKIM records on MXTOOLBOX.COM
It says no DKIM records found.
how is your dns set up ? webmin or from a third party ?
I copied everything in Webmin into my domain registrar
you may need to remove parts of the dkim signature, in order for this to work rather than a cut/copy & paste as line breaks etc may appear in the signature.
you could just set the nameservers to you virtualmin setup at your domain registar which may help you out but you may need 2 nameservers for this to work correctly … I have a nameserver you could use as a secondary nameserver if you want
Ok. Please I don’t think I really understand what you mean by signature.
I also found out there was spaces between them. I updated hope it works.
= dkim record
OK. Let me show you what is there.
you used the correct format? VM uses the year its created.

Yeah, my key is 2023+month it was created
The picture is just same and I want to know if the first or the second one is the right format to create TXT record on my domain registrar side.
Who run the DNS, is it run by you or a provider? The format can be different.
I copied everything i saw in virtualmin DNS record into my domain registrar NAMECHEAP.
Remove the Brackets, start at "v=DKIM1; k=rsa; p=
then remove any quotes in the middle section

So DJ""V should be DJV. Check the screen shot of my DNS, no brackets and no “” in the middle section.




