• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue opendkim test keeps saying "1 fail" when checking key pair, please help!

zoldos

Basic Pleskian
After spending almost 2 days getting opendkim to work, I finally did, and the service is running without error. However, when I run "sudo -u opendkim opendkim-testkey -vvvv" in console, I get the below error. I'm 99% sure my config is correct. Does anyone have any ideas? *Domain name changed to generic for privacy reasons:

Code:
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: record 0 for 'mail._domainkey.site.net' retrieved
opendkim-testkey: checking key 'mail._domainkey.site.net'
opendkim-testkey: key mail._domainkey.site.net: keys do not match
opendkim-testkey: key mail._domainkey.site.net not secure
opendkim-testkey: 1 key checked; 0 pass, 1 fail

Thanks!
 
Have you checked your private key location?
 
Okay, I worked on my config removing KeyTable and SigningTable and moving my private key to /etc/opendkim Now when I run this in console:

Code:
opendkim-testkey -d site.net -k /etc/opendkim/default.private -s default

I get:

Code:
condor:~# opendkim-testkey: No key

Any ideas?
 
Back
Top