How do I check if my email passes SPF, DKIM and DMARC with Gmail's "Show original"?
Send a test email to Gmail, open “Show original” and check whether SPF, DKIM and DMARC say PASS. Here's what each result means and how to fix what fails.
To check SPF, DKIM and DMARC in Gmail, send a test email from your business account to Gmail, open it and go to the three-dot menu > “Show original”. At the top you'll see three lines: SPF, DKIM and DMARC. If all three say PASS, your domain authorized the sending, the message is intact and the sender is aligned.
If any of them says FAIL, SOFTFAIL or NONE, below we explain what to fix in each case.
Step 1: send a test email to Gmail
Use the business account you want to check, for example sales@yourdomain.com, and send a short message to a personal Gmail account. It doesn't matter whether you send it from webmail, Outlook, Thunderbird or your phone's mail app. What matters is that it goes out through the same SMTP server you use every day. Write a subject and some real text: empty messages sometimes land in spam for other reasons and can throw off your diagnosis.
If you just changed DNS records, wait a while before testing. Changes take time to show up across the internet, as we explain in the guide on what DNS propagation is.
Step 2: open “Show original”
- In Gmail (web), open the test email. If it isn't in your main inbox, look for it in Spam or Promotions.
- Click the three vertical dots to the right of the message date.
- Choose “Show original”. A new tab opens with a summary at the top and the full message with headers below.
Step 3: read the summary at the top
The summary looks like this:
| Field | Example of what you see | What it confirms |
|---|---|---|
| SPF | PASS with IP 203.0.113.10 | The IP that delivered the email is authorized in your domain's SPF record. |
| DKIM | PASS with domain yourdomain.com | The message carries a valid signature from your domain and wasn't modified along the way. |
| DMARC | PASS | SPF or DKIM passed and is aligned with the visible sender domain (From). |
Each mechanism can return one of these results:
| Result | Meaning | Do you need to act? |
|---|---|---|
| PASS | The check succeeded. | No. |
| FAIL | The check failed: unauthorized IP (with -all), invalid signature or DMARC not met. | Yes, urgently. |
| SOFTFAIL | SPF only: the IP isn't on the list, but the record ends in ~all, so it's treated as suspicious rather than rejected. | Yes. The sending service is missing from the record. |
| NEUTRAL | SPF only: the domain says neither yes nor no (?all). | Recommended. It adds no trust. |
| NONE | No record is published (or there's no DKIM signature). | Yes. You need to create it. |
You may also see PERMERROR (the record is malformed or has too many lookups) and TEMPERROR (a temporary DNS failure). The first one always needs fixing.
Step 4: understand alignment
DMARC isn't satisfied just because SPF or DKIM pass. It requires the verified domain to match the domain in the From field, the one the recipient sees. This is called alignment:
- SPF alignment: the technical sender domain (Return-Path or
smtp.mailfrom) must be yourdomain.com or one of its subdomains. - DKIM alignment: the signature domain (
d=orheader.i) must be yourdomain.com or one of its subdomains.
Only one of the two needs to be aligned for DMARC to PASS. A typical mistake: a form or newsletter platform signs with its own domain. DKIM passes, but it isn't aligned, and DMARC fails.
Step 5: read the Authentication-Results and Received-SPF headers
Below the summary, search (Ctrl+F) for these two headers. They give you the technical details:
Authentication-Results: mx.google.com;
dkim=pass header.i=@tudominio.com header.s=default;
spf=pass (google.com: domain of ventas@tudominio.com designates 203.0.113.10 as permitted sender) smtp.mailfrom=ventas@tudominio.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tudominio.com
Received-SPF: pass (google.com: domain of ventas@tudominio.com designates 203.0.113.10 as permitted sender) client-ip=203.0.113.10;dkim=pass header.i=@yourdomain.com: the signature belongs to your domain. If a different domain appears, the signature isn't aligned.header.s=: the DKIM selector. It tells you which DKIM TXT record Gmail looked up.smtp.mailfrom: the domain used to evaluate SPF.client-ip: the real IP that delivered the message. If SPF fails, that's the IP (or service) you still need to authorize.p=NONE: the DMARC policy you have published.header.from: the domain alignment is measured against.
Step 6: fix whatever fails
If SPF fails
- Have only one TXT record starting with
v=spf1. If you have two, the result is PERMERROR. Merge them into one. - Include every service that sends on behalf of your domain. An example with the correct structure:
v=spf1 a mx include:[the value cPanel gives you] ~all. - Don't exceed 10 DNS lookups. Every
include,a,mxandredirectcounts, and so do nestedincludes. Remove services you no longer use.
If DKIM fails or shows NONE
- In cPanel, go to Email > Email Deliverability. That screen shows the DKIM and SPF status of each domain and suggests the exact records.
- If your DNS is managed outside the hosting, copy the suggested DKIM TXT record (named like
default._domainkey.yourdomain.com) and publish it in your DNS manager. This guide explains how to add DNS records to your domain. - Copy the full key, without added spaces or line breaks.
If DMARC fails or shows NONE
- Create a TXT record named
_dmarc.yourdomain.comwith this starting value:v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. - For a few weeks, review the reports and confirm everything legitimate passes. Then move to
p=quarantineand, once you're confident, top=reject. - If SPF and DKIM pass but DMARC fails, the problem is alignment (see step 4).
Step 7: also test the emails your website sends
Your own email can be perfect while contact forms, store notifications or your CRM fail. Every application that sends email is a separate sender. Have your form send a message to Gmail and repeat steps 2 to 5. The most reliable setup is to configure your website to use authenticated SMTP with an account on your domain, on port 587 (STARTTLS) or 465 (SSL/TLS), instead of the server's generic mail function. To understand why, read what an SMTP relay is.
Honest comparison: which Dongee option suits you
| Option | Authentication and sending | Ideal for |
|---|---|---|
| Email on shared hosting with cPanel | MailChannels included as the outbound relay with SPF and DKIM; the Email Deliverability screen suggests the records. Dongee Startup: 10 USD/month with 50 mailboxes of 1 GB. Quantum: 19 USD/month with 50 mailboxes of 2 GB. | Small businesses that want website and email together at a low cost. |
| Dongee Prime Email | Antispam and DKIM; Basic from 2 USD/month per mailbox with 8 GB, expandable. Email keeps working even if the website goes down. | Teams that depend on email and don't want a website failure to affect them. |
Keep in mind that you can't mix hosting mailboxes and Prime Email mailboxes on the same domain. Choose one. If you're unsure, this guide compares business email and web hosting for small businesses.
Frequently asked questions
Why don't I see the “Show original” option in the Gmail app?
The Gmail apps for Android and iPhone don't show that option. Open Gmail in a desktop browser, or in your phone's browser using the desktop version.
SPF shows SOFTFAIL but the email reaches the inbox. Should I leave it?
No. Arriving today doesn't guarantee it will arrive tomorrow. SOFTFAIL means the IP isn't authorized, and with strict DMARC policies or higher sending volume it will end up in spam. Add the missing service to your SPF record.
How long does a DNS change take to show up in the test?
It depends on the records' TTL and each server's cache. It can take anywhere from minutes to a few hours. Repeat the test with a new email, because the results of a message you already received don't change.
Do I need DMARC if I already have SPF and DKIM?
Yes. Gmail and other large mailbox providers increasingly require it from anyone who sends email regularly. DMARC is also what stops someone from spoofing your domain in the From field. Start with p=none, which doesn't affect delivery.
Can I test with Outlook instead of Gmail?
Yes. Outlook and other clients show the Authentication-Results header in the message source. Gmail is more convenient because it clearly summarizes the three results at the top.
Wrap-up
A two-minute test with “Show original” tells you whether your domain is properly authenticated. Ideally you'll see three PASS results, both in your own emails and in the ones your website sends. If something doesn't add up, Dongee's 24/7 human support in your language (the platform translates on the fly) can help you review it by chat or WhatsApp.
Comenta lo que quieras
Unete a la charla
Solo ingresa tu email