Sample Header Ad - 728x90

OpenDkim - Eerror loading Key while opendkim-testkey outputs key OK?

1 vote
3 answers
4128 views
The mail.err has this (I've used FQDN.example.com as a marker for my domain): Mar 24 19:08:31 FQDN opendkim: can't load key from /etc/opendkim/keys/FQDN.example.com/mail.private: Permission denied Mar 24 19:08:31 FQDN opendkim: D1EBB1204E1: error loading key 'mail._domainkey.FQDN.example.com' But when I run opendkim-testkey -d FQDN.example.com -s mail -vvvvv I get opendkim-testkey: using default configfile /etc/opendkim.conf opendkim-testkey: checking key 'mail._domainkey.FQDN.example.com' opendkim-testkey: key not secure opendkim-testkey: key OK The reason the key is not secure because I set it to chmod 777 when I thought that the denied permissions had something to do with the file permissions. What is going on here? Using Debian 10.
Asked by KingsInnerSoul (404 rep)
Mar 24, 2020, 07:13 PM
Last activity: Apr 30, 2021, 01:44 PM