Look up and report on the DMARC status of a domain.


Keywords
DKIM, SPF, DMARC, email, RFC 7489, RFC 6376, RFC 4408
License
ZPL-2.1
Install
pip install gs.dmarc==2.1.9

Documentation

gs.dmarc

Look up and report on the DMARC status of a domain

Author: Michael JasonSmith
Contact: Michael JasonSmith <mpj17@onlinegroups.net>
Date: 2015-06-25
Organization: GroupServer.org
Copyright: This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.

Introduction

This product allows systems look up and report on the DMARC (RFC 7489: Domain-based Message Authentication, Reporting and Conformance) status of a domain. DMARC allows the owner of a domain to publish a key that is used to verify if an email message actually originated from the domain, and to publish what to do if the verification fails. It is an extension of DKIM (RFC 6376: DomainKeys Identified Mail) and SPF (RFC 4408: Sender Policy Framework).

Specifically this product supplies gs.dmarc.ReceiverPolicy for enumerating [1] the different DMARC policies, and the receiver_policy function for querying the policy for a given domain.

Resources

[1] The enum34 package is used to provide Enum support for releases of Python prior to 3.4.