RE: Authentication-Results header

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Wed, 10 Aug 2011 15:28:31 -0700

> -----Original Message-----
> From: Steve Fatula [mailto:compconsultant_at_yahoo.com]
> Sent: Wednesday, August 10, 2011 3:21 PM
> To: Murray S. Kucherawy; opendkim-users_at_lists.opendkim.org
> Subject: Re: Authentication-Results header
>
> Never heard of Lua. But, the concept looks interesting. Looks like I
> could even reject there should I ever choose to.

Yep.

> However, I don't see where to get the verification results. At least on
> the opendkim-lua man page which has all the interfaces I guess. And
> wherever I get the results from (whatever call), I presume it's the
> entire header line, meaning, I have to parse it?
>
> All I want is the dkim=??? and dkim-adsp=????

Every signed message has an array of signature handles. You would retrieve them either individually or as an array using a Lua function, look at the signing domain and the result for each using a couple of others, and that gives you the "dkim=" answer you probably want (perhaps in conjunction with the sender address, which is retrieved with a third function).

For the policy result, there's another function precisely for that.

Look through the set of functions documented for the "screen" and "final" Lua scripts. Everything you need is there.
Received on Wed Aug 10 2011 - 22:28:39 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thu Aug 11 2011 - 01:50:01 PST