Cannot start opendkim

Nagy László Zsolt gandalf at shopzeus.com
Fri Sep 18 12:17:55 UTC 2015


# /usr/local/etc/rc.d/milter-opendkim start
Starting milteropendkim.
opendkim: /usr/local/etc/opendkim/opendkim.conf: configuration error at 
line 20: unrecognized parameter
/usr/local/etc/rc.d/milter-opendkim: WARNING: failed to start milteropendkim


Line 20 is this:

KeyTable /usr/local/etc/opendkim/dkim-keytable


What is wrong here?

Opendkim version: 2.9.2_6
OS version: 10.2-RELEASE-p2


Thanks,

   Laszlo

P.s.:  here is my  complete /usr/local/etc/opendkim/opendkim.conf:


Syslog                          yes
SyslogSuccess                   yes
LogWhy                          yes
UMask                           002
KeyFile /usr/local/etc/opendkim/keys/not_telling.key.pem
Selector   shopzeus_com
OversignHeaders                 From
AutoRestart                     yes
Background                      yes
Canonicalization                relaxed/relaxed
DNSTimeout                      5
Mode                            sv
SignatureAlgorithm              rsa-sha256
SubDomains                      no
Statistics                      /var/log/opendkim/dkim-stats
KeyTable /usr/local/etc/opendkim/dkim-keytable
SigningTable refile:/usr/local/etc/opendkim/dkim-signingtable
ExternalIgnoreList refile:/usr/local/etc/opendkim/TrustedHosts
InternalHosts refile:/usr/local/etc/opendkim/TrustedHosts

SOCKET    inet:8891 at localhost

Permissions:

chown -R mailnull:mailnull /usr/local/etc/opendkim
chmod 0700 /usr/local/etc/opendkim
chmod 0660 /usr/local/etc/opendkim/*
chmod 0700 /usr/local/etc/opendkim/keys
chmod 0660 /usr/local/etc/opendkim/keys/*.pem

rc.conf variables:

milteropendkim_enable="YES"
milteropendkim_cfgfile="/usr/local/etc/opendkim/opendkim.conf"
milteropendkim_uid="mailnull"




More information about the freebsd-questions mailing list