1

Topic: DKIM Issue

root@mail:~# dig -t txt dkim._domainkey.test.com

; <<>> DiG 9.11.3-1ubuntu1.13-Ubuntu <<>> -t txt dkim._domainkey.test.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 32993
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;dkim._domainkey.test.com. IN   TXT

;; Query time: 3 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Fri Sep 25 13:29:47 UTC 2020
;; MSG SIZE  rcvd: 61

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: DKIM Issue

And Finally, I got DKIM Pass on my server, but when I test it on mail-tester.com it is showing below error.

Key length: 1024bits

Your DKIM signature is not valid

3

Re: DKIM Issue

targetviewers1 wrote:

And Finally, I got DKIM Pass on my server, but when I test it on mail-tester.com it is showing below error.

Key length: 1024bits

Your DKIM signature is not valid

Your test case is not clear to me, maybe you can specify it in more detail. You mention the domain test.com, which I assume this is not your domain. Without the correct public DNS entries in the sending domain you will not able to sign messages in a way that can be validated by other mail servers.

4

Re: DKIM Issue

targetviewers1 wrote:

And Finally, I got DKIM Pass on my server, but when I test it on mail-tester.com it is showing below error.

Try to send a testing email to Gmail and check the mail headers in Gmail.