Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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

Project description

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.

Changelog

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gs.dmarc-2.1.6.tar.gz (75.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page