Knowledge

Email security explained clearly

What SPF, DKIM, DMARC, MX, STARTTLS and blocklists mean, why they matter and where things usually go wrong in practice.

SPF: Who may send for your domain?

SPF (Sender Policy Framework) is a TXT record in DNS that starts with v=spf1. It lists the servers and services that may send email using your domain as the sender, such as your mail provider, your newsletter tool or your own servers.

When a message arrives, the recipient compares the IP address of the delivering server with this record. It usually ends in -all (reject everything else) or ~all (mark everything else as suspicious).

Typical mistakes: several SPF records for the same domain (invalid), more than ten DNS lookups caused by nested include records (SPF then fails with an error) and forgotten sending services. SPF checks the technical sender address (Return-Path), not the sender address visible in the mail program, and can fail for forwarded messages.

Check my domain

DKIM: Was the message altered in transit?

With DKIM (DomainKeys Identified Mail), your mail server signs outgoing messages with a private key. The matching public key is published as a TXT record at selector._domainkey.your-domain.com in DNS. Recipients use it to check that the message is genuine and unchanged.

The “selector” is a freely chosen name set by the respective provider. Because selectors cannot be listed from the outside, a check can only try common names. If it finds none, that does not mean DKIM is missing: PutBerry then reports “not checkable” and not an error. If you know the selector (it appears in the source of a received message in the DKIM-Signature field after s=), enter it in the check.

Recommendation: 2048-bit keys and a signature for every service that sends on your behalf.

Check my domain

DMARC: What happens when SPF and DKIM fail?

DMARC is published as a TXT record at _dmarc.your-domain.com and starts with v=DMARC1. It defines how recipients should treat messages that pass neither SPF nor DKIM in alignment with the visible sender address: p=none (observe only), p=quarantine (spam folder) or p=reject (reject).

With rua=mailto:… you receive aggregate reports from recipients about who sends on your behalf. The usual path: start with p=none and reports, add all legitimate senders to SPF/DKIM and tighten the policy step by step to quarantine and reject.

Only a strict policy effectively protects against forged sender addresses. Since 2024, large mailbox providers require bulk senders to authenticate with SPF, DKIM and DMARC.

Check my domain

MX: Where should mail for your domain go?

MX records name the mail servers that accept email for your domain, each with a priority (lower number = preferred). Without them, nobody can reliably send mail to your domain.

MX records must point to hostnames that resolve through an A or AAAA record; pointing to a CNAME or directly to an IP address is incorrect. A “null MX” (0 .) deliberately states that the domain does not receive mail.

Check my domain

STARTTLS and TLS: Encryption between mail servers

Mail servers exchange messages via SMTP. STARTTLS upgrades the connection to TLS during the conversation. Without this encryption, mail travels across the network in plain text.

PutBerry connects to your MX servers, checks whether STARTTLS is offered and evaluates the certificate (validity, expiry, matching name). Between mail servers an unsuitable certificate is often tolerated, but it can lead to rejections when senders apply stricter rules such as MTA-STS or DANE. PutBerry shows MTA-STS and DANE as an optional additional check; they do not affect the overall rating.

Some networks block outgoing connections on port 25. The test then cannot take place and is reported as “not checkable” or “technical error”, not as a security problem.

Check my domain

Blocklists: Is your mail server on a blacklist?

Blocklists (DNSBL) collect IP addresses that have attracted attention through spam or abuse. Many recipients reject or filter out mail from listed addresses. The lookup runs over DNS: if the address is listed, the blocklist answers with a code.

PutBerry queries the mail server addresses of your MX records and, optionally, sending IP addresses you provide against several public lists. A listing is an indication, not a verdict: every list has its own criteria and removal procedures. If a list does not answer or refuses the query, the result for that list is “not checkable”.

Check my domain

Limits of the check

  • PutBerry checks from the outside what is publicly visible: DNS records, a connection test to your mail servers and blocklists.
  • No email is sent and no credentials are requested. Deliverability of individual messages, content, the reputation of individual senders and the internal settings of your mail system cannot be assessed this way.
  • A “passed” is not a guarantee of security or deliverability. What cannot be determined reliably from the outside is shown as “not checkable” and not rated.
  • MTA-STS, TLS-RPT, DANE, BIMI and DNSSEC only appear as additional checks and do not count towards the overall rating; DNSSEC is verified cryptographically from the root zone, DANE against the certificate actually served.