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.

Sponcers

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 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.15.2.tar.gz (64.2 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.15.2-py2.py3-none-any.whl (75.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: checkdmarc-5.15.2.tar.gz
  • Upload date:
  • Size: 64.2 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.15.2.tar.gz
Algorithm Hash digest
SHA256 715c0870edb8ea14ee277894bb83e5f3a5b6bcc8dae3d58b2d7a8aff4e651f7c
MD5 642fb015d8d5cd43b546a44e0eadb004
BLAKE2b-256 25c7e099a3d5356f36f2063ab01ea8cea77f321aa947d91a0651c58ec458c6f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: checkdmarc-5.15.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 75.4 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.15.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16a019af466ed783f9843b3f70b6ac1f6e85701cd31a79c54648f0d18de6be7b
MD5 b9d2dc4af35c7d5cf3efe960b87c18b5
BLAKE2b-256 6c191d98d92f5a2c07f2a4d5e609857e5eb49544bd43d6c51240a2b7c84c6a90

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