• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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