Email security grade
email_securityGrades how well a domain prevents email spoofing (A-F) by checking SPF, DMARC, MTA-STS, TLS-RPT, MX, and DKIM, listing issues to fix.
Instructions
Grade (A-F) how well a domain is protected against being spoofed in email, with a list of issues to fix. Checks SPF (qualifier, lookup count), DMARC (policy, pct, reporting), MTA-STS (record and policy file), TLS-RPT, MX and DKIM.
Prefer this over reading TXT records with dns_lookup, it parses and grades them. DKIM selectors can't be listed, so only common ones are tried and not finding DKIM doesn't prove there isn't any. Uses live DNS, the only HTTP request is for the MTA-STS policy at mta-sts..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name, e.g. "example.com". A full URL works too, only the hostname is used. | |
| dkim_selectors | No | DKIM selectors to check instead of the built-in common ones, e.g. ["google", "s1"]. The s= tag in the DKIM-Signature header of an email from the domain gives the real one. |