DKIM signature is not valid

sujit

New member
Joined
Aug 22, 2016
Messages
1
We are trying to make out mails spam proof.We tested it on "https://www.mail-tester.com" and it giving following error about DKIM setup:

Your DKIM signature is not valid
DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message.
The DKIM signature of your message is:

v=1;
a=rsa-sha256;
q=dns/txt;
c=relaxed/relaxed;
d=diy.smartallies.nl;
s=x;
h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Reply-To:From:Subject:To;
bh=bTby6dJYa6a4I+ydwAKl7MXH97tdmWw6CZvuMMpi+Ag=;
b=P8heJZerivFp1vYJEfmlVsHv8nTJoG67zqTkudDBTBDexrVuWPLQr4ADGZJjbM0kwFFGRfBByjVATt0BJ/iHFQKJ6hT6EA/WQ+Ld9CyEYOx8NZnIYKNKK0/qpP717QqB7nsDSoxkAaEv31MLbCS9m+VRHtttdwuVt/VkIJwuma5FF0lKP/Wn6/6IzRdgGp42RWtfu0kDpHv3sPyPpTTPYmvHHi7CYs2dsZlOw1rueMpUYN9gnKNVRAF+5hNOOwauC3LXxom4vhIVce266IGU3X3FFcztkLbTm8WgD5eldTQo9Tl/fFJnQri0V7ol7RGqGYZ2xb5fLd8FOaHXp0dwdg==;

We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain diy.smartallies.nl using the selector x.
If you recently modified your DNS, please be patient and test again your Newsletter in 12 hours, it may take some time for the DNS to be propagated

Here is the link for the report https://www.mail-tester.com/web-EOW1Jo. Previously it was just "-1" (https://www.mail-tester.com/web-JGdkDw) where it displayed "Your message is not signed with DKIM" message. So i thought DKIM was not setup and setup DKIM following this link https://help.directadmin.com/item.php?id=569.

No it's showing "-3" from "-1".I have following TXT entries in my DNS administration:

_domainkey TXT "o=~"

diy.smartallies.nl. TXT v=spf1 a:smartallies.nl a:diy.smartallies.nl mx ip4:149.210.144.179 ~all

x._domainkey TXT "v=DKIM1; k=rsa;
p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtXthsfwE3pxbTYi9jAK2/IqU99ATyz4S+jY9muSHFii1J07fwEz8QHYO+UsZGb0+lb6LQksdmuZHHQuaszJX9EE
ScJRUvNm1JrvzbPqcCJJqLS2tRbrpEnxHc/tr7E36Wt99Ya8tSs4grhigqzLrU8lxz3OqlPym5obomiJ72cIlZRaBvPXeL86HZLBuBfGKp2BqdsWo/WKvY1GxPJ2G55R+ibRYeat0uHETw5cNHew7n
a2MWNupy0QkI3itSOauUgyoS66eFXPWPK2IYPFDUAJXyhbsNcfeENsYHTDSla4/aEdiSHDQ1gK8d4iNIS27WllMllwfqjCjhb1n9RnagwIDAQAB"


How do i make my DKIM valid?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
You have made a domainkey for your domain. To have a domeinkey for your subdomain you have to do it like this or add one like this:
x._domainkey.diy.smartallies.nl.
don't forget the trailing dot at the end. This is what I read on the internet, you could try.
 
Top