skip to navigation
skip to content

gs.dmarc 2.1.7

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


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.


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


2.1.7 (2016-04-11)

  • Testing with Python 3.5
  • Switching to dictionary-comprehensions

2.1.6 (2016-03-24)

  • Updating the suffix list from Mozilla, thanks to Baran Kaynak

2.1.5 (2015-09-01)

2.1.4 (2015-06-25)

2.1.3 (2014-10-20)

  • Handling domains with invalid DMARC policies, closing Bug 4135

2.1.2 (2014-09-26)

  • Switching to GitHub as the primary code repository.

2.1.1 (2014-07-09)

  • Coping when the host-name passed to lookup_receiver_policy for hosts that start with _dmarc already
  • Rejecting all answers that do not start with v=DMARC1, as per Section 7.1 (number 5) of the draft DMARC specification

2.1.0 (2014-05-07)

  • Adding gs.dmarc.receiver_policy, which looks up the organisational domain
  • Updating the Sphinx documentation

2.0.0 (2014-04-29)

  • Adding gs.dmarc.ReceiverPolicy.noDmarc, and returning it from gs.dmarc.lookup_receiver_policy
  • Adding Sphinx documentation

1.0.0 (2014-04-24)

Initial release.

File Type Py Version Uploaded on Size (md5) Source 2016-04-11 82KB