I installed opendkim on server and have checked on mxtoolbox.com verifier that my dkim is done.
However on using opendkim-testkey
command i am getting following error:
$ opendkim-testkey -v
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: key loaded from /etc/opendkim/keys/jobsinhospitality.in/default.private
opendkim-testkey: checking key 'default._domainkey.jobsinhospitality.in'
opendkim-testkey: keys do not match
$ dig default._domainkey.jobsinhospitality.in TXT
Best Answer
Your key is now published as
mg._domainkey.jobsinhospitality.in
. However, it appears the text field is too long and may not be parsed correctly. The TXT data must be broken into text segments of no more than 255 characters. See Implement DKIM with Exim for a couple of format options for publishing if your DNS server isbind
.If your internal DNS configuration is different from the external DNS configuration ensure the public key is published to the external DNS. You will also need it configured on the internal DNS to test from the command line.