Apr 4th 2017 #11 I do not know why, but after any reconfiguration I have to manually reset priviliges chmod 766 /var/spool/postfix/opendkim/opendkim.sock and for the keys: chmod -R 700 /etc/opendkim/keys This solves it.