Get the App
Advertisement

Freelancing

Why Cold Emails Go to Spam: The DNS, SPF, DKIM and DMARC Fix Checklist

A diagnostic guide to the SPF, DKIM, DMARC, PTR and domain-isolation faults that send cold emails to spam.

By Abdalfatah Elhoshy · Last Updated: · 15 min read

Why cold emails go to spam usually traces back to three infrastructure faults: unaligned DMARC, an SPF record that exceeds the RFC 7208 lookup limit, and outreach sent from an unwarmed primary domain. Each fault can cause a failed authentication check before a prospect ever sees the message.

Advertisement

The guide is written for freelancers and technical solopreneurs who have moved from one-off pitches to outbound campaigns run through third-party tools and extra mailboxes. Each added sending tool changes what the domain’s DNS records must authorize.

This guide is part of the freelance cold emailing guide and covers technical control points only: SPF, DKIM, DMARC, mailbox provider rules, domain isolation and blocklist recovery. Every rule links to its primary RFC or provider page, and the terminal checks come from captured dig output.

SRG Direct Answer: The DNS Triage Protocol

Cold emails are rejected or filtered to Spam when SPF, DKIM and DMARC fail to authenticate the sending domain, or when complaint rates push the domain past provider limits.

  1. Rule 1: Publish exactly one SPF record and keep it within the RFC 7208 lookup limit of 10.
  2. Rule 2: Sign with a 2048-bit DKIM key whose d= domain matches the visible From: domain, then publish DMARC at p=none and escalate in phases.
  3. Rule 3: Send cold outreach from a warmed secondary domain, and keep spam complaints below 0.10% so the rate never reaches the 0.30% ceiling.

Epistemic classification: Vendor facts are linked to their primary sources. Narrow empirical observations come from terminal captures. SRG safeguards are labeled as such.

Since 2024, mailbox providers have treated DNS records as a delivery requirement. Yahoo’s sender requirements list SPF, DKIM, DMARC at p=none or stricter, valid forward and reverse DNS, and a spam rate below 0.3%. The sections below take each requirement in turn.

Diagnostic Triage: Is Your Problem Gateway Blocking or Offer Friction?

Open the raw headers of a delivered test message and read the Authentication-Results header. Any spf= failure, dkim= failure or alignment failure marks a technical block. A clean pass on every check moves the diagnosis away from DNS.

A cold email crosses three stages: the gateway MTA, the mailbox spam filter and the human inbox. Under Google’s progressive enforcement, non-compliant senders first see temporary 4xx rejections such as 450-4.7.26, then permanent 5xx rejections and spam folder routing. The matrix below separates where each symptom originates.

SymptomStageWhat to inspectWhere to fix
4xx temporary rejectionGateway MTASMTP bounce text, Postmaster Tools spam ratePillar 4
5xx permanent rejectionGateway MTADMARC policy, SPF, DKIM resultsPillars 1 to 3
Message lands in SpamMailbox spam filterAuthentication-Results, p=quarantine routing, complaint ratePillars 1 to 4
Delivered to inbox, no replyHuman inboxAll authentication results passSee the guide linked below

Readers whose checks all pass should move on, because if your DNS records pass, diagnose your offer and CTA friction. This guide stops at the technical boundary.

Pillar 1: SPF (RFC 7208) — Syntax Validation and the 10-Lookup PermError

Publish one TXT record that begins with v=spf1 and keep its lookup-triggering mechanisms at 10 or fewer. The RFC 7208 10-lookup limit ends evaluation with a PermError when exceeded.

A record has four parts:

  • v=spf1 opens the record.
  • include: pulls in another domain’s authorized senders.
  • ip4: lists an IP range directly.
  • ~all is the SoftFail qualifier shown in the terminal capture, and -all is the stricter fail form defined in the same specification.

Mechanisms split into two groups for lookup counting:

EffectMechanisms
Counts toward the limit of 10include, a, mx, ptr, exists, redirect
Does not countip4, ip6, all

SRG observation: In a terminal capture using BIND 9 dig against the 1.1.1.1 and 8.8.8.8 resolvers, a record combining a Google Workspace include with one third-party include counted four lookups of ten. A record that reached 11 lookups returned spf=permerror (SPF Permanent Error: Too many DNS lookups).

Vendor fact: Google Workspace evaluates a message with an SPF PermError as failing SPF, per Google’s email authentication help page. Under RFC 7489, failed SPF cannot produce an aligned pass. If DKIM also fails or is unaligned, the message fails DMARC and receives the domain’s policy: p=quarantine routes it to Spam and p=reject rejects it in the SMTP transaction.

A domain must not publish more than one SPF record, so multiple SPF records invalidate authentication automatically. SRG safeguard: when adding an outbound tool, merge its include: into the existing record instead of publishing a second v=spf1 line.

To audit, query the domain, then query each include: target to expose nested lookups. Before deleting any include, list every service that sends mail for the domain so no sender is orphaned.

Bash
dig TXT [DOMAIN] +noall +answer +nocmd
dig TXT [INCLUDE_DOMAIN] +noall +answer +nocmd
  • [DOMAIN]: the sending domain, for example example.com.
  • [INCLUDE_DOMAIN]: the domain after an include: in the SPF record. Repeat for every nested include.

Add every lookup-triggering mechanism from each result to a running total. A total of 11 is the failure point, and the total must stay at 10 or fewer.

SRG Pro Tip: Add +noall +answer +nocmd to a dig query to print only the answer line. The output then shows the live TTL integer and exact record string, free of any web tool’s cache.

SRG safeguard: treat dynamic SPF flattening as a late option, not the first fix. Flattening tools replace include: domains with raw ip4 ranges, which is valid under RFC 7208. Vendor ranges can change without notice, though, and a flattening service that lags can cause legitimate mail to hard-fail SPF.

Pillar 2: DKIM (RFC 6376) — Cryptographic Signatures and Selector Alignment

Publish a 2048-bit RSA public key at [selector]._domainkey.[domain.com], and make sure the signature’s d= domain matches the visible From: domain. Google’s DKIM 2048-bit key generation page covers key setup for Workspace.

The sending server signs message headers with a private key and records the result in the b= and bh= tags. The receiving MTA fetches the matching public key from DNS and checks the signature. The record takes the form v=DKIM1; k=rsa; p=[BASE64_PUBLIC_KEY], and per the RFC 6376 selector structure all DKIM keys live under a _domainkey subdomain.

Advertisement

The c= tag sets header and body canonicalization. The standard profile is relaxed/relaxed, which lets intermediate MTAs change whitespace and rewrap lines without breaking the RSA-SHA256 signature.

Google Workspace generates 2048-bit keys and does not allow changing the length. Yahoo’s sender requirements list 1024 bits or longer as the minimum, and 1024-bit keys are treated as legacy. SRG safeguard: publish 2048-bit keys. Registrars with a 255-character string limit require the key to be split into multiple quoted strings inside one TXT record.

The third-party alignment trap is a separate problem. RFC 7489 requires the d= domain of a valid signature to match the domain in the visible RFC 5322 From: header. When a platform signs with its own default domain (for example, d=sharedsend.net as an illustration) while From: shows [email protected], the result is dkim=pass with failed DMARC alignment. Configure the platform’s custom DKIM so signing uses your own domain.

Bash
dig TXT [SELECTOR]._domainkey.[DOMAIN] +short
  • [SELECTOR]: the selector name from the sending platform, for example google.
  • [DOMAIN]: the sending domain.

Pillar 3: DMARC (RFC 7489) — Alignment Policy Progression

Publish v=DMARC1; p=none; at _dmarc.[domain.com] first, then escalate in phases. The RFC 7489 DMARC policy progression defines three policies, and Google’s DMARC record publishing requirements set p=none as the minimum for bulk senders.

DMARC is the policy router: it tells receivers what to do when SPF and DKIM fail alignment. The mandatory tags are v=DMARC1 and p=[policy].

  • p=none: monitoring only. The receiver takes no disruptive action, and reports are generated if rua is set.
  • p=quarantine: the receiver routes failing mail to Spam or applies aggressive filtering.
  • p=reject: the receiver refuses the message during the SMTP transaction with a 5xx code.

Failing mail is not silently dropped. Under p=reject the sender receives a standard SMTP rejection, and under p=quarantine the message sits in Spam. The aspf= and adkim= tags default to r (relaxed organizational-domain matching), while s requires an exact match.

The 30-day schedule below is an SRG safeguard; the day counts are not a vendor requirement.

  1. Days 1 to 14: p=none with rua active, to collect reports.
  2. Days 15 to 30: p=quarantine; pct=100.
  3. Day 30 onward: p=reject.

The rua=mailto: tag directs receivers to send daily aggregate XML reports. SRG observation: pointing rua at a personal inbox produces dozens of gzip or zip XML payloads daily from Google, Yahoo and Microsoft. Route reports to a dedicated report parser or a separate triage mailbox. An external destination domain must publish a verification TXT record, per RFC 7489 Section 7.1.

Plain Text
v=DMARC1; p=none; rua=mailto:[REPORT_ADDRESS]; pct=100
  • [REPORT_ADDRESS]: the dedicated parser or triage mailbox address. Publish the record as a TXT value at _dmarc.[domain.com].

Pillar 4: Mailbox Provider Mandates (Google Workspace & Yahoo Rules)

Keep the spam complaint rate below 0.10% in Google Postmaster Tools and never reach 0.30%. The Google Email Sender Guidelines set both thresholds.

  • Hard ceiling: above 0.30%, delivery mitigation is unavailable until the rate stays below it for 7 consecutive days.
  • Bulk sender definition: close to 5,000 or more messages in 24 hours to personal Gmail accounts, and bulk sender status does not expire once assigned.
  • Progressive enforcement: temporary 4xx rejections come first, then permanent 5xx rejections and spam folder routing.
  • Yahoo: the Yahoo Postmaster sender requirements list a spam rate below 0.3%, SPF and DKIM, valid forward and reverse DNS, and DMARC at p=none or stricter.

Sending IPs need valid forward and reverse DNS. The PTR hostname must forward-resolve to the same IP address (FCrDNS). Google Workspace and Microsoft 365 manage this on their shared infrastructure, so solo operators handle PTR records only on dedicated custom SMTP servers.

Postmaster Tools lags real sending by 24 to 48 hours. An intraday complaint spike appears on the next daily cycle, so check the trend before assuming a fix worked.

Infrastructure Defense: Secondary Domain Isolation & Mailbox Warmup

Send cold outreach only from secondary domains, and warm each new mailbox for at least 14 days. Instantly’s warmup deliverability guide suggests limits of 30 cold plus 10 warmup emails per account per day.

Cold outreach carries inherent reputation risk from complaint rates. SRG interpretation: pitching from the primary domain puts that domain’s reputation, and the corporate mail that depends on it, in the path of those complaints. Isolation uses lookalike secondary domains such as getcompany.com, trycompany.com or companyapp.io.

Advertisement

Secondary domains forward web traffic with an HTTP 301 (or 302) redirect to the primary domain root, so prospects who inspect the domain see the real brand. Redirects route browser requests only. They do not affect SMTP transport, MX routing or DNS TXT authentication records.

Warmup works through a peer-to-peer pool. The account joins other users’ accounts and exchanges automated messages with high open and positive reply rates, building a history of human-like interaction. Warmup scores are proprietary metrics. Google and Yahoo publish nothing that recognizes them, and mailbox providers filter on genuine human interaction and spam complaints. Warmup also does not cancel real spam complaints from a live campaign.

Scale volume horizontally by adding mailboxes and domains instead of raising one mailbox’s daily volume. SRG observation: operating mailboxes beyond 50 cold messages per day increases domain reputation volatility in Google Postmaster Tools. Instantly’s help center describes scaling with 2 to 3 mailboxes per secondary domain, spread across several domains.

To automate secondary domain rotation and gradual mailbox warmup without manual daily sending, specialized outbound platforms manage the ramp-up schedule across multiple inboxes.

4.5 (2)

Best For: Operators whose workload fits fixed uploaded-contact ceilings and volume-based plans, and who can run external deliverability monitoring alongside Instantly's internal warmup metrics.

  • Free 14-day trial
  • Starter $47/month
  • Pro $97/month
View Tool

Emergency Protocol: Blacklist Remediation & Delisting Procedures

Run the domain through the Spamhaus Reputation Checker tool, find the listing’s root cause and stop outbound volume before requesting delisting. Individual senders cannot delist shared Google or Microsoft IP addresses, so domain-level remediation is the realistic scope.

The lists that matter most for cold senders:

  • Spamhaus ZEN: a composite of SBL (verified spam sources), XBL (compromised machines) and PBL (end-user dynamic IP space).
  • Spamhaus DBL: a real-time list of domains with poor reputation, spam-trap hits or phishing associations.
  • SpamCop (SCBL): automated IP listings triggered by spam reports. Listings expire after 24 to 48 hours if no new complaints arrive, per the SpamCop Blocking List FAQ.
  • Barracuda (BRBL): a free IP blocklist tracking spam-sending addresses.

Spamhaus domain reputation analysis examines a domain’s use, behavior and activity, including registration data, infrastructure associations and signal intelligence. Listing triggers include spam-trap hits, high complaint volume and open relays.

The remediation sequence:

  1. Run the domain and sending IP through the Reputation Checker.
  2. Identify the listing’s root cause from the checker’s results.
  3. Halt outbound volume from the affected domain.
  4. Fix the cause, then submit the self-service delisting request.

SRG safeguard: if the listing is a time-decaying SpamCop entry, stop sending and let it expire. If it is a Spamhaus DBL listing, remediate and file the request. If a burned secondary domain stays listed after remediation, retire it, since isolation exists to contain exactly this damage. The research behind this guide includes no numeric threshold for retiring a domain, so these rules remain SRG judgment.

The Pre-Flight Deliverability Checklist & Technical Troubleshooting FAQs

Why cold emails go to spam diagram: pre-flight DNS triage console with SPF lookup count and authentication header logs

Run all seven checks below before launching a campaign. The table shows the record architecture they test, using example.com as a placeholder.

Record PurposeHost / NameTypeStaging TTLExample ValueOperational Function
SPF (RFC 7208)@ (or example.com.)TXT300"v=spf1 include:_spf.google.com ~all"Authorizes the IP addresses permitted to send for the domain. Maximum 10 DNS lookups.
DKIM (RFC 6376)[selector]._domainkeyTXT300"v=DKIM1; k=rsa; p=[BASE64_PUBLIC_KEY]"Publishes the 2048-bit RSA public key matching the private key that signs headers.
DMARC (RFC 7489)_dmarcTXT300"v=DMARC1; p=none; rua=mailto:[email protected]; pct=100"Tells receivers how to handle SPF/DKIM alignment failures. Escalates from none to reject.
Forward/Reverse DNSin-addr.arpa (managed by ISP)PTRHost defaultmail.example.comMaps the sending IP to a hostname that matches its forward A record (FCrDNS).

  1. Verify SPF: run dig TXT [DOMAIN] +noall +answer +nocmd, confirm exactly one v=spf1 record, and confirm the lookup total is 10 or fewer.
  2. Verify DKIM: query the selector and confirm a 2048-bit key. Then confirm the d= domain of a test message matches the From: domain.
  3. Verify DMARC: query _dmarc.[DOMAIN] and confirm the record exists with rua active.
  4. Verify forward and reverse DNS: confirm the sending IP’s PTR hostname resolves forward to the same IP (Google Workspace manages this natively).
  5. Verify isolation: confirm the secondary domain’s 301 redirect reaches the primary website.
  6. Verify warmup: confirm at least 14 days of warmup and a daily cap of 30 cold messages per mailbox.
  7. Verify complaints: confirm the spam rate in Google Postmaster Tools is below 0.10%, allowing for the 24 to 48 hour data delay.

Safe DNS change protocol. DNS edits can disable inbound mail, so follow all five steps for any record change.

  1. Export a BIND zone backup before editing. Cloudflare and BIND-compliant interfaces produce RFC 1035 master zone files.
  2. Set the record TTL to 300 seconds at least 24 hours before the change, per Cloudflare DNS TTL management. Some basic registrar DNS engines enforce a 3600-second minimum on free tiers.
  3. Check the proposed record in an external syntax linter.
  4. Pause to confirm that every service that sends mail for the domain is still covered.
  5. Save, then run dig TXT against the record and read the Authentication-Results header of a test message.

Does an open-tracking pixel cause spam folder placement? Gateways do not reject a message solely for a tracking pixel. Spam filtering can penalize hidden 1×1 images hosted on low-reputation domains. SRG interpretation: a tracking domain you control keeps that signal tied to your own reputation, while a raw vendor redirect domain shares the vendor’s.

How fast do DNS changes propagate after fixing a broken record? Cloudflare’s authoritative nameservers update at the edge within seconds. Global propagation depends on the TTL that resolvers cached before the fix. A broken record published with an 86400-second TTL can persist for up to 24 hours.

What if the SPF record requires 12 lookups? The record fails with PermError, so it must come down to 10 or fewer. Remove includes for services that no longer send mail, re-count with dig, and avoid dynamic flattening for the reasons given in Pillar 1. The certified research contains no evidence on sub-domain delegation mechanics, so this guide does not detail that option.

The Verdict: Documented Decision Boundaries

Choose DNS repair first if the Authentication-Results header shows any SPF, DKIM or alignment failure, or if the domain draws 4xx or 5xx rejections. Work through Pillars 1 to 3, then check provider thresholds in Pillar 4. Choose offer diagnosis only when every authentication check passes and messages reach the inbox: if your DNS records pass, diagnose your offer and CTA friction.

Choose manual include cleanup over dynamic flattening when an SPF record needs more than 10 lookups, because stale ip4 ranges create a new failure mode. Choose a warmed secondary domain for all cold outreach, because crossing the 0.30% complaint ceiling locks delivery mitigation until the rate stays below it for 7 consecutive days.

Based on official documentation, with hands-on validation limited to the steps and environment described in this guide. Reviewed against 11 official vendor sources as of October 2026.

Freelancers who run outbound campaigns can find active opportunities on the Smart Remote Gigs Exchange, and the outbound tool referenced above is covered in the Instantly platform specifications.

Smart Gig Finder

Never Miss a New Remote Job

Remote job alerts

Get notified about new remote jobs and access practical freelance tools from your phone.

Advertisement

Frequently Asked Questions

Share
4.5 (2)

Email & Outreach

Instantly

Instantly sells outbound email from $47/mo with unmetered sending mailboxes, warmup and API v2. Lead data is priced...

  • Free 14-day trial
  • Starter $47/month
  • Pro $97/month