libopendmarc
libopendmarc is an open-source C library that implements the core DMARC evaluation logic used by the OpenDMARC project. The library provides an API that allows applications to validate DMARC for a message by supplying the necessary domain information, DKIM and SPF results, and the DMARC DNS policy. It focuses on the policy evaluation step and is designed to be embedded in mail servers or filtering tools.
DMARC evaluation performed by libopendmarc includes domain alignment checks between the header From domain and the
Architecture and usage: libopendmarc is a standalone library intended to be linked into larger applications. It
Licensing: libopendmarc is distributed under a BSD-style license.