A question about DKIM Email Signing
Question asked by Constantine Serafim - 3/8/2016 at 11:42 AM
I am testing SmarterMail 14.5 and I have a couple of question if someone can assist me as I am new on this.
1. I have setup DKIM signing (according to instructions) and tested it with by sending out an email from the admin user and it all looks fine in the received email header. But when I do a DNS Test from the SmarterMail DKIM setup screen I get a Fail message. How can this be corrected ?
2. If I setup the a user in Outlook with the SMTP pointing to the SmarterMail server and send an email, the email is sent ok, but looking at the received email header there is NO DKIM signing. So what I see is happening that the Server is not signing the email if it comes thought it from a user not in the SmarterMail users list. Is this normal? How can we get this to work so the server is signing emails regardless from which user they are sent?

3 Replies

Reply to Thread
Scarab Replied
1. If you have setup a DNS TXT record for DKIM (as shown on the MAIL SIGNING "CERTIFICATE" tab) for that domain then it should test fine. Depending on what you are using for DNS you may have to encapsulate your Key if it is 2048-bits or higher. You can encapsulate a DNS TXT record as follows for BIND DNS (used by most DNS providers):
Name Type Data
exa._domainKey.example.com TXT
"TqPTjx2X2e1CMemPqlAg5J1EiXAoVwx4QIDAQAB" )
Nest the entire Public Key in parentheses and then for each line nest it in double-quotes. Each line should not exceed 250 characters. If done correctly, and DNS has propagated, the DNS check should succeed.

(With Microsoft DNS you don't have to encapsulate the Public Key with parentheses and double-quotes, but you still have to break the key into multiple lines less than 250 characters each.)

2. It sounds like you generated the Public Key and Tested DNS but did you remember to click on the [SAVE] button on the MAIL SIGNING screen for that domain? Any changes you make are transitory and not committed until you click on [SAVE].
Constantine Serafim Replied
Thank you for your response!
If I encaptulate the key as suggested, I still can't get the DNS to test ok. If I then send an email from the admin user in SmarterMail, the received email header record shows:
X-SmarterMail-Spam: ISpamAssassin 0 [raw: 0], SPF_Pass, DK_None, DKIM_TempFail, RHSBL.
If I don't encaptulate the public key in DNS then email header record shows:
X-SmarterMail-Spam: ISpamAssassin 0 [raw: 0], SPF_Pass, DK_None, DKIM_Pass, RHSBL
Although this looks OK the DNS Test Fails.
The Key is generated and saved carefully. But, if I do the above test sending an email from a client (Outlook) that uses the SmarterMail SMTP then NO Signing at all of the email appear in the email header!
Any suggestions please?
Linda Collins Replied
DNS test just looks at the TXT DNS record and makes sure the txt record exists and matches the generated data. Any DNS misconfiguration will fail the test.

Reply to Thread