Email Authentication
Check a domain's SPF and DKIM records, and get the exact DNS records to add so its mail is trusted and less likely to be marked as spam.
| Location | Home » Email » Email Authentication |
| Category | |
| Required fields | Domain |
| Command line | /go/spf, /go/dkim, /go/dmarc |
| Last updated | 2026-11-23 |
On this page: Overview · Quick start · Fields · Reading the results · Troubleshooting · Details · See also
Overview
Receiving mail servers check whether a message really comes from the domain it claims. Two DNS records help them decide:
- SPF (Sender Policy Framework) lists the IP addresses and servers that are allowed to send mail for the domain. It makes it much harder for spammers and fraudsters to pretend to be you.
- DKIM (DomainKeys Identified Mail) adds a digital signature to every message. The receiving server checks the signature against a public key in your DNS.
Email Authentication looks up these records for the domain you choose. If a record is missing, the page shows the exact TXT record to add, with its type, host, and value.
[!TIP] This page is available in both the admin panel and the user panel. You can also manage the records from a terminal. See Manage Records from the Command Line.
Quick start
- Go to Email » Email Authentication.
- Choose the Domain.
- Read the SPF and DKIM results shown below the form.
- If a record is missing, add the TXT record shown to the domain's DNS. If the domain uses GoAdmio's DNS Zone Editor, add it there. Otherwise add it at your DNS provider.
- Wait for DNS to update, then reload the page to check again.
Fields
| Field | Required | Default | Notes |
|---|---|---|---|
| Domain | Yes | First domain in the list | The domain to check. The results update as soon as you change it. The list shows the domains hosted on the server. |
Reading the results
For each record type, the page either confirms the record exists or shows what to add.
SPF
If no SPF record is found, the page shows:
| Type | Host | TXT Value |
|---|---|---|
TXT |
@ |
v=spf1 +a +mx ip4:203.0.113.10 ~all (your server's IP address) |
What the value means:
| Part | Meaning |
|---|---|
v=spf1 |
Marks the record as SPF. |
+a |
Servers at the domain's A record may send mail. |
+mx |
The domain's mail servers may send mail. |
ip4:... |
This server's IPv4 address may send mail. |
~all |
Anything else is a "soft fail": it is suspicious, but not rejected outright. |
If you also send through an outside service such as Brevo, add its SPF include: entry to the same record. A domain can have only one SPF record.
DKIM
If no DKIM record is found, the page shows a TXT record with host dkim._domainkey.<your domain> and the public key as its value. Click Generate new DKIM record to create a new key for the domain.
[!WARNING] Generating a new DKIM key replaces the old one. Update the DNS record afterwards, or mail signed with the new key will fail DKIM checks.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| "We could not find a SPF record" | The record is not in DNS yet, or DNS has not updated. | Add the TXT record shown, wait a few minutes to hours, and reload. |
| "We could not find a DKIM record" | The record is not in DNS yet, or the key was just regenerated. | Add the TXT record shown, then reload. |
| The DKIM value shows an error message instead of a key | GoAdmio tried to add the record through Cloudflare and failed, for example because the domain is not in Cloudflare. | Do not copy that text into DNS. Add the domain in Cloudflare API, or generate the key and add the record by hand. |
| Mail still goes to spam | SPF or DKIM is missing, or other signals are bad. | Fix both records, then check IP Spam Filter and Track Delivery. |
| SPF check fails for mail sent through an outside service | The service is not included in the SPF record. | Add the service's include: entry to the single SPF record. |
| Two SPF records exist for one domain | Records were added separately. | Merge them into one. |
Details
Manage Records from the Command Line
Every admin action in GoAdmio is also available as a /go/... command. These commands add the records to a domain's Cloudflare DNS:
| Command | What it does |
|---|---|
/go/spf |
Adds or refreshes a domain's SPF record on Cloudflare. |
/go/dkim |
Adds a DKIM TXT record to a domain's Cloudflare DNS, auto-generated or with a custom value. |
/go/dmarc |
Adds a DMARC TXT record to a domain's Cloudflare DNS, auto-generated or with a custom value. |
/go/checkdkim |
Checks whether each domain's DKIM DNS record exists and matches the key on this server. |
/go/installdkim |
Installs OpenDKIM, creates a domain's DKIM key, and prints the TXT value. |
/go/installdmarc |
Installs OpenDMARC. |
/go/spf
/go/dkim
For the full syntax, arguments, and examples, see the command reference: https://www.goadmio.com/commands/spf
Why all three matter
| Record | What it proves | Page |
|---|---|---|
| SPF | The sending server is allowed to send for the domain. | This page |
| DKIM | The message was not changed and was signed by the domain. | This page |
| DMARC | What receivers should do when SPF or DKIM fail, and where to send reports. | /go/dmarc |
Large providers such as Gmail and Outlook expect all three, especially for bulk senders.
See also
| Page | Description |
|---|---|
| DNS Zone Editor | Manage a domain's DNS records |
| Cloudflare API | Manage DNS through Cloudflare |
| Brevo API | Send through Brevo, needs SPF and DKIM |
| Forward Email API | Send through Forward Email |
| IP Spam Filter | Mark sender IPs as junk |
| Track Delivery | Follow a message through the mail server |
| TXT Lookup | Check a TXT record from the panel |
| Undelivered Emails | Review bounced messages |