#895308 opendkim: verification of missing KeyTable entires gives incomprehensible error

Package:
opendkim
Source:
opendkim
Description:
DomainKeys Identified Mail (DKIM) signing and verifying milter
Submitter:
Oxan van Leeuwen
Date:
2019-12-30 17:51:06 UTC
Severity:
normal
#895308#5
Date:
2018-04-09 18:17:07 UTC
From:
To:
On startup, OpenDKIM verifies if the SigningTable doesn't reference any missing
KeyTable entries. However, if the KeyTable is put in an SQL database, and the
key is missing for a given domain, this gives the following error on startup,
and refuses to startup:

opendkim: /etc/opendkim.conf: could not find valid key record "" in KeyTable

This error is quite incomprehensible, and certainly doesn't point to the fact
that startup fails due to invalid data in the database. Please change the error
message to something like this:

opendkim: failed to find valid key record "" in KeyTable for domain "example.com"
opendkim: refusing to start due to invalid data in database

Thanks in advance!