# SPF, DKIM, DMARC, MX and MTA-STS check: free online | konformia

> Free online SPF, DKIM, DMARC, MX and MTA-STS check: are your domain's mail records right and is the SSL certificate valid? No sign-up.

Source: https://konformia.at/en/email-check

# SPF check, DKIM check and DMARC check

We read your domain's MX, SPF, DKIM and DMARC records, MTA-STS policy and TLS-RPT where announced, and check your website's certificate. You see right away what is missing or set up wrong.

Free, no sign-up · no credit card · public DNS records only · [Deutsch](https://konformia.at/e-mail-check)

## What the three records do

### SPF: who may send

A TXT record on your domain that lists the servers allowed to send mail for it, for example `v=spf1 include:_spf.google.com ~all`. The end decides what happens to everyone else: `~all` marks them as suspicious, `-all` rejects them. `+all` allows the whole internet and makes the record worthless.

### DKIM: a signature on every message

Your mail service signs each message. Recipients find the public key at `selector._domainkey.your-domain`. We try the common selectors; if your service uses its own, the check may not find it, and that is not an error on your side.

### DMARC: the rule for failures

A TXT record at `_dmarc.your-domain`, for example `v=DMARC1; p=none; rua=mailto:dmarc@your-domain`. `p` is the policy (none, quarantine, reject), `rua` the address for daily reports. DMARC passes when SPF or DKIM passes for the same domain as the visible sender.

## Records by provider

| Provider | SPF | DKIM |
| --- | --- | --- |
| Google Workspace | v=spf1 include:_spf.google.com ~all | TXT at google._domainkey, generated in the Admin console (Gmail, Authenticate email) |
| Microsoft 365 | v=spf1 include:spf.protection.outlook.com ~all | two CNAMEs, selector1._domainkey and selector2._domainkey, target shown in the Defender portal |
| IONOS | v=spf1 include:_spf-eu.ionos.com ~all | selector and value from the IONOS customer area, if your plan offers DKIM |
| Strato | v=spf1 include:smtp.rzone.de ~all | selector and value from the Strato customer area, if your plan offers DKIM |
| all-inkl | v=spf1 include:spf.kasserver.com ~all | selector and value from the KAS, if your plan offers DKIM |
| Mailchimp | not needed | two CNAMEs, names and targets under Account, Domains, Start authentication; the guide does not ask for an SPF record |
| Brevo | v=spf1 include:spf.brevo.com ~all | the records Brevo shows under Senders, Domains; on shared IPs DKIM counts, not SPF |

Several senders (mailbox and newsletter tool) go into one record: `v=spf1 include:_spf.google.com include:spf.brevo.com ~all`.

## Set up step by step

### List every sender

Mailbox (Google Workspace, Microsoft 365, your host), shop system, newsletter tool, invoicing or helpdesk software: everything that sends with your domain as sender.

### One SPF record

At your domain provider, one TXT record on the domain itself: v=spf1, one include per sender from the table, ~all at the end. If a record already exists, extend it instead of adding a second.

### Switch on DKIM per sender

In each service, set up domain authentication and add the records it shows at your domain provider. Afterwards the service usually shows “verified”.

### Start DMARC with p=none

TXT record at _dmarc with v=DMARC1; p=none; rua=mailto: and an address that can receive reports. Check here again; all three should now be found.

### Tighten after reading the reports

When the reports show for a few weeks that all your senders pass, switch to p=quarantine, later to p=reject.

## The parts of a DMARC record

| Tag | Meaning |
| --- | --- |
| v=DMARC1 | identifier, always first |
| p=none \| quarantine \| reject | policy: observe only, to spam, reject |
| rua=mailto:… | address for the daily aggregate reports |
| sp= | policy for subdomains; if missing, p applies |
| pct= | share of mail the policy applies to (default 100) |
| adkim= / aspf= r \| s | how exactly the domain must match: r relaxed (subdomain is enough), s strict |

Example for the start: `v=DMARC1; p=none; rua=mailto:dmarc@your-domain`. Example after a few clean weeks: `v=DMARC1; p=reject; rua=mailto:dmarc@your-domain`.

## Common mistakes

- **Two SPF records.** Then none applies. Merge them into one.

- **More than 10 DNS lookups.** Each include, a, mx and redirect counts, including nested ones. Above 10, SPF fails (RFC 7208). Remove senders you no longer use.

- **+all or?all at the end.** Allows everyone or says nothing. Use ~all, later -all.

- **DMARC p=none for years without reading reports.** p=none only observes. Read the reports, then tighten.

- **Newsletter tool without DKIM for your domain.** Mail is signed with the tool's domain, DMARC fails for yours.

## Questions

### What is the difference between SPF, DKIM and DMARC?

SPF lists the servers allowed to send for your domain. DKIM signs every message with a key whose public half sits in DNS. DMARC tells recipients what to do with mail that fails both and where to send reports.

### Can there be several SPF records?

No. With two TXT records starting v=spf1, none applies (RFC 7208, permerror). All senders belong in one record.

### Which DMARC policy should I start with?

p=none with an rua address for reports. Once the reports show all your senders pass for a few weeks, move to p=quarantine and later p=reject.

### How long does a DNS change take?

Usually minutes, up to a few hours depending on the provider and TTL. Then check again here.

### What is a DKIM selector?

The name before ._domainkey under which a service publishes its public key, such as google or selector1. Every sender has its own, so several DKIM records side by side are correct.

### What is in DMARC reports?

Which servers sent mail with your domain as sender in the last 24 hours, how many messages, and whether SPF and DKIM passed. They show which sender is still missing before you tighten the policy.

### What is the difference between ~all and -all?

~all (softfail) marks mail from servers not listed as suspicious, -all (fail) declares it not allowed. With DMARC in place its policy decides anyway; ~all is the usual, safe start.

### Why does my email land in spam?

Often because the website, the shop or the newsletter tool sends through a server that is not in SPF and does not sign with DKIM for your domain. Since February 2024 Google and Yahoo require SPF, DKIM and DMARC from bulk senders.

### What does the MTA-STS check cover?

If your domain has a record at _mta-sts, we fetch the policy from https://mta-sts.your-domain/.well-known/mta-sts.txt and check that it can be retrieved, that it lists every one of your MX servers (otherwise servers in enforce mode will not deliver your mail) and that a TLS-RPT record for reports exists at _smtp._tls. Without an MTA-STS record we show nothing on it: MTA-STS is optional.
