• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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