Skip to main content

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

Project description

checkdmarc

Python tests PyPI PyPI - Downloads

A Python module, command line utility, and web application 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

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.14.1.tar.gz (63.3 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.14.1-py2.py3-none-any.whl (74.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for checkdmarc-5.14.1.tar.gz
Algorithm Hash digest
SHA256 3562722112cfc1ea02d18664d6fe6c527718cc21157d0917590786ee9bbba4fd
MD5 8acb83b3143350d329412bcd662d19f9
BLAKE2b-256 06de5931217fa01f3e90e1f92df1e4754c33f592aabc0060ba86e27c74d3213b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for checkdmarc-5.14.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fb90a46cc316ec7e217fc6bb060aac5983add522002fa7eaf5ec2b1217ae084c
MD5 7e50e7e23c9ad2f474d7919214b05b33
BLAKE2b-256 312f505b8518873d368267d6d509fd96cdd7658db54652465e360c75ce2c61de

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