Re: questions on opendkim-lua

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Mon, 26 Jan 2015 14:37:29 -0800 (PST)

On Mon, 26 Jan 2015, Klaus Heinrich wrote:
>>> 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:
>>>
>>> {code}
>>> sc = odkim.get_sigcount(ctx)
>>> {code}
>>>
>>> but sc is always 0, i.e. zero.
>>>
>>> or
>>>
>>> {code}
>>> dh = odkim.get_header(ctx,"DKIM-Signature",0)
>>> {code}
>>>
>>> but always getting dh == nil.
>>>
>>> what am i doing wrong here?

Do you mean signed when it arrived at your MTA, or signed by your MTA?

I just tried what you did and it worked fine for a sample message here, at
least within the unit test harness. I'll try it on a running machine as
well later today.

-MSK
Received on Mon Jan 26 2015 - 22:37:45 PST

This archive was generated by hypermail 2.3.0 : Mon Jan 26 2015 - 22:45:02 PST