Skip site navigation (1)Skip section navigation (2)
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
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FC0361.6030706>