Skip to main content

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

Project description

Look up and report on the DMARC status of a domain

:Author: `Michael JasonSmith`_
:Contact: Michael JasonSmith <>
:Date: 2014-09-29
:Organization: ``_
:Copyright: This document is licensed under a
`Creative Commons Attribution-Share Alike 4.0 International License`_
by ``_.


This product allows systems look up and report on the DMARC
(Domain-based Message Authentication, Reporting and Conformance)
status of a domain [#dmarc]_. 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 (DomainKeys
Identified Mail [#dkim]_) and SPF (Sender Policy Framework

Specifically this product supplies ``gs.dmarc.ReceiverPolciy``
for enumerating [#enum34]_ the different DMARC policies, and the
``receiver_policy`` function for querying the policy for a
given domain.


- Documentation:
- Code repository:
- Questions and comments to
- Report bugs at

.. [#dmarc] See `the internet-draft`_ Domain-based Message
Authentication, Reporting and Conformance (DMARC)
.. _the internet-draft:
.. [#dkim] See `RFC 6376`_: DomainKeys Identified Mail (DKIM) Signatures
.. _RFC 6376:
.. [#spf] See `RFC 4408`_: Sender Policy Framework (SPF) for
Authorizing Use of Domains in E-Mail, Version 1
.. _RFC 4408:
.. [#enum34] `The enum34 package`_ is used to provide `Enum`_
support for releases of Python prior to 3.4.
.. _The enum34 package:
.. _Enum:
.. _GroupServer:
.. _OnlineGroups.Net:
.. _Michael JasonSmith:
.. _Creative Commons Attribution-Share Alike 4.0 International License:

.. LocalWords: DMARC DKIM DomainKeys dkim groupserver spf enum
.. LocalWords: lookup


2.1.2 (2014-09-26)

* Switching to GitHub as the primary code repository.

2.1.1 (2014-07-09)

* Cope when the host-name passed to ``lookup_receiver_policy``
for hosts that start with ``_dmarc`` already.
* Reject all answers that do not start with ``v=DMARC1``, as per
`Section 7.1`_ (number 5) of the DMARC specification.

.. _Section 7.1:

2.1.0 (2014-05-07)

* Added ``gs.dmarc.receiver_policy``, which looks up the
organisational domain.
* Updated the Sphinx documentation.

2.0.0 (2014-04-29)

* Added ``gs.dmarc.ReceiverPolicy.noDmarc``, and returning it from
``gs.dmarc.lookup_receiver_policy``. Bumped the version number
because of this.
* Added 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.

Source Distribution (551.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page