Metadata-Version: 2.4
Name: checkdmarc
Version: 5.13.3
Summary: A Python module and command line parser for SPF and DMARC records
Project-URL: Homepage, https://github.com/domainaware/checkdmarc
Project-URL: Documentation, https://domainaware.github.io/checkdmarc/
Project-URL: Issues, https://github.com/domainaware/checkdmarc/issues
Project-URL: Changelog, https://github.com/domainaware/checkdmarc/blob/master/CHANGELOG.md
Author-email: Sean Whalen <whalenster@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: BIMI,DMARC,DNS,MTA-STS,SPF
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Security
Requires-Dist: cryptography<47.0,>=45.0
Requires-Dist: dnspython>=2.0.0
Requires-Dist: expiringdict>=1.1.4
Requires-Dist: importlib-resources>=6.0
Requires-Dist: pem>=23.1.0
Requires-Dist: publicsuffixlist>=0.10.0
Requires-Dist: pyleri>=1.3.2
Requires-Dist: pyopenssl>=24.2.1
Requires-Dist: requests>=2.25.0
Requires-Dist: timeout-decorator>=0.4.1
Requires-Dist: xmltodict>=0.14.2
Provides-Extra: build
Requires-Dist: hatch>=1.14.0; extra == 'build'
Requires-Dist: myst-parser[linkify]; extra == 'build'
Requires-Dist: nose; extra == 'build'
Requires-Dist: pytest; extra == 'build'
Requires-Dist: pytest-cov; extra == 'build'
Requires-Dist: ruff; extra == 'build'
Requires-Dist: sphinx; extra == 'build'
Requires-Dist: sphinx-rtd-theme; extra == 'build'
Description-Content-Type: text/markdown

# checkdmarc

[![Python tests](https://github.com/domainaware/checkdmarc/actions/workflows/python-tests.yaml/badge.svg)](https://github.com/domainaware/checkdmarc/actions/workflows/python-tests.yaml)
[![PyPI](https://img.shields.io/pypi/v/checkdmarc)](https://pypi.org/project/checkdmarc/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/checkdmarc?color=blue)](https://pypistats.org/packages/checkdmarc)

A Python module, command line utility, and [web application](https://github.com/domainaware/checkdmarc-web-frontend) for validating SPF and DMARC DNS records.

## Features

- API, CLI, and web interfaces
- Can test multiple domains at once
- CLI output in JSON or CSV format
- DNSSEC validation
- SPF
  - Record validation
  - Counting of DNS lookups and void lookups
  - Counting of lookups per mechanism
- DMARC
  - Validation and parsing of DMARC records
  - Shows warnings when the DMARC record is made ineffective by `pct` or `sp` values
  - Checks for authorization records on reporting email addresses
- BIMI
  - Validation of the mark format and certificate
  - Parsing of the mark certificate
- MX records
  - Preference
  - IPv4 and IPv6 addresses
  - Checks for STARTTLS
  - Use of DNSSEC/TLSA/DANE to pin certificates
- MTA-STS
- SMTP TLS reporting
  - Record and policy parsing and validation
- SOA record parsing
- Nameserver listing

## Docker support

1. Build the image using docker `build . -t checkdmarc`
2. Use the image with a command like `docker run --rm checkdmarc google.nl`
