[opendmarc-dev] Question about opendmarc_policy_store_dkim()
Murray S. Kucherawy
msk at blackops.org
Thu Jun 21 12:23:22 PDT 2012
This is mainly for Brian:
I'm starting my integration and I saw this function which is used to pass
DKIM results in to libopendmarc. Just to be sure, is it okay to call this
many times, since a message can have many signatures? My thinking is that
the application making use of libopendmarc doesn't understand (and
shouldn't need to) how DMARC works, so it just passes in SPF and DKIM
results and the library keeps what it needs and ignores the rest, then
sorts out the DMARC policy and action details, and makes them available
through accessors. It looks like that's the path you've taken too. The
only thing I need to be sure of is that I can pass in all DKIM results (or
at least all passing results) because the caller won't be expected to have
the subdomain or organizational domain logic.
Sound right?
Also, once I'm done, and unless you wanted to do this, I plan to start
documenting libopendmarc's public API. This takes that off your hands and
also acts as a design/code review of sorts.
Anyone reading this is invited to do the same for the filter. I just
added man pages for it yesterday.
-MSK
More information about the opendmarc-dev
mailing list