Overview

[back to index]

For basic processig of an arriving message under Domain-Based Message Authentication, Reporting and Conformance ("DMARC"), make the following calls:
  1. opendmarc_policy_library_init(&lib);
  2. dmarc = opendmarc_policy_connect_init(ip-address, ip-version);
  3. opendmarc_policy_store_from_domain(dmarc, domain);
  4. opendmarc_policy_store_spf(dmarc, ...);
  5. opendmarc_policy_store_dkim(dmarc, ...);
  6. opendmarc_policy_query_dmarc(dmarc);
  7. opendmarc_get_policy_to_enforce(dmarc);
  8. opendmarc_policy_connect_shutdown(dmarc);
  9. opendmarc_policy_library_shutdown(lib);



Copyright (c) 2013, The Trusted Domain Project. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the respective licenses.