From owner-freebsd-questions@freebsd.org Fri Sep 18 12:28:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96A5A9CEBD0 for ; Fri, 18 Sep 2015 12:28:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 39A011B86 for ; Fri, 18 Sep 2015 12:28:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t8ICSLI6021672 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 18 Sep 2015 13:28:28 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t8ICSLI6021672 Authentication-Results: smtp.infracaninophile.co.uk/t8ICSLI6021672; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Subject: Re: Cannot start opendkim To: freebsd-questions@freebsd.org References: <55FBFEB6.3000909@shopzeus.com> From: Matthew Seaman Message-ID: <55FC0361.6030706@FreeBSD.org> Date: Fri, 18 Sep 2015 13:28:17 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55FBFEB6.3000909@shopzeus.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Rpsr3m5lN8MFxsCrQvwSOht1lW1NFPcIU" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 12:28:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Rpsr3m5lN8MFxsCrQvwSOht1lW1NFPcIU Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/09/18 13:08, Nagy L=E1szl=F3 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 >=20 >=20 > Line 20 is this: >=20 > KeyTable /usr/local/etc/opendkim/dkim-keytable >=20 >=20 > What is wrong here? >=20 > Opendkim version: 2.9.2_6 > OS version: 10.2-RELEASE-p2 >=20 >=20 > Thanks, >=20 > Laszlo >=20 > P.s.: here is my complete /usr/local/etc/opendkim/opendkim.conf: >=20 >=20 > 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 >=20 > SOCKET inet:8891@localhost >=20 > Permissions: >=20 > 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 >=20 > rc.conf variables: >=20 > milteropendkim_enable=3D"YES" > milteropendkim_cfgfile=3D"/usr/local/etc/opendkim/opendkim.conf" > milteropendkim_uid=3D"mailnull" As I recall, you can't specify both KeyFile and KeyTable in the same configuration. Cheers, Matthew --Rpsr3m5lN8MFxsCrQvwSOht1lW1NFPcIU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --Rpsr3m5lN8MFxsCrQvwSOht1lW1NFPcIU--