Email security glossary
SPF, DKIM, DMARC and the other terms of email security: each with a one-sentence definition, the relevant standard and a link to check your own domain.
Authentication
- SPF
- Record listing the servers authorised to send as you
- DKIM
- Signature added to mail, verified with a key in DNS
- DMARC
- Record stating what to do with unauthenticated mail
- Alignment
- The authenticated domain matching the “From” domain
- ARC
- Intermediaries recording authentication results, signed
DMARC record and reports
- DMARC policy (p)
none,quarantineorreject- DMARC sp
- Policy for existing subdomains
- DMARC np
- Policy for non-existent subdomains
- DMARC testing mode (t)
- Has the policy applied one level lower
- DMARC pct
- Removed percentage tag, replaced by
t - DMARC rua
- Where aggregate reports are sent
- DMARC ruf
- Where failure reports are sent
SPF details
- SPF all
- The result for every sender not matched
- SPF include
- Brings in another domain’s SPF record
- SPF 10 DNS lookup limit
- At most 10 lookups, or
permerror - SPF permerror
- The record cannot be interpreted; SPF does not work
- SPF void lookup
- A DNS lookup with no answer; at most two
- SPF flattening
- Writing IP addresses instead of
includes - SPF redirect
- Hands evaluation over to another record
- SPF ptr
- Reverse-DNS mechanism; should not be used
- SPF mx
- Authorises the addresses of the MX servers
- SPF record type (TXT, type 99)
- TXT only; type 99 is no longer supported
DKIM details
- DKIM selector
- The name that tells a domain’s DKIM keys apart
- DKIM key length
- At least 1024, recommended 2048 bits
- DKIM key rotation
- Replacing the key regularly, at least every six months
- DKIM‑Signature header
- The signature and its tags in the message: d=, s=, bh=, b=…
Transport security and branding
- MTA‑STS
- Requires TLS with a valid certificate for incoming mail
- TLS‑RPT
- Where TLS problems are reported
- DANE
- Publishes the certificate in DNSSEC-signed records
- DNSSEC
- Protects DNS answers with signatures
- BIMI
- Brand logo next to DMARC-passing mail
- VMC
- Certificate verifying the logo is a registered mark
- SVG Tiny PS
- Restricted SVG profile for BIMI logos
- MX record
- The servers that accept incoming mail
DNS infrastructure
- SOA record
- The zone’s header: serial, timing, negative caching
- NS record
- The zone’s authoritative name servers; at least two
- Glue record
- The name server’s IP record in the parent zone
- Open recursive resolver
- DNS that recurses for anyone; used in attacks
- Zone transfer (AXFR)
- Copying a whole zone; should be restricted
- CNAME record
- Alias; not at the root or as an MX target
Mail server and reputation
- SMTP banner
- The server’s first reply: 220 and its name
- Open relay
- A server that relays anyone’s mail
- Reverse DNS (PTR) and FCrDNS
- IP to name; the name must point back to the IP
- STARTTLS
- Upgrades an SMTP connection to TLS
- DNSBL (blocklist)
- A blocklist queried over DNS
Concepts
- Email spoofing
- Putting someone else’s domain in “From”
- BEC
- Fraud by impersonating executives or suppliers
- Organizational domain
- The highest level under the same administration
- DNS Tree Walk
- Searching for the DMARC record towards the root
Last updated: