If your business sends email from an address like you@yourcompany.com, three DNS records decide whether it reaches the inbox or the spam folder: SPF, DKIM and DMARC. Gmail, Yahoo and Outlook now expect all three from anyone sending in volume, and missing records are one of the most common reasons business email goes to spam. Setting them up takes under an hour and costs nothing beyond your email plan.
What do SPF, DKIM and DMARC do?
- SPF (Sender Policy Framework) lists the servers allowed to send email for your domain.
- DKIM (DomainKeys Identified Mail) adds a digital signature to each message, proving it came from your domain and was not changed on the way.
- DMARC tells receiving servers what to do when a message fails those checks, and sends you reports about who is sending email using your domain.
Together they stop others from sending email that pretends to be you, and they give mailbox providers confidence that your real messages are legitimate.
What do Gmail, Yahoo and Outlook require?
Since 2024, Google and Yahoo require every sender to pass SPF or DKIM. Bulk senders, meaning roughly 5,000 or more messages a day to their users, must pass both SPF and DKIM, publish a DMARC record (at least p=none) and align the From domain, keep spam complaints low and offer one-click unsubscribe for marketing mail. Microsoft applied similar rules to Outlook.com and Hotmail from May 2025, and Gmail increased rejections of non-compliant mail from November 2025. Even if you send far less, following the same baseline is the simplest way to stay out of spam.
Step 1: SPF
Add one TXT record at the root of your domain. Use the version for your email provider:
- Google Workspace: v=spf1 include:_spf.google.com ~all
- Microsoft 365: v=spf1 include:spf.protection.outlook.com -all
If other services send email as your domain, such as a newsletter tool, invoicing software or your website's contact form, add their include values to the same record. Keep only one SPF record per domain, and stay within SPF's limit of 10 DNS lookups.
Step 2: DKIM
DKIM keys are generated by your email provider. In Google Workspace, go to the Admin console, Apps, Gmail, Authenticate email, generate a 2048-bit key and add the TXT record it shows. In Microsoft 365, enable DKIM in the Defender portal and add the two CNAME records it gives you. Then switch DKIM signing on. Repeat for every other service that sends as your domain, using the DKIM settings each one provides.
Step 3: DMARC
Add a TXT record named _dmarc with a starting policy that only monitors:
- v=DMARC1; p=none; rua=mailto:dmarc-reports@yourcompany.com
Read the reports for two to four weeks to find every legitimate service sending as your domain and fix any that fail. Then move to p=quarantine and, once nothing legitimate fails, p=reject. Do not start with reject, or you may block your own invoices or website forms.
How to test your setup
- Send a message to a Gmail address, open it, choose Show original and check that SPF, DKIM and DMARC all say PASS.
- Use a free DNS checker to confirm you have exactly one SPF record and a valid DMARC record.
- Test every system that sends email for you, not only your main mailbox.
- If you send newsletters, register your domain in Google Postmaster Tools to watch spam rates.
Common mistakes
- Two separate SPF records instead of one combined record.
- Forgetting the website contact form or billing software that sends as your domain.
- Jumping straight to p=reject before reading DMARC reports.
- Using a free Gmail or Yahoo address for business, which looks less professional and cannot be authenticated with your own domain.
iSharp Technologies sets up and fixes business email for small businesses remotely, including SPF, DKIM and DMARC for Google Workspace and Microsoft 365.
Frequently asked questions
Do I need DMARC if I only send a few emails a day?
It is strongly recommended. Gmail and Yahoo require SPF or DKIM from all senders, and a DMARC record also protects your domain from being used in phishing.
Can I have more than one SPF record?
No. Multiple SPF records cause SPF to fail. Combine all senders into a single record.
How long do DNS changes take?
Usually minutes to a few hours, occasionally up to 48 hours, depending on your DNS provider and record TTL.
Sources
- Google: Email sender guidelines
- Red Sift: Bulk email sender requirements guide
- Suped: DMARC, DKIM and SPF updates for Gmail and Yahoo
IT Services & Support: Systems, networks, email and support for offices, clinics and shops. Our roots since 2004.