Re: Help for "error loading key" '143'

From: Murray S. Kucherawy <>
Date: Mon, 19 Nov 2012 10:52:36 -0800 (PST)

On Mon, 19 Nov 2012, Simone Caruso wrote:
> signingtable dsn:mysql://dkim:dkim_at_howard/keedra/table=domains?keycol=name?datacol=id
> KeyTable dsn:mysql://dkim:dkim_at_howard/keedra/table=dkim_sign?keycol=id?datacol=private_key

From the opendkim.conf(5) man page:

        KeyTable (dataset)
               Gives the location of a file mapping key names to signing keys.
               If present, overrides any KeyFile setting in the configuration
               file. The data set named here maps each key name to three val-
               ues: (a) the name of the domain to use in the signature's "d="
               value; (b) the name of the selector to use in the signature's
               "s=" value; and (c) either a private key or a path to a file
               containing a private key.

You're only returning one value where three are required. Try changing it
to end with "keycol=domain_name,selector,private_key".

Received on Mon Nov 19 2012 - 18:52:36 PST

This archive was generated by hypermail 2.3.0 : Mon Nov 19 2012 - 18:54:02 PST