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.17.1.tar.gz (65.8 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.17.1-py2.py3-none-any.whl (77.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: checkdmarc-5.17.1.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.6.114.1-microsoft-standard-WSL2"}} HTTPX2/2.4.0

File hashes

Hashes for checkdmarc-5.17.1.tar.gz
Algorithm Hash digest
SHA256 40fa6a1dcaf73356a00327aa21eaf767467f927fb0fc92e6a744356851fbb5c0
MD5 d31b49e72b44b980a35628c9a9f23103
BLAKE2b-256 dd6a2e95b210a8adfb604085964c33a3e4065b9d6cb4df12fbcf10e04aaa7b4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: checkdmarc-5.17.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 77.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.6.114.1-microsoft-standard-WSL2"}} HTTPX2/2.4.0

File hashes

Hashes for checkdmarc-5.17.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd08822a1c812984469f5d4d03827d13736d0638cc1766efea3ceb7d801a5f5f
MD5 e99c8f27b227e793b88f0d8106ceda03
BLAKE2b-256 1575e0adbf22ee7100cc6fc1bcb5cebd5c2b6052495342e0f4305bbf64d91697

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