Re: Help with dkim_eom(): resource unavailable: d2i_PrivateKey_bio() failed please

From: Kaspar Brand <opendkim_at_velox.ch>
Date: Sun, 13 Jun 2010 10:05:16 +0200

On 13.06.2010 03:39, Stephen eire wrote:
> The output from openssl rsa -noout -check -in default.private is:
> "RSA key ok"

If your signing key is in that file, then you probably want your
keytable entry to read something like:

ikey i-systems.co.uk:default:/usr/local/etc/dkim/default.private

With the entry you currently have, OpenDKIM tries to read the private
key from /usr/local/etc/dkim/i-systems.co.uk, and I guess it does not
have the proper contents.

... and I just realize that the INSTALL file has the wrong order for the
sample entries in KeyTable, unfortunately :-/

> First, write the KeyTable. This is a list of the keys you intend to use,
> and you just assign arbitrary names to them. So as a flat file, the KeyTable
> for the above might look like this:
>
> preskey foo:example.com:/usr/local/etc/dkim/keys/president
> comkey bar:example.com:/usr/local/etc/dkim/keys/excom
> netkey baz:example.com:/usr/local/etc/dkim/keys/exnet

Should be

        preskey example.com:foo:/usr/local/etc/dkim/keys/president
        comkey example.com:bar:/usr/local/etc/dkim/keys/excom
        netkey example.com:baz:/usr/local/etc/dkim/keys/exnet

instead (opendkim.conf(5) is correct about the order).

Kaspar
Received on Sun Jun 13 2010 - 08:14:11 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:19:47 PST