Date: Fri, 18 Sep 2015 13:28:17 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Cannot start opendkim Message-ID: <55FC0361.6030706@FreeBSD.org> In-Reply-To: <55FBFEB6.3000909@shopzeus.com> References: <55FBFEB6.3000909@shopzeus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJV/ANnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnHbsQAKdl6AdaUfkmjy2bT1R1tPM1 YQoXgVjkHBeudmUJ+wT7TfI2arqEn9/4si/0gepLzqjJIxa06tUxJmfKsrfiVxR4 oChIYqkDnXajm5kQWSi9MxhCXPerWsQevJwg8yf/6EAk4m04db4U1V25Y55RHHh9 BOG3PCXcZg9y23nRsVeUWfgeuQMZpboUi6QZ13iTl3YOY8GTuYMHC1vpRw78vN42 Piygm60OmKZ5vetwdlzx5UGnGnNBQTQN4fb+sYBdFfeQhpAc3xLL/Z92WAfl5ZTq RmFx1hXfzI+YuR+uGKIug8EVSHNvkCAv8BTiEhp3rBhqJCe5PxqfUefXFWOMYRdI DKjij8ZEB6DtZ6HFplvEJYXTQX/Z4Ilwa+Oaf3OwmQ9C0Gr4s1UnCw/bxoQN3Dmv b5bGqsBR27/dhSif/EEIZvJlKmu3gxuBvs093Jd5fo1qZ0d6XZYJ92mAQhuN6VTV YNqDIskEeNJiqiTEQQ2pl52vWeDqwnoYrZ5VMoHSUpd6Xsls7SIVesFwMnpex0i7 vZnMFE1LO6uwxtx+QBXH0y56Axgvhyq1AhqflNDR/AiGy7KGJ1jW2V2XGJt9Y7jX B2slkphr14YrojZ2QG5prkoe/FglTcQrAqpVMFDtulIfR1CAJ6FCVNMj7OXQlT9A HV3qZMh3mgn4phRwSjuf =XfM7 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FC0361.6030706>
