Skip to main content

A Python module and command line parser for SPF and DMARC records

Project description

checkdmarc

Python tests Code Coverage PyPI PyPI - Downloads

A Python module, command line utility, and web application for validating SPF and DMARC DNS records.

Sponcors

This is a project is maintained by one developer. Please consider sponsoring my work if you or your organization benefit from it.

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 sp values, or by use of the pct/rf/ri tags that were removed in RFC 9989
    • Checks for authorization records on reporting email addresses
  • BIMI
  • 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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

checkdmarc-5.16.2.tar.gz (65.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

checkdmarc-5.16.2-py2.py3-none-any.whl (76.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file checkdmarc-5.16.2.tar.gz.

File metadata

  • Download URL: checkdmarc-5.16.2.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for checkdmarc-5.16.2.tar.gz
Algorithm Hash digest
SHA256 22fc92be41cb614a2f2df8caf8eac71ef40cdb4e86ef06a11db92f3bad8ea22f
MD5 91a46f756609e32cef3ffa309b6ffd90
BLAKE2b-256 412410b99a46b1d03b479b7b0c37bf35be6490c83e6c46b96f0e6a1310f64fd6

See more details on using hashes here.

File details

Details for the file checkdmarc-5.16.2-py2.py3-none-any.whl.

File metadata

  • Download URL: checkdmarc-5.16.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 76.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for checkdmarc-5.16.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 530362d01e9711891de9e155881655a97904301d9f7bed12d93eee02e1ead08d
MD5 e1e7e56ea58f53614fd6a536213bc4b5
BLAKE2b-256 996c0bf9c01907e1f9f0803c0561b047703ba66db181e3db6a969d32b52b8a76

See more details on using hashes here.

Supported by

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