📬 InboxFix KitAll guides

SPF + DKIM + DMARC for Microsoft 365 / Outlook and Amazon SES

Updated 2026-11-18. Lookup counts measured live from public DNS on that date.

Using Microsoft 365 / Outlook for your inbox and Amazon SES to send? You need one SPF record covering both, DKIM in both, and one DMARC record. Amazon SES's SPF belongs on a sending subdomain, not in this root record. Keep the root record below and add the subdomain records exactly as Amazon SES shows them.

TypeHostValue
TXT@v=spf1 include:spf.protection.outlook.com ~all
TXT_dmarcv=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com; adkim=r; aspf=r

SPF lookups used by this record: 1 of 10 (measured 2026-11-18). You have room for 9 more.

DKIM: turn it on in both services

Microsoft 365 / Outlook: Microsoft Defender portal > Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM tab > click your domain > copy the two CNAME records (selector1._domainkey and selector2._domainkey) > publish them > toggle 'Sign messages for this domain with DKIM signatures' to Enabled.

Amazon SES: AWS console > Amazon SES > Identities > your domain > Authentication > Easy DKIM: publish the three CNAMEs (random tokens). For SPF alignment configure a custom MAIL FROM subdomain (e.g. bounce.yourdomain) with MX feedback-smtp.<region>.amazonses.com and TXT v=spf1 include:amazonses.com ~all.

Then tighten DMARC

After 2-4 weeks of reports showing both Microsoft 365 / Outlook and Amazon SES passing, change the DMARC record to p=quarantine, and later p=reject.

Check your own domain in 5 seconds

Free SPF, DKIM and DMARC check. If something is broken, get the exact records for your setup (€29 one-time).

FAQ

Can I have two SPF records?

No. A domain must publish exactly one TXT record starting with v=spf1. Two records cause a permanent error and SPF fails for every email. Merge all include: entries into one record.

Should I use ~all or -all?

Use ~all (softfail) while you are setting things up and reading DMARC reports. Once every legitimate sender passes, -all is stricter. DMARC policy matters more than the SPF qualifier for most receivers.

How do I check that Microsoft 365 / Outlook + Amazon SES passes?

Send an email to a Gmail address, open it, click the three dots and choose Show original. You want SPF: PASS, DKIM: PASS and DMARC: PASS.

How long do DNS changes take?

Usually 5 to 60 minutes, depending on the TTL of the old record. Some registrars take a few hours.

Will adding Amazon SES break my Microsoft 365 / Outlook email?

Not if you edit the existing SPF record instead of adding a second one, and stay under 10 lookups.