Open mattparlane opened 5 months ago
The function dkimf_db_walk()
don't have the code for db->db_type == DKIMF_DB_TYPE_MEMCACHE
.
Function dkimf_db_walk()
is used for SigningTable
in opendkim.c
(opendkim(8)), for KeyTable
in opendkim-genzone.c
(opendkim-genzone(8)) and opendkim-testkey.c
(opendkim-testkey(8)), for ReputationLimits
and ReputationLimitModifiers
in reputation.c
(opendkim(8)), and for ATPS db in opedkim-atpszone.c (opendkim-atpszone(8); obsolete).
So we can't use memecache DB for SigningTable
, ReputationLimits
and ReputationLimitModifiers
datasets, and if we use memcache DB for KeyTable
, we cant use opendkim-genzone(8) and opendkim-testkey(8).
With the patch in PR #219, opendkim(8) might avoid assertion failure caused by unhandled DB type in dkimf_db_walk()
. opendkim(8) would not crash on the verification of SigningTable even if it is memecache, although it is not mean directly that we can use memecached for SigningTable.
Although I've not tested, it is expected that you can use memcached table as Signing Table by using the patch in PR #228 and with suitable config setting or with suitable command option.
Hi all... Not sure if this is a bug, but I'm stumped.
I'm trying to connect opendkim with memcached, but I'm getting the following error:
Here are the relevant lines from my opendkim.conf:
and here is my command line:
/usr/sbin/opendkim -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim.pid
memcached is indeed running and accessible:
I'm using the Ubuntu distribution of opendkim, and it is compiled with memcache support.
Any ideas? Thanks!