Cannot start opendkim
Matthew Seaman
matthew at FreeBSD.org
Fri Sep 18 12:28:35 UTC 2015
On 2015/09/18 13:08, Nagy László Zsolt wrote:
> # /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"
As I recall, you can't specify both KeyFile and KeyTable in the same
configuration.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150918/b37150fc/attachment.bin>
More information about the freebsd-questions
mailing list