Email Domain Security Audit (SPF, DKIM, DMARC, MTA-STS) avatar

Email Domain Security Audit (SPF, DKIM, DMARC, MTA-STS)

Pricing

from $3.00 / 1,000 domain auditeds

Go to Apify Store
Email Domain Security Audit (SPF, DKIM, DMARC, MTA-STS)

Email Domain Security Audit (SPF, DKIM, DMARC, MTA-STS)

Passive email-domain audit from public DNS and HTTPS: SPF (lookup limit), DKIM common selectors, DMARC, MTA-STS, TLS-RPT, BIMI, MX, CAA and web TLS certificate expiry, with a score and fix list per domain.

Pricing

from $3.00 / 1,000 domain auditeds

Rating

0.0

(0)

Developer

Quiet Link Lab

Quiet Link Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Email Domain Security Audit (SPF, DKIM, DMARC, MTA-STS, TLS)

Audit the e-mail authentication and transport-security setup of one domain or a whole list – from public DNS and public HTTPS only. For every domain you get a grade (A–F), a 0–100 score, the parsed result of each check and a prioritised list of problems with a suggested fix.

Why it matters: large mailbox providers (for example Microsoft for Outlook.com, in force since May 2025) reject or junk mail from high-volume domains without valid SPF, DKIM and DMARC, and spoofed mail is only blocked when DMARC is enforced.

What is checked

CheckWhat the Actor does
MXLists MX hosts, flags hosts without address records and MX-to-CNAME, detects the "null MX" of domains that send no mail, hints the mail provider
SPFParses the record, counts the DNS-lookup terms recursively (limit 10), detects multiple records, broken/looping include, +all / ?all / ~all, ptr, very broad ip4 ranges
DMARCPolicy p/sp/pct, report addresses, external report authorisation, organisational-domain fallback for sub-domains
DKIMLooks up about 30 common selector names (default, google, selector1/2, s1/s2, k1–k3, …) plus your own; reports key type and RSA key length, testing mode, revoked keys
MTA-STS_mta-sts TXT, downloads the public policy file (https://mta-sts.<domain>/.well-known/mta-sts.txt, no redirects), checks mode, max_age and whether every MX host is covered
TLS-RPT_smtp._tls TXT
BIMI (optional)default._bimi TXT; notes when DMARC is not enforced so the logo would not show
CAAWalks up the DNS tree for CAA records
Web TLS certificateOne standard TLS handshake with <domain>:443 (and www.) to read expiry, chain trust, name match and TLS version

Domains with a null MX (or no MX and v=spf1 -all) are treated as "sends/receives no mail": DKIM, MTA-STS, TLS-RPT and BIMI are skipped and only SPF/DMARC hardening is judged. MTA-STS and TLS-RPT are also skipped when the domain has no explicit MX records.

Output

One dataset row per domain:

FieldMeaning
domain, registeredDomain, statusaudited · not_found (NXDOMAIN) · dns_error · invalid_input · audit_failed
grade, score, issueCountsA–F and 0–100 (heuristic), number of high/medium/low/info findings
mailProfilemail-enabled, no-mail (null MX), implicit MX (A record only), …
spfPolicy, dmarcPolicy, mtaStsMode, dkimSelectorsFound, earliestCertExpiryDaysFlat fields for quick filtering
issues[]severity, check, code, message, recommendation, scoreImpact
mx, spf, dmarc, dkim, mtaSts, tlsRpt, bimi, caa, webTlsFull parsed details
dnsQueriesDNS queries used for this domain

A run summary (OUTPUT in the key-value store) counts domains per grade.

Pricing

Pay per event: $0.003 per audited domain (plus the standard Actor start event). A domain is billed only when it exists and DNS answered. Non-existent domains, DNS failures and invalid input are not billed. maxDomains (default 50) is a hard cap on cost.

Input example

{
"domains": ["example.com", "example.org"],
"dkimSelectors": ["20260101"],
"checkWebTls": true
}

Honest limits

  • DKIM cannot be fully tested from DNS. Selector names are arbitrary. "No DKIM found" means none of the tried selectors exist, not that DKIM is missing. Add your real selector (the s= tag in a DKIM-Signature header).
  • No SMTP. The Actor never connects to port 25, so it cannot see whether your mail servers actually offer STARTTLS or which certificate they present. MTA-STS/TLS-RPT are checked only as published DNS/HTTPS data.
  • DNSSEC is not validated, and results depend on the DNS resolver of the platform at the time of the run (DNS caches, split-horizon DNS).
  • The score is a heuristic summary of the findings, not a compliance certification. SPF lookup counting follows RFC 7208 terms but cannot see mechanisms hidden behind DNS failures (flagged as incomplete).
  • The TLS certificate check opens one ordinary HTTPS connection to the web host; it reports the negotiated TLS version and does not test cipher strength or scan other ports.

Responsible use

  • Audit your own domains or domains you are allowed to assess. Everything the Actor reads is public by design (DNS records, the MTA-STS policy file, a TLS certificate).
  • No port scanning, no SMTP probing, no login, no exploitation, no attack traffic. About 40–60 DNS queries and up to three connections per domain; domains are processed 3 at a time by default.
  • E-mail addresses in the input are reduced to their domain; the part before @ is discarded and never output.
  • Requests to private/loopback network addresses are refused.