I run dkimproxy
to sign outbound email and verify inbound email.
Since a while, I am experiencing the following permanent problem. The dkimproxy service is unable to query the DNS. Each and every message I receive gets the following header set (in my example I am example.org and sender example.biz)
Authentication-Results: mail.example.org; dkim=invalid (public key: DNS query timeout for api._domainkey.example.biz at /usr/lib/perl5/vendor_perl/5.18.1/Mail/DKIM/DNS.pm line 156, line 643.) header.i=@example.biz; dkim=invalid (public key: DNS query timeout for api._domainkey.example.biz at /usr/lib/perl5/vendor_perl/5.18.1/Mail/DKIM/DNS.pm line 156, line 643.) header.i=@example.biz
The error is permanent. If I log in via SSH and try to use nslookup
to get the TXT record from the remote DNS I can successfully read it.
How can I fix the above problem?
[Edit] my problem doesn't fall into this known question, because in that question the DKIM check seems to be done by SpamAssassin. I check DKIM with dkimproxy