Re: questions on opendkim-lua

From: Klaus Heinrich <klahei174_at_web.de>
Date: Tue, 27 Jan 2015 10:03:26 +0100

Am 26.01.2015 um 23:37 schrieb Murray S. Kucherawy:
> 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
I mean signed by my MTA.
Received on Tue Jan 27 2015 - 09:04:29 PST

This archive was generated by hypermail 2.3.0 : Tue Jan 27 2015 - 09:09:02 PST