Page 1 of 1

DKIM - We were not able to retrieve your public key

Posted: Sun May 01, 2016 7:03 am
by ramakrishnach21
Hi, I am having trouble sending the mails to hotmail due to DKIM.

I have tested http://www.mail-tester.com/ and this is what it says

Code: Select all

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=something.com;
	s=mail;
	h=Content-Type:To:From:Subject:Message-ID:Date:MIME-Version;
	bh=gGiwR6W/gY2eQgoBQ5MOqZKDsd84QP5MRPeQrb3AN0A=;
	b=dHBwhQOSc0xtWIWnw6RBisyiRvrPc7MZr4+/TddxobI7oLdxIEtIp+Lp0wrWQ52pxpO+jsHLmcNxdTS2/+4XDhY3XkG+h6Ja9NABgk+AGA3YdVKKhfSw8jHnlkiRmeLoPIbt9FIo6/sCCm9GL3Rkr4ZdZGDtcHSd3OWS491OuOc=;
	
We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain exmaple.com using the selector mail.
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
But I have the key added and Enabled DKIM support. Please check the below screenshot. What should I do now?

Image

Image

Re: DKIM - We were not able to retrieve your public key

Posted: Mon May 02, 2016 8:16 pm
by Falzo
make sure there are no 'holes' aka white spaces in the signature-line you filled into your dns-config. got this once after copying the signature out of the cli from multiple lines...

Re: DKIM - We were not able to retrieve your public key

Posted: Mon May 02, 2016 10:06 pm
by skurudo
And you can try disable DKIM support - save - than enable DKIM and save.

Re: DKIM - We were not able to retrieve your public key

Posted: Tue May 03, 2016 4:39 am
by ramakrishnach21
Falzo wrote:make sure there are no 'holes' aka white spaces in the signature-line you filled into your dns-config. got this once after copying the signature out of the cli from multiple lines...
The signature is auto generated and I manually didn't done anything. Should I still check for spaces. Will look anyway.

Re: DKIM - We were not able to retrieve your public key

Posted: Tue May 03, 2016 4:40 am
by ramakrishnach21
skurudo wrote:And you can try disable DKIM support - save - than enable DKIM and save.
I have tried this multiple times bg enabling and disabling, even removing dnz zone file and adding it again but no results.

Re: DKIM - We were not able to retrieve your public key

Posted: Fri May 06, 2016 5:45 pm
by zdi
Are you sure you're using your own DNS and not your TLD's?

Re: DKIM - We were not able to retrieve your public key

Posted: Sun May 08, 2016 6:52 pm
by ramakrishnach21
zdi wrote:Are you sure you're using your own DNS and not your TLD's?
Awesome!! Such simple answer and my stupid brain didn't catched that! I am not using my tld DNS but some others. From others to vesta. I have been doing in vesta but not to the source!

Thanks you so much for pointing this out or this simple mistakes will go unnoticed!

Re: DKIM - We were not able to retrieve your public key

Posted: Mon May 09, 2016 9:11 pm
by ramakrishnach21
Just one more Questions

How can I add DMARC Record now?

Re: DKIM - We were not able to retrieve your public key

Posted: Tue May 10, 2016 2:02 pm
by skurudo
ramakrishnach21 wrote:How can I add DMARC Record now?
Register on DMARC service like dmarcian -> https://dmarcian.com/

Add TXT record:

Code: Select all

_dmarc	TXT	v=DMARC1; p=none; rua=mailto:IT"[email protected]

Re: DKIM - We were not able to retrieve your public key

Posted: Tue Aug 29, 2017 5:03 pm
by jackdh
Sorry to grave dig this but i'm having the exact same issue as the original question by the OP.

I've got the same setup as before
Image

I've handling the DNS with this account, I've disabled it and re enabled it but for some reason he DKIM is not 'attaching' to the email?

Any idea what I can do next?

Thanks