How to set up DKIM and SPF

A 10-step method for Google Workspace, Microsoft 365 and any email tool, 7 checkers compared, and the limits that make authentication fail.

Short answer: to set up DKIM, generate a key in the service that sends your email (Google Workspace, Microsoft 365, your newsletter or CRM tool), publish the public key it gives you as a DNS record at selector._domainkey.yourdomain.com, wait for DNS to update, then switch signing on and check that a test message shows dkim=pass. Do SPF in the same sitting: one TXT record listing every service allowed to send as your domain, with no more than 10 DNS lookups. Then add a DMARC record so you can see who passes.

We compared the 7 tools the top guides keep recommending for checking and monitoring SPF and DKIM, read their pricing pages line by line, and wrote down where the free plans stop. If you want to be guided step by step, start with EasyDMARC. If your domain is personal, dmarcian is free. If your DNS is on Cloudflare, its DMARC Management costs nothing.

Romain CochardCEO of Hack'celeration
Updated 20267tools compared10steps9traps and tips

The ranking is editorial: a sponsored placement is always flagged on its card, and no affiliate link changes a score.

The tools

7 tools to check and monitor SPF and DKIM

What SPF and DKIM are. SPF (Sender Policy Framework) is a TXT record in your DNS that lists the servers and services allowed to send email as your domain. DKIM (DomainKeys Identified Mail) adds a cryptographic signature to each message: the sending service signs with a private key, and the receiving server checks it against the public key you publish in DNS. If the message was altered on the way, or sent by someone without the key, the check fails. DMARC sits on top of both: it tells receivers what to do when they fail, and sends you reports on who is sending as you.

Why you cannot skip them. Gmail asks every sender to set up SPF or DKIM, and anyone sending 5,000 or more messages a day to Gmail must have SPF, DKIM and DMARC, with the From domain aligned with SPF or DKIM. Outlook.com applies the same rule to domains sending more than 5,000 emails a day. Below those volumes, unauthenticated mail still lands in spam more often.

What the tools below do. You do not need software to publish SPF and DKIM: your email service generates the key and your DNS host stores the records. The tools help before and after. Before, they check your existing records and count your SPF lookups. After, they read the DMARC reports that mailbox providers send as XML files and turn them into a list of senders that pass or fail. When you compare them, look at four things: domains included, emails or messages per month (the volume of mail the reports cover, not mail you send through them), months of report history, and whether SPF and DKIM can be managed from the tool (hosted SPF) or only checked. Prices are in US dollars: dmarcian's exclude tax, while PowerDMARC states that its prices include tax. Other report monitors that comparison guides list, such as DMARC Advisor, DMARKOFF and DMARCLY, work on the same principle: you point the rua address of your DMARC record at them. For one domain, the free weekly DMARC digest from Postmark (top 10 sources, last 7 days) is the simplest report to read.

Best forFree planTeam sizeVisit
1EasyDMARCBest guided setup for a small business4.4/5DMARC Plus $35.99/mo billed yearly ($44.99 monthly), 2 domains—Small and mid-size businessesVisit →
2dmarcianBest free plan for a personal domain, best for learning4.2/5Free for personal use; Basic $19.99/mo billed yearly ($24 monthly)✓Personal domains, small businessesVisit →
3Red Sift OnDMARCBest for managing DKIM and SPF from one place4.2/5Express from $9/mo billed yearly, up to 4 domains—IT teams, mid-size companiesVisit →
4PowerDMARCCheapest entry price, most features per dollar4.1/5Free for personal domains; Basic from $8/mo billed monthly ($6.42 billed yearly)✓Small teams, MSPsVisit →
5Cloudflare DMARC ManagementBest free monitor if your DNS is on Cloudflare4.0/5Free on all Cloudflare plans (Cloudflare DNS required)✓Cloudflare DNS usersVisit →
6Valimail MonitorBest free monitor for identifying senders by name3.9/5Monitor free; Enforce on quote✓Mid-size and large companiesVisit →
7MxToolboxBest free lookups and DNS troubleshooting3.8/5Free lookups; Delivery Center $129/mo for 5 domains✓IT admins, email marketersVisit →

Is your tool missing from this page? Email us: hello@hackceleration.com

1
Best guided setup for a small business

EasyDMARC

4.4/5

EasyDMARC is named by four of the eight comparison guides we read, and the reason shows in the first hour: it is built to identify every sending source, fix authentication gaps and move from monitoring to enforcement. That is exactly the inventory you need before you touch your DNS. The wider view of sending activity across ESPs, IPs and mailstreams belongs to its Sender Insights module, which starts on the custom-priced Deliverability plan.

Pricing starts with DMARC Plus at $35.99 a month billed yearly, or $44.99 month to month. That price covers 2 domains and 100,000 emails a month, with 3 months of data history; a higher volume raises the price. DMARC Premium, at $71.99 a month billed yearly ($89.99 monthly), goes to 4 domains, keeps one year of history and adds EasySPF, the managed SPF that Plus does not include. Annual billing saves 20%, and the 14-day free trial needs no card.

The free tools on the site are worth bookmarking even if you never pay: a DKIM Record Checker, a DKIM Record Generator, an SPF Record Generator and an SPF lookup. User reviews praise the onboarding and support, and the most common complaint is price, especially as domains and volume grow. If you mainly send transactional mail through a provider such as Postmark or SendGrid, read our transactional email services ranking first: the provider's own DKIM setup does half the work.

Standout features
  • Identifies every sending source
  • Free DKIM checker and SPF generator
  • Plus covers 2 domains and 100,000 emails a month
+Pros
  • ✓Clear, guided first setup
  • ✓Free lookup and record generator tools
  • ✓Annual billing saves 20%
−Cons
  • ✗Entry plan at $35.99 a month billed yearly
  • ✗Managed SPF (EasySPF) starts on Premium
  • ✗3 months of history on Plus
Verdict

The safest pick if you want to be told what to fix, in order. Budget about $36 a month billed yearly for two domains, and use the free generators on day one.

See EasyDMARC plans → →
2
Best free plan for a personal domain, best for learning

dmarcian

4.2/5

dmarcian's tools read like a course: the SPF Surveyor draws your SPF record as a tree and counts its lookups, and the DKIM Inspector and Validator checks a selector and the key behind it. Both are included on every plan, the free one too.

The Personal plan costs $0 and covers up to 2 domains and 1,250 DMARC-capable messages a month, for personal, non-business use only. A business starts on Basic: $24 a month billed monthly or $19.99 a month billed yearly ($239.88 a year), for 2 domains, 100,000 messages a month and 3 months of history. Prices exclude taxes, and message volumes above a tier are priced on request. Plus jumps to $199 a month billed yearly for 8 domains and a million messages.

The jump from Basic to Plus is steep: on the public grid, a third monitored domain means Plus at $199 a month billed yearly, ten times the price of Basic, unless dmarcian quotes you a Basic plan with more domains. Read the usage line before you put a company domain on the free plan: dmarcian audits Personal accounts, and one that contains a business domain expires, with an offer to move to a paid plan without losing data.

Standout features
  • SPF Surveyor and DKIM Inspector on every plan
  • Free Personal plan, 2 domains
  • Basic at $19.99 a month billed yearly
+Pros
  • ✓Explains each record instead of just scoring it
  • ✓Free for a personal domain
  • ✓Transparent public price grid
−Cons
  • ✗Personal plan is for non-business use only
  • ✗Big price step from Basic to Plus on the public grid
  • ✗Prices exclude taxes
Verdict

The best free way to learn SPF and DKIM on your own domain, and a fair entry price for a small business with one or two domains. Watch the gap to Plus.

See dmarcian plans → →
3
Best for managing DKIM and SPF from one place

Red Sift OnDMARC

4.2/5

OnDMARC's Dynamic Services let you manage DKIM, SPF, BIMI and DMARC records from inside the interface, with no need to go back to your DNS host for each change: you point your records at Red Sift once, then edit from the dashboard. Its Investigate tool checks a DNS change in seconds, instead of waiting the usual 24 hours for the next DMARC report.

Express, the small-organization plan, starts at $9 a month billed annually, for up to 4 domains, up to a million emails a month and 30 days of data history. It includes forensic reporting, API access and smart alerts. A free trial needs no card.

The limit to know: Express allows up to 10 SPF lookups, the same ceiling the standard imposes. Unlimited Dynamic SPF, the feature that beats the 10-lookup limit, starts on Essentials, which is priced on request with 25 active sender domains and one year of history.

Standout features
  • Edit SPF, DKIM and DMARC from the dashboard
  • Investigate checks a change in seconds
  • Express covers up to 4 domains
+Pros
  • ✓No trip back to the DNS host for each change
  • ✓Forensic reports and API on Express
  • ✓Low entry price billed yearly
−Cons
  • ✗Express capped at 10 SPF lookups
  • ✗Unlimited Dynamic SPF only on quote plans
  • ✗30 days of history on Express
Verdict

The best fit if DNS changes are your bottleneck. Express is cheap; budget a quote for Essentials if you already exceed 10 SPF lookups.

See OnDMARC plans → →
4
Cheapest entry price, most features per dollar

PowerDMARC

4.1/5

PowerDMARC bills by DMARC-compliant emails, which makes its entry price the lowest of the paid tools here: Basic starts at $8 a month billed monthly, or $6.42 a month billed yearly, for 50,000 emails a month, 5 active domains and one year of data history. The range runs from $8 to $250 a month as volume rises. A 15-day free trial comes before you pay.

The Free plan is for personal domains only: 10,000 emails a month, 1 active domain and 10 days of data history, with hosted DMARC and BIMI. Basic adds hosted MTA-STS and TLS-RPT, scheduled PDF reports and role-based access. Its free SPF, DKIM and DMARC checkers and record generators are open to everyone.

The catch is where the SPF and DKIM help sits. Hosted SPF and DKIM, the features that let you change records from the dashboard and stay under the SPF lookup limit, are included in Enterprise, priced on quote. On Basic they are paid add-ons, and so is email support. Without them, you edit SPF and DKIM at your DNS host yourself. A partner program with a multi-tenant panel and white label targets MSPs.

Standout features
  • Basic from $8 a month, 5 domains
  • One year of history on Basic
  • Free checkers and record generators
+Pros
  • ✓From $6.42 a month billed yearly
  • ✓5 domains on the entry plan
  • ✓Partner program for MSPs
−Cons
  • ✗Free plan for personal domains only
  • ✗Hosted SPF, DKIM and email support cost extra on Basic
  • ✗Price rises with email volume
Verdict

The cheapest serious monitor for a team with several domains. Plan to keep editing SPF and DKIM at your DNS host unless you pay for the hosted SPF and DKIM add-ons or move to Enterprise.

See PowerDMARC plans → →
5
Best free monitor if your DNS is on Cloudflare

Cloudflare DMARC Management

4.0/5

If your domain's DNS already runs on Cloudflare, DMARC Management costs nothing: it is available on all plans, for every customer with Cloudflare DNS. It tracks each source sending email from your domain and shows whether its messages pass SPF, DKIM and DMARC, in the same dashboard where you edit those records.

That proximity is its strength for a first setup: you see a failing source, open the DNS tab, fix the SPF include or add the DKIM record, and watch the next reports. It is also its limit: the tool reports, and warns when your SPF record goes over 10 DNS lookups, but every fix still happens by hand in your DNS records, with the documentation as your guide.

It only works for domains on Cloudflare DNS, and only for apex domains (example.com, not blog.example.com); Cloudflare still labels it beta. Moving a domain's DNS to Cloudflare just for DMARC reports is possible but changes where all your records live, so do it for broader reasons. If you are still choosing where to register or host your domain, see our domain registrar ranking.

Standout features
  • Free on all plans
  • Reports next to your DNS records
  • Per-source SPF, DKIM and DMARC results
+Pros
  • ✓Costs nothing
  • ✓No new account if you use Cloudflare
  • ✓Fix and check in the same place
−Cons
  • ✗Requires Cloudflare DNS
  • ✗Reports only: SPF and DKIM fixes stay manual
  • ✗Help comes from the documentation
Verdict

The obvious first monitor for a Cloudflare DNS user. Pair it with a paid tool only if you need hosted SPF or guided enforcement.

Read Cloudflare's setup docs → →
6
Best free monitor for identifying senders by name

Valimail Monitor

3.9/5

Valimail Monitor is free and promises to identify your sending services by name, which saves the IP-address detective work that raw DMARC reports demand. You sign up, add the DMARC record it gives you, and the dashboard fills in with the services it recognizes: your mail suite, your marketing tool, your help desk.

Everything beyond visibility sits in Enforce, which has no public price: each tier, Starter, Premium and Enterprise, is listed as a quote. Valimail says Enforce reaches DMARC enforcement in 60 days or less, and its pitch leans toward organizations with many senders.

For a small business, the sensible use is to run Monitor for a few weeks to build the sender list, then decide whether you can fix SPF and DKIM yourself with the method below. If one of those senders is your cold email tool, our cold email software ranking notes which ones let you add your own DKIM.

Standout features
  • Free sender discovery
  • Services named, not just IPs
  • Enforce tiers for complex setups
+Pros
  • ✓Free sign-up
  • ✓Clear sender inventory
  • ✓Services named automatically
−Cons
  • ✗Enforce priced on quote
  • ✗Pitch aimed at larger organizations
  • ✗Free tier is visibility only
Verdict

Use Monitor free to build your sender list. Ask for an Enforce quote only if you have dozens of senders and no time to fix them yourself.

Try Valimail Monitor free → →
7
Best free lookups and DNS troubleshooting

MxToolbox

3.8/5

MxToolbox's free lookups are where most admins check a record after publishing it: type the domain (and the selector for DKIM) and you see what the world sees. The free Email Health Check runs hundreds of tests on your mail, web and DNS servers in one report, but a free user gets one check every 24 hours. The free plan adds weekly blacklist monitoring for one domain.

The paid platform is a full deliverability suite, with DMARC as one module. Delivery Center costs $129 a month for 5 domains, with DMARC compliance views, recipient complaint data and 30 inbox placement tests a month, and a 30-day satisfaction guarantee. Delivery Center Plus, at $399 a month, stays at 5 domains but raises message volume tenfold, from 500,000 to 5,000,000, gives 100 tests a month and adds SPF Flattening.

That last point is the trap: the feature that keeps you under SPF's 10-lookup limit is on the $399 plan, not the $129 one. If your problem is landing in spam rather than authentication, start with our email warmup tools ranking and keep MxToolbox's free lookups for checks.

Standout features
  • Free SPF, DKIM, DMARC and blacklist lookups
  • Free Email Health Check, once every 24 hours
  • Inbox placement tests on paid plans
+Pros
  • ✓The reference for free record lookups
  • ✓DMARC plus deliverability in one plan
  • ✓30-day satisfaction guarantee on Delivery Center
−Cons
  • ✗Paid plans start at $129 a month
  • ✗SPF Flattening only on the $399 plan
  • ✗More than you need for DKIM alone
Verdict

Keep the free lookups open while you follow the method below. Pay for Delivery Center only if you also need inbox placement tests.

Run a free lookup → →
The method

How to set up DKIM and SPF in 10 steps

The order below avoids the usual rework: list your senders first, write SPF once, add DKIM for each sender, verify, then use DMARC reports to catch what you missed. Allow an afternoon for the setup and a few weeks of monitoring before you enforce.

01

1. List every service that sends as your domain

Before you touch DNS, write down everything that sends email with your domain in the From address: your mailbox suite (Google Workspace or Microsoft 365), your newsletter tool (our guide to creating a newsletter covers that side), your CRM, your help desk, your invoicing software, your website's contact form. Each one needs to be in SPF, needs its own DKIM key, or both. A forgotten sender is the most common reason authentication fails after setup.

Look in each tool's settings for a page called "domain authentication", "sender authentication" or "DKIM": it lists the exact records that tool wants. Keep them in one document, because you will publish them together. If you are still picking a sending tool for a small business, our email marketing software for SMBs ranking lists the ones that let you authenticate your own domain.

Time
30 to 60 minutes
Output
A list of senders and their records
02

2. Check what is already published

Run a free lookup (MxToolbox, dmarcian or EasyDMARC) on your domain, or type dig TXT yourdomain.com and dig TXT _dmarc.yourdomain.com in a terminal. You are looking for an existing v=spf1 record, any DMARC record, and DKIM records you may have added years ago.

If an SPF record already exists, you will edit it, not add a second one. Two SPF records on the same name make every SPF check fail with a permanent error, which is worse than having none.

Tools
Free lookup or dig
Watch for
An existing v=spf1 record
03

3. Write one SPF record and count its lookups

An SPF record is one line of text: v=spf1, then one mechanism per sender, then an ending. Most services give you an include: to add, for example the include your mail suite documents. A typical record for a company on Google Workspace plus one marketing tool looks like v=spf1 include:_spf.google.com include:servers.example-esp.com ~all.

Every include, a, mx, ptr and exists costs a DNS lookup, and so do the includes nested inside them. The standard caps the total at 10: above that, receivers return a permanent error and SPF fails for every sender. Use a checker that counts nested lookups (dmarcian's SPF Surveyor draws the tree) before you publish. End with ~all (soft fail) while you are still finding senders.

Record type
TXT on the root domain
Limit
10 DNS lookups
04

4. Generate the DKIM key in Google Workspace

In the Google Admin console, go to Apps, Google Workspace, Gmail, then Authenticate email. Select your domain and click Generate new record. Choose a 2048-bit key if your DNS host supports it, or 1024 if it does not. The default prefix selector is google, so the record name will be google._domainkey.

Google shows a TXT record value starting with v=DKIM1; k=rsa; p= followed by the public key. Copy it exactly. Do not click Start authentication yet: that comes after the record is live in DNS (step 8).

Record type
TXT
Default selector
google
05

5. Get the two DKIM records in Microsoft 365

Microsoft 365 uses two CNAME records instead of one TXT record: selector1._domainkey and selector2._domainkey, each pointing to a value Microsoft generates for your domain. Two selectors let Microsoft rotate keys later without you editing DNS again.

In the Microsoft Defender portal, open Email authentication settings, then the DKIM tab, and select your custom domain. If the records are missing, the status shows CnameMissing and the dialog lists the two values to copy. Copy them from the portal or with the Get-DkimSigningConfig PowerShell command: the values in Microsoft's documentation are examples only, and the format includes a character Microsoft assigns per domain.

Record type
2 CNAME
Selectors
selector1, selector2
06

6. Add DKIM for each other sending tool

Newsletter, CRM and transactional email tools each sign with their own key, under their own selector. Most give you two or three CNAME records to publish (some a TXT), so the tool can rotate keys on its side. Add every set: DKIM selectors do not use up SPF lookups.

Check one detail: two tools must not use the same selector name. If both ask for k1._domainkey, the second record overwrites the first and one of them fails. If a tool lets you sign with your own domain only on a paid plan, write it down: until then, its mail will not align for DMARC. Our email marketing software ranking notes how each tool handles domain authentication.

Record type
Usually CNAME
Rule
One unique selector per tool
07

7. Publish the records at your DNS host

Open your DNS host (registrar, Cloudflare, your web host) and add each record with the exact name and value. Most hosts add your domain automatically, so the name is google._domainkey, not google._domainkey.yourdomain.com. Typing the full name often creates google._domainkey.yourdomain.com.yourdomain.com.

A 2048-bit key is longer than the 255 characters a single TXT string can hold. Split it into several strings, each in quotes, one after another in the same record, all characters in order. Some hosts do it for you; others refuse quotes, and pasting the key as one unbroken string works there. Remove line breaks and stray quotes: either one makes the key unusable.

Common error
Domain name typed twice
Long keys
Split into 255-character strings
08

8. Switch signing on and check a real message

Once the record shows up in a lookup, go back to your email service and turn signing on: Start authentication in Google Workspace, the Sign messages toggle in Microsoft Defender. Google warns that DKIM can take up to 48 hours to start working after you add the key.

Then send a message to a Gmail address, open it, choose Show original, and look for DKIM: PASS with your domain, and SPF: PASS. If DKIM shows a different domain (the sending tool's), that tool is still signing with its own key: go back to step 6.

Wait
Up to 48 hours
Proof
DKIM: PASS with your domain
09

9. Publish DMARC in monitoring mode

Add a TXT record at _dmarc.yourdomain.com with v=DMARC1; p=none; rua=mailto: followed by the reporting address of the tool you picked above. p=none changes nothing for delivery: it only asks mailbox providers to send you reports. Gmail's bulk sender rules and Outlook's both accept p=none as the minimum.

Read the reports for two to four weeks. Every legitimate service that fails SPF or DKIM alignment goes back to steps 3 and 6.

Record
TXT at _dmarc
Start policy
p=none
10

10. Tighten the policy once every sender passes

When the reports show all your real senders passing, move DMARC to p=quarantine, then to p=reject, a few weeks apart. Leave SPF on ~all: Google recommends it, and with DMARC at reject, the DMARC policy is what blocks spoofed mail.

Enforcement is what actually stops someone sending as your domain. Keep your monitor running afterward: a new tool added by a colleague will fail silently until you add its records.

Next policy
p=quarantine, then p=reject
Keep
Monitoring on
Traps and tips

What makes SPF and DKIM fail after setup

Nine limits we found in the standards, the mailbox providers' help pages, the tools' pricing pages and admin forums. Most guides skip them, and each one can undo a setup that passed on day one.

01

Two SPF records break SPF for everyone

The SPF standard forbids more than one SPF record on a domain name, and a receiver that finds two returns a permanent error. It happens all the time when a new tool's setup guide says "add this TXT record" and someone adds a second v=spf1 line instead of merging the include into the existing one. Merge, never add.

02

Dead includes count against you too

Beyond the 10-lookup cap, the standard says receivers should allow only two "void lookups", lookups that return nothing. An include left behind for a tool you cancelled, whose record no longer exists, eats into that allowance. Exceeding it also produces a permanent error. Clean out old includes whenever you drop a tool.

03

Gmail refuses keys shorter than 1024 bits

Sending to personal Gmail accounts requires a DKIM key of 1024 bits or longer, and Google recommends 2048 bits if your DNS host supports it. A key generated years ago may be shorter than you think: a DKIM lookup tool shows the key length, so check it once.

04

A footer added on the way out breaks DKIM

If an outbound gateway or security tool adds a footer or disclaimer to each message after it is signed, the content no longer matches the signature and DKIM fails. Configure the gateway not to modify outgoing mail, or have it sign after it modifies.

05

A secondary DNS can corrupt the key for some receivers

In a case documented in 2024, a domain had two primary and two secondary name servers, and the secondary DNS service mishandled the double quotes inside the DKIM key. Resolvers favored the faster secondaries, so more than half of the mail failed DKIM. If DKIM passes in your test and fails in some DMARC reports, look up the selector against each of your name servers.

06

PowerDMARC's hosted SPF and DKIM cost extra on Basic

Basic, from $8 a month billed monthly, includes hosted DMARC, BIMI, MTA-STS and TLS-RPT. Hosted SPF and DKIM, which let you manage those records from the dashboard and get around the SPF lookup limit, are paid add-ons on Basic and are included only in Enterprise, priced on quote. Email support is an add-on on Basic too. Ask for both prices before you compare Basic with a plan that includes them.

07

OnDMARC Express keeps the 10-lookup ceiling

Express, from $9 a month billed yearly, allows up to 10 SPF lookups. Unlimited Dynamic SPF starts on Essentials, priced on request. If you already count more than 10 lookups, Express shows you the problem but does not solve it.

08

MxToolbox's SPF Flattening costs $399 a month

Delivery Center at $129 a month covers 5 domains with DMARC views and inbox tests, but SPF Flattening is part of Delivery Center Plus at $399 a month. Before paying for flattening anywhere, remove the includes you do not need. Flattening by hand is no shortcut: the record lists IP addresses instead of includes, and it goes stale as soon as a vendor changes its IP addresses.

09

The free plans of dmarcian and PowerDMARC are for personal domains

dmarcian's Personal plan is limited to personal, non-business use, 2 domains and 1,250 messages a month. PowerDMARC's Free plan is for personal domains only, with 10,000 emails a month, 1 domain and 10 days of history. For a company domain, the free options are Cloudflare DMARC Management (if your DNS is there), Valimail Monitor and Postmark's weekly digest.

FAQ

Setting up DKIM and SPF: your questions

  • Can I have more than one DKIM record on my domain?

    Yes, as long as each uses a different selector. The selector is the part before ._domainkey, so google._domainkey and selector1._domainkey can live side by side, one per sending service. Two records under the same selector conflict, and receivers may read the wrong key.

  • How do I find which DKIM selector a service uses?

    Open a message the service sent, view its full headers, and find the DKIM-Signature line: the s= value is the selector and d= is the signing domain. Microsoft 365, for example, writes values like s=selector1-contoso-com. Then look up selector._domainkey.yourdomain.com to see the public key.

  • Do I need DKIM if I already have SPF?

    Yes if you send in volume: Gmail requires both SPF and DKIM from senders of 5,000 or more messages a day, plus DMARC. Below that, Gmail asks for SPF or DKIM, and Outlook.com requires SPF, DKIM and DMARC from domains sending more than 5,000 emails a day.

  • What happens if DKIM fails but SPF passes?

    DMARC still passes if SPF passes and is aligned, meaning the domain SPF checked matches the From domain. Gmail and Outlook both accept alignment with either SPF or DKIM. So when a tool's DKIM fails, check whether its SPF result is for your domain or for the tool's own domain: only the first one counts for DMARC.

  • How do I fix "too many DNS lookups" in my SPF record?

    Cut the lookups before you pay to hide them. An SPF record can hold up to 10 include: tags, and nested includes count toward the same 10. Remove the includes of tools you no longer use, and give a high-volume sender its own subdomain with its own SPF record, so its include stops counting against your main domain. Only then compare paid fixes: EasyDMARC's managed SPF (EasySPF) comes with Premium at $71.99 a month billed yearly, OnDMARC's Unlimited Dynamic SPF with Essentials on quote, and MxToolbox's SPF Flattening with the $399 Delivery Center Plus.

  • Does Microsoft 365 sign my email with DKIM by default?

    Only for the initial onmicrosoft.com domain: mail from contoso.onmicrosoft.com is signed automatically. For your own custom domain, you need the two CNAME records and to turn signing on in the Defender portal.

  • How often should I rotate DKIM keys?

    At least every six months: that is the cycle the anti-abuse working group M3AAWG has recommended since its 2019 update, which moved it from quarterly. Hosted services such as Microsoft 365 rotate for you through their two selectors; with your own keys, publish the new selector before you switch signing, and leave the old one up for a few days.

  • What error does Outlook return when authentication is missing?

    Outlook.com rejects non-compliant mail from domains sending more than 5,000 emails a day with 550; 5.7.515 Access denied, sending domain [SendingDomain] does not meet the required authentication level. Microsoft first announced that such mail would go to the Junk folder, then decided in 2025 to reject it outright. If you see 5.7.515 in a bounce, check that SPF and DKIM pass and that DMARC is at least p=none and aligned with one of them.

  • Why does my DKIM record show "p= must not be empty" in a checker?

    Usually because a stray double quote or line break ended up inside the key when it was pasted into the DNS form. The checker reads the key as truncated. Delete the record, paste the value again as plain text without quotes or line breaks, and let the host split it if it needs to.