questions on opendkim-lua

From: Klaus Heinrich <>
Date: Mon, 26 Jan 2015 12:51:24 +0100

Hi opendkim users,

i am using postfix-2.9.6, opendkim-2.10.0 with LUA-5.2.1 and a working
opendkim configuration as far i can tell. But there are two open questions:

1. How can i get access to the Signingtable via the LUA API? I tried
this snippet in setup, screen and final script

st = odkim.get_dbhandle(ctx, DB_SIGNINGTABLE)

always getting this error

opendkim: /etc/opendkim.conf: odkim.get_dbhandle(): incorrect argument type

what's the problem here?

2. How can I determine if the message is signed using the LUA API? I
tried to get Information about the Header "DKIM-Signature" using the LUA
API like this:

sc = odkim.get_sigcount(ctx)

but sc is always 0, i.e. zero.


dh = odkim.get_header(ctx,"DKIM-Signature",0)

but always getting dh == nil.

what am i doing wrong here?

Received on Mon Jan 26 2015 - 11:53:22 PST

This archive was generated by hypermail 2.3.0 : Mon Jan 26 2015 - 12:00:02 PST