GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » DKIM Bind problems
DKIM Bind problems [message #132269] Wed, 12 October 2016 16:24 Go to next message
beachmat is currently offline  beachmat
Messages: 83
Registered: November 2010
I'm trying to create a DKIM public key on what I think is a Bind DNS server (Mac OS Server 5). I've followed the instructions in the manual about splitting the record, but Connect keeps saying the key is wrong. If I do nslookup -query=txt mail._domainkey.ourdomain.com, it looks ok apart from the quotes and spaces between the split parts. Can anyone suggest anything?

thanks
Re: DKIM Bind problems [message #132270 is a reply to message #132269] Wed, 12 October 2016 17:35 Go to previous messageGo to next message
beachmat is currently offline  beachmat
Messages: 83
Registered: November 2010
Ok, I seem to have got the key working on the main domain. The problem now is an alias domain which Connect is saying has an invalid key, even though it's the same as the main domain.

The other weird thing is that if I enter the key as multi-line, so

("v=DKIM1;"
"p=part1"
"part2"
"part3"
"part4")

then go back to the zone file later, it has removed the quotes and line breaks.

[Updated on: Wed, 12 October 2016 17:38]

Report message to a moderator

Re: DKIM Bind problems [message #132271 is a reply to message #132270] Wed, 12 October 2016 18:57 Go to previous messageGo to next message
beachmat is currently offline  beachmat
Messages: 83
Registered: November 2010
This is driving me nuts. nslookup gives the same key for both the main domain and alias, but Connect is still saying the alias key is wrong.
Re: DKIM Bind problems [message #132279 is a reply to message #132269] Wed, 12 October 2016 20:49 Go to previous messageGo to next message
j.a.duke is currently offline  j.a.duke
Messages: 239
Registered: October 2006
beachmat wrote on Wed, 12 October 2016 10:24
I'm trying to create a DKIM public key on what I think is a Bind DNS server (Mac OS Server 5). I've followed the instructions in the manual about splitting the record, but Connect keeps saying the key is wrong. If I do nslookup -query=txt mail._domainkey.ourdomain.com, it looks ok apart from the quotes and spaces between the split parts. Can anyone suggest anything?

thanks


I'm curious what you learn in resolving the problem-I've got the exact same issue, running an older version of OS X Server. nslookup for both internal & external name servers return the right stuff, but Connect is unhappy with whatever is returned to it.

Cheers,
Jon
Re: DKIM Bind problems [message #132285 is a reply to message #132279] Thu, 13 October 2016 11:46 Go to previous message
beachmat is currently offline  beachmat
Messages: 83
Registered: November 2010
It's been working now since last night so hopefully it will stay that way (previously Connect was happy with the key then changed its mind). After much fiddling around the syntax that seems to work is

( "v=DKIM1;""p=part1""part2""part3""part4" )

As I say, I'm pretty sure if you enter it on multiple lines, the Server app later removes the line breaks and quotes. Another factor that I think was confusing matters is that despite me clearing the DNS cache and restarting the DNS service after each zone file change, there seems to be a delay in Connect picking the change up. After my previous message I had more or less given up, but checked again maybe 10 minutes later and it was working.
Previous Topic: Koff Client 9.1.1 & Outlook 2013/6
Next Topic: Cannot turn off reminder in Outlook
Goto Forum:
  


Current Time: Tue May 30 02:42:29 CEST 2023

Total time taken to generate the page: 0.05507 seconds