When email from your own domain goes to spam, the receiving server is usually saying one thing: “I can’t confirm this domain sent this.” Owning acme.com does not prove anything to Gmail or Outlook until you publish DNS records that say which services may send as you. New domains have a second problem: no reputation yet.
The three records your domain needs
| Record | Where it lives | What it proves |
|---|---|---|
| SPF | TXT on the domain (or return-path subdomain) | Which servers may send mail using this domain in the envelope |
| DKIM | TXT or CNAME at selector._domainkey.yourdomain |
The message was signed by your domain and not changed |
| DMARC | TXT at _dmarc.yourdomain |
What to do when the other two fail, and where to send reports |
The definitions are in RFC 7208 (SPF), RFC 6376 (DKIM) and RFC 7489 (DMARC). Since 2024 Gmail and Yahoo require all senders to pass at least SPF or DKIM, and bulk senders to have all three (Google, Yahoo).
You can check what is published right now from a terminal:
dig +short TXT acme.com | grep spf1
dig +short TXT _dmarc.acme.com
If the first command prints nothing, you have no SPF. If it prints two lines, you have two SPF records, which is just as bad.
The mistakes behind most custom domain spam problems
One service set up, the others forgotten. You set up Google Workspace or Microsoft 365 and their records are fine. But your website, newsletter tool, CRM and invoicing app also send as @acme.com, and none of them are in SPF or signing with DKIM. Each one is a source of failing mail.
Two SPF records. Every new tool’s setup page says “add this SPF record”, so people add a second one. RFC 7208 says a domain must not have more than one, and receivers return a permerror when they find two (section 3.2). Merge them into a single record. See the SPF record guide.
Too many includes. Merge enough services into one record and you pass 10 DNS lookups, which also causes a permerror. That is covered in SPF too many lookups.
DKIM signed by the vendor’s domain. Many tools sign with their own domain until you add custom DKIM records. The message passes DKIM but fails DMARC, because the signing domain does not match your From domain.
Leftover records. An old SPF include for a host you left years ago does no harm by itself, but it wastes lookups and authorizes servers you no longer control. Clean it out.
Registrar and host specific notes (GoDaddy and others)
Searches for “email going to spam GoDaddy” are common, but the registrar is rarely the cause. What matters is where your DNS is hosted and who sends your mail:
- If DNS is at GoDaddy, Namecheap, Cloudflare or anywhere else, add the records in that DNS panel. Some panels add your domain to the name automatically, so enter
_dmarc, not_dmarc.acme.com, or you get_dmarc.acme.com.acme.com. - If you use a website host’s built-in mail or PHP
mail(), mail goes out from a shared web server that is often missing from your SPF record and does not sign with DKIM. Send website mail through a proper email service instead. - After changing DNS, wait for the old record’s TTL to expire before testing again.
New domain? It needs a warm-up
A domain registered last week has no history. Mailbox providers treat unknown domains with suspicion because spammers register and burn through new domains constantly. Even with perfect authentication, a new domain that sends 20,000 emails on day one will struggle.
Instead:
- Authenticate everything first.
- Send your most important, most expected mail first: password resets, receipts, replies.
- Grow volume gradually over two to six weeks.
- Watch bounces and complaints and slow down if they rise.
The email warm-up guide has a sample plan.
Separate your traffic with subdomains
Your staff mailboxes, your app’s transactional email and your newsletter do not have to share one reputation. A common setup:
acme.comfor people’s mailboxes.- A return-path such as
send.acme.comfor your email service, so SPF is checked on that subdomain and stays aligned withacme.comunder DMARC’s relaxed alignment. - Optionally
news.acme.comas the From domain for marketing, so a bad campaign does not drag down password resets.
A quick checklist
Work through this list and most custom domain spam problems disappear:
- Run
dig +short TXT yourdomain.comand confirm there is exactly one line startingv=spf1. - Confirm every service that sends as you is covered by SPF or uses its own return-path subdomain.
- Confirm each of those services signs with DKIM using your domain, not its own.
- Publish
_dmarc.yourdomain.comwithp=noneand aruaaddress, then read the reports after a week. - Send a test to Gmail and Outlook, open the source and confirm SPF, DKIM and DMARC all pass.
- Stop website plugins and web servers from sending directly; route them through your email service.
- If the domain is new, keep volume low for the first few weeks.
How Mailcandor sets this up
When you add a domain to Mailcandor you get three DKIM CNAME records, plus SPF and a bounce MX on send.yourdomain, so your main domain’s SPF record is untouched and stays well under the lookup limit. We also advise on a DMARC record. The deliverability coach checks every record and tells you in plain English what is missing. For the full background, read How to set up SPF, DKIM and DMARC.