The mail.err has this (I've used FQDN.example.com as a marker for my domain):
Mar 24 19:08:31 FQDN opendkim[17649]: can't load key from /etc/opendkim/keys/FQDN.example.com/mail.private: Permission denied
Mar 24 19:08:31 FQDN opendkim[17649]: 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.