Email on your own domain: why it lands in spam (SPF, DKIM, DMARC)
What SPF, DKIM and DMARC are, what Gmail, Yahoo and Outlook have required since 2024, and how to check your business email is set up properly.
Written by Joan Cama Ribot

If your emails keep landing in spam, the most common reason is that your domain can't prove the message really comes from you. Gmail, Outlook and Yahoo check three DNS records before deciding where to put it: SPF (which servers may send on your behalf), DKIM (a signature proving the message comes from your domain and hasn't been tampered with) and DMARC (what to do if something doesn't add up). Getting them right doesn't guarantee the inbox, but without them you start at a disadvantage. Here's what each one does, what it looks like and how to check whether your domain has them.
In this article
- Why do your emails end up in spam?
- What have Gmail, Yahoo and Outlook changed since 2024?
- What are SPF, DKIM and DMARC? A simple analogy
- What if I still send from an @gmail.com address?
- How can you check whether your domain is set up correctly?
- Checklist for your business email
- Are your emails reaching the inbox?
Why do your emails end up in spam?
Email was designed without security in mind: anyone can write a message and put whatever sender they like on it. Spain's national cybersecurity institute, INCIBE, makes the point to businesses: the protocol has no built-in answer to spam or impersonation. That's why the big providers are wary of messages they can't verify.
When you send a quote, an invoice or a newsletter, the receiving server runs several checks: whether the sending server is authorised by your domain, whether the message carries a valid signature, what reputation the domain has and whether recipients have marked your emails as spam before. If authentication fails, everything else counts more heavily against you. These are the most common causes:
- A domain with no SPF, DKIM or DMARC, or with records nobody has looked at since the mailboxes were set up.
- Services sending on your behalf without authorisation: the website contact form, the online shop, the invoicing software or the newsletter tool, on top of everyday email.
- Two SPF records on the same domain, which the specification treats as an error.
- Newsletters with an @gmail.com sender sent through an external platform.
- Contact lists that never asked to hear from you and end up marking your messages as spam.
What have Gmail, Yahoo and Outlook changed since 2024?
Since 1 February 2024, Google has required a set of minimum standards from anyone sending to personal Gmail accounts. Yahoo began enforcing very similar requirements the same month, and Microsoft followed for Outlook.com, Hotmail and Live from 5 May 2025. In short:
- All senders: SPF or DKIM set up on the sending domain, valid forward and reverse DNS, and a spam complaint rate below 0.3%. Google also requires an encrypted connection (TLS) and recommends keeping complaints below 0.1%.
- Bulk senders (for Google, around 5,000 messages a day or more to Gmail accounts): both SPF and DKIM, a published DMARC record (a
p=nonepolicy is enough), the sender's domain aligned with the SPF or DKIM domain and, for marketing emails, one-click unsubscribe plus a visible unsubscribe link. Yahoo adds that unsubscribes must be honoured within 2 days. - Microsoft, for domains sending 5,000 or more emails to its consumer services: SPF and DKIM must pass, a DMARC record is required (at least
p=none) and at least one of the two must be aligned. From 5 May 2025, Microsoft began sending these messages to the Junk folder and announced that it would eventually reject them with error550 5.7.515.
A small business sending quotes and invoices isn't a bulk sender. But the message from the big three is clear: what used to be good practice is now the minimum they check for. And if one day you send a newsletter to your whole customer base, you want this sorted beforehand, not afterwards.
What are SPF, DKIM and DMARC? A simple analogy
Imagine your company sends its letters by courier, and at each client's office a reception desk decides what gets in.
SPF: the list of approved couriers
SPF (Sender Policy Framework, RFC 7208) is a list you publish in your domain's DNS naming the servers allowed to send email on your behalf. Reception looks at who's delivering the letter and checks whether they're on the list. One important detail: SPF checks the technical envelope address (the return path), which isn't always the address the recipient sees; that's where DMARC comes in. An example for a fictitious domain that sends through its email provider and its own server:
example.com TXT "v=spf1 include:_spf.mail-provider.example ip4:203.0.113.10 ~all"
The last part says what to do with every other server: ~all means they're probably not authorised (softfail) and -all means they aren't (fail). Two rules that are often broken: only one SPF record per domain, and no more than 10 DNS lookups (each include uses at least one). Go over the limit and the result is a permanent error, so SPF stops doing its job.
DKIM: the wax seal
DKIM (DomainKeys Identified Mail, RFC 6376) adds a digital signature to every message. The sending service signs with a private key and you publish the public key in your DNS. Reception checks the seal: if it matches, it knows the letter comes from your domain and nobody has opened or altered it on the way.
selector1._domainkey.example.com TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0B…"
The key is generated by the sending service (your email provider, newsletter platform or online shop); you just copy the record into your DNS. Each service should sign with your domain, usually with its own selector.
DMARC: the instructions for reception
DMARC (RFC 7489, from 2015, replaced in May 2026 by RFC 9989) ties both checks to the sender the recipient actually sees: it requires the domain in the From address to match, or be aligned with, the domain that passed SPF or DKIM. It also tells reception what to do if the check fails and where to send you reports.
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
p=none: no action requested; you just want reports.p=quarantine: failing mail should be treated as suspicious (usually sent to spam).p=reject: failing mail should be rejected.
The sensible route is to start with p=none, read the reports to spot legitimate services that aren't authorised yet and, once everything checks out, move to quarantine and then reject. Jumping straight to reject can stop the invoices sent by your accounting software from being delivered.
What if I still send from an @gmail.com address?
If you write from the Gmail or free Outlook website or app, the provider handles authentication and there's nothing for you to set up. The problem lies elsewhere:
- Trust: a quote from
joinery.example@gmail.comdoesn't carry the same weight as one fromhello@joineryexample.com. - External tools: if a newsletter platform or invoicing software sends with an @gmail.com sender, it can't sign on behalf of gmail.com or appear in its SPF list. Google explicitly asks senders not to impersonate Gmail addresses and has announced that it applies a DMARC quarantine policy to them, so those emails stand a good chance of ending up in spam.
- Control: if the address belongs to one person and they leave, the account and its history with your customers go with them.
With your own domain, you decide who may send on behalf of your business, and you can prove it.
How can you check whether your domain is set up correctly?
- Send yourself an email at a Gmail account and, from the three-dot menu, choose “Show original”. You'll see the SPF, DKIM and DMARC results: ideally
PASSon all three. - Look up the TXT records for your domain and for
_dmarc.yourdomain.comwith any online DNS lookup tool. - List everything that sends on your behalf: email, website forms, online shop, invoicing, CRM and newsletters. Each service must be in your SPF record or sign with DKIM using your domain.
- If you send in volume, Google Postmaster Tools shows your domain's complaint rate at Gmail.
Checklist for your business email
- You send from an address on your own domain, not an @gmail.com one.
- You have a single SPF record and it lists every service that sends on your behalf.
- Your SPF record stays within 10 DNS lookups.
- Every sending service signs with DKIM using your domain.
- A DMARC record is published, even if it's
p=none, and someone reads the reports. - The sender's domain matches the one passing SPF or DKIM (alignment).
- Newsletters include a visible unsubscribe link and, if you send in volume, one-click unsubscribe.
- You only send newsletters to people who want them.
- You check all of this again whenever you change email provider or add a tool that sends email.
Are your emails reaching the inbox?
At Somia Digital we register and manage domains, DNS included, and set up professional email like name@yourcompany.com for businesses in Girona, Barcelona and the Costa Brava. If you'd like to know where your SPF, DKIM and DMARC stand, send us your domain through the form or on WhatsApp and we'll explain how we can set it up as part of our domains and hosting service.
Last reviewed: October 2026. Gmail, Yahoo and Microsoft update their requirements from time to time, and their official documentation is always the reference.
Frequently asked questions
What is SPF and what is it for?
It's a TXT record in your domain's DNS listing the servers authorised to send email on your behalf. Receiving servers check it to spot forged senders. A domain can have only one SPF record, and it must stay within 10 DNS lookups.
Do I need DKIM if I already have SPF?
Yes, you should have both. SPF says who may send; DKIM signs each message and proves it hasn't been altered. Google, Yahoo and Microsoft require both from bulk senders, and DMARC needs at least one to pass and be aligned with your domain.
Which DMARC policy should I use?
Start with p=none and an address for reports (rua). Once the reports show all your legitimate services passing, move to p=quarantine and later to p=reject. A p=none policy is enough to meet Google, Yahoo and Microsoft's requirements.
If I set up SPF, DKIM and DMARC, will my emails stop going to spam?
There's no guarantee. Authentication is the baseline, but providers also weigh the domain's reputation, recipient complaints and content. Without authentication, though, the odds of ending up in spam or being rejected are much higher.
Can I have professional email if my website is hosted elsewhere?
Yes. Email and website can live in different places: what matters is your domain's DNS, which says which server receives your email and holds the SPF, DKIM and DMARC records for every service that sends on your behalf.
Let's talk about your project
Request a quote