Issues with key-table

From: Oleg Smolsky <oleg_at_smolsky.net>
Date: Sat, 23 Oct 2010 18:53:24 -0700
Hey there, I've just hit an issue with key-table/signing-table while adding a second domain to opendkim's config.

The following single-domain configuration works:
# Sign for this one domain
Domain                  smolsky.net
KeyFile                 /etc/dkim/keys/smolsky.net/smail.priv
Selector                mail
But the same very thing referenced using tables fails:
# Sign for several domains... argh... does not work..
#SigningTable            refile:/etc/dkim/signing-table
#KeyTable                /etc/dkim/key-table
root_at_mail:/etc/dkim# cat key-table
pbnkey  pbXXX.net:mail:/etc/dkim/keys/pbXXX.net/mail.priv
snkey   smolsky.net:mail:/etc/dkim/keys/smolsky.net/smail.priv

root_at_mail:/etc/dkim# cat signing-table
*_at_pbXXX.net    pbnkey
*_at_smolsky.net           snkey

The multi-domain variant produces the following errors when I attempt to send a message:
Oct 22 22:14:10 mail opendkim[17333]: can't load key from /etc/dkim/keys/smolsky.net/smail.priv: Permission denied
Oct 22 22:14:10 mail opendkim[17333]: 2893A68CC9: error loading key `snkey'

Could someone shed some light on this please? I've tried 2.1.3/Debian64 as well as an older version. The same problem persists. What am I missing?

Thanks in advance,
Oleg.
Received on Sun Oct 24 2010 - 01:53:36 PST

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