Greetings all!
I am trying to migrate our current email platform from CentOS to FreeBSD. I am stucked with OpenDKIM and I would really need some input.
My config:
opendkim.conf
rc.conf
main.cf
All the relevant directories and files have been set up. With the proper permissions! However, the result is the following:
Anybody please?
PS. I have checked for typos and the keys have been configured twice.
I am trying to migrate our current email platform from CentOS to FreeBSD. I am stucked with OpenDKIM and I would really need some input.
My config:
opendkim.conf
Code:
AutoRestart Yes
AutoRestartRate 10/1h
LogWhy Yes
Syslog Yes
SyslogSuccess Yes
Mode sv
Canonicalization relaxed/simple
ExternalIgnoreList refile:/usr/local/etc/opendkim/TrustedHosts
InternalHosts refile:/usr/local/etc/opendkim/TrustedHosts
KeyTable refile:/usr/local/etc/opendkim/KeyTable
SigningTable refile:/usr/local/etc/opendkim/SigningTable
SignatureAlgorithm rsa-sha256
Socket inet:8891@localhost
PidFile /var/run/opendkim/opendkim.pid
UMask 022
TemporaryDirectory /var/tmp
rc.conf
Code:
milteropendkim_enable="YES"
milteropendkim_uid="opendkim"
cat /etc/passwd | grep opendkim
Code:
opendkim:*:5001:5001:User &:/usr/local/etc/opendkim:/usr/sbin/nologin
main.cf
Code:
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept
milter_protocol = 2
All the relevant directories and files have been set up. With the proper permissions! However, the result is the following:
Code:
Jan 4 18:35:08 mx001 opendkim[39357]: 2B1A31EA8AF: signing table references unknown key 'default._domainkey.domain.com'
cat /usr/local/etc/opendkim/SigningTable
Code:
@domain.com default._domainkey.domain.com
Anybody please?
PS. I have checked for typos and the keys have been configured twice.