This question already has an answer here:

I am installing opendkim in my POSTFIX mail server on a ec2 with an ubuntu 16.04 xenial by fallowing This guide in linode.

I've set a txt DNS record named 2019._domainkey.example.com with the key that I've created but when I execute opendkim-testkey -vv it throws me this output:

ubuntu@ip-xxx-x-x-xxx:~$ sudo opendkim-testkey -v -v
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: record 0 for 'example' retrieved
opendkim-testkey: checking key 'nameOfTheKey'
opendkim-testkey: key nameOfTheKey: multiple DNS replies for '201907._domainkey.example.com'
opendkim-testkey: 1 key checked; 0 pass, 1 fail

The TXT DNS Record limits the quantity of characters that I can use and split it in 3 pieces. This is the default behavior of Route 53 but it is a problem because it says, in the last line of opendkim-testkey output, that the key is failing.

marked as duplicate by Community Jul 21 at 14:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.