[opendmarc-dev] rfc: how to fix wrong spf result if Received-SPF is used?

Juri Haberland juri at sapienti-sat.org
Mon Oct 17 23:36:41 PDT 2016


On 2016-10-17 21:45, A. Schulze wrote:
> Am 17.10.2016 um 20:54 schrieb Juri Haberland:

>> After talking to a colleague, I'll go for option 3:
>> Essentially like 1), but move the code from opendmarc_spf2_test() to a 
>> new
>> function and implement opendmarc_spf2_test() as a wrapper around the 
>> new
>> function with mapping and flattening from ARES_RESULT_* to
>> DMARC_POLICY_SPF_OUTCOME_*. This way the interface of libopendmarc 
>> doesn't
>> change except that there is a new function.

> I guess there are not many subscribers on -dev able to follow you.
> At least it's far beyond /my/ skills. Sorry: I couldn't give technical 
> advise.
> But I like to ask a question: Do you think you're able to also extend
> the test subsystem?
> If there would be a unit-test I would feel best with your suggestion 
> #3.

Good suggestion! I'll have a look at it.

   Juri


More information about the opendmarc-dev mailing list