Home›Guides›Email security
Email security · Understand
SPF states which servers may send for a domain, DKIM signs the message, and DMARC checks that one of the two matches the domain shown in “From” and says what to do if the check fails. Together, they prevent a stranger from using your exact domain. They do not read the text: a cousin domain, a misleading display name or a compromised account all get through.
Updated October 20266 minOfficial sources cited
RFC 7208 starts from an observation: nothing in the email protocol prevents a server from claiming any sender address. SPF lets a domain owner publish in DNS the list of servers authorized to send on its behalf, and lets the receiving server check that authorization.
Two details change everything:
A domain publishes only one SPF record. Every sending source must be listed in it: email service, invoicing software, newsletter tool, CRM, copier that scans to email.
According to RFC 6376, DKIM allows the owner of a signing domain to claim some responsibility for a message, by means of a cryptographic signature. The public key is in DNS. Verifying the signature establishes that the signed parts have not changed since signing.
The signature travels with the message. It therefore survives a relay or forwarding better than SPF does, as long as that relay does not modify the subject or the body. A mailing list that adds a footer to the message breaks it.
What DKIM does not do, according to the same RFC: it does not encrypt the message, a failure does not require rejection, and the signing domain does not have to be the one shown in “From.” That is precisely the gap DMARC fills.
RFC 7489 defines DMARC as a way for a domain owner to express a domain-level policy. The mechanism relies on alignment: the domain of the address shown in “From” must match the domain validated by SPF or by DKIM. If neither is aligned, DMARC fails.
The domain then publishes what it wants:
DMARC also provides for reports: aggregate reports, which summarize which servers sent on behalf of the domain and with what result, and failure reports, message by message. These are what let you discover a forgotten tool sending on your behalf, or someone spoofing your domain.
| Mechanism | What it checks | What it does not look at |
|---|---|---|
| SPF | The server delivering the message is authorized for the envelope domain | The displayed address, the content |
| DKIM | The signed message has not been altered; a domain takes responsibility for it | The displayed address, the honesty of the content |
| DMARC | The displayed domain is aligned with SPF or DKIM; policy in case of failure | Lookalike domains, the display name, the text |
It blocks part of domain spoofing, not phishing in general. RFC 7489 says so explicitly: DMARC does not address visually similar domain names or display-name abuse, and content analysis is outside its scope. It does not attempt to solve every problem of fraudulent email.
In practice, DMARC does not see:
These cases call for other analyses: domain similarity, reputation, content, behavior. See spam, phishing, malware and compromised accounts.
Forwarding often breaks SPF, a list that modifies the message breaks DKIM, and DMARC then fails on a legitimate message. ARC, described in RFC 8617 (experimental status), lets each intermediary attest to the authentication result it observed. The final server may choose to take it into account.
These are two topics that are often confused.
An example, for illustration. A firm publishes DMARC at “none” and reads its first reports. It discovers three sources: its email service, properly aligned; its invoicing software, which sends invoices with the firm’s domain without a DKIM signature; and an unknown server abroad sending hundreds of messages in its name. It fixes the invoicing software, waits for a clean report cycle, then moves to “quarantine”: recipients that enforce DMARC now treat messages from the unknown server as suspicious.
When you change email services, these records are prepared before the MX change. The guide migrating email without interruption describes that moment; it is not repeated here.
No. It allows monitoring through reports. Protection starts with “quarantine” or “reject.”
Most often: forwarding, a mailing list, or a service sending on your behalf without being declared in SPF or signing with DKIM.
A gateway placed on the outbound path can sign in its place. See Protecting the email system you already have.
In the message headers. For Klytic MTA, see Reading and exporting a filter decision.
Klytic MTA handles both topics, in front of any email service:
DMARC is only one layer: Klytic MTA adds detection of lookalike domains, display names and fraud scenarios, described in impersonation and CEO fraud.
If you use Klytic Mail, SPF, DKIM and DMARC are configured for your domain: that is protection of the sending domain. Klytic MTA can be subscribed to with or without Klytic Mail.
Consulted in October 2026.
Klytic MTA checks SPF, DKIM and DMARC on arrival and signs your outgoing mail.
Welcome offer
No-commitment trial offer. An advisor will call you back to understand your needs and prepare your Klytic space.