ON THIS PAGE
By Efe Berke Colaker, Founder at GetleadReviewed by the Getlead editorial team for accuracy. Last updated November 2026.
Outbound campaigns fail silently when spam filters update internal rules, dropping open rates below 20 percent. Emails hit spam folders without provider notification if domain authentication records are missing.
SPF and DKIM are DNS records that prove an email came from the domain in the sender address.
A sender pushing 5,000 messages monthly needs these records to pass Google and Microsoft filters. When spammers spoof your domain, receiving servers check the records and block the mismatched messages.
The deliverability audit baseline
Establish a baseline for your sending reputation before testing your infrastructure. This technical audit catches structural DNS errors that route messages to the spam folder. Protocol failures make your messages look like spoofed mail, prompting provider rejection.
If open rates sit below 30 percent, domain authentication is likely failing on major providers. Audit your technical setup to identify the point of failure before sending more mail.
Follow this 3-step procedure to measure your baseline metrics. First, export your campaign data from the last 30 days. Second, filter out any recipients using catch-all domains to isolate strict provider responses. Third, calculate the unique open rate specifically for Google Workspace and Microsoft 365 recipients.
Mailbox providers calculate your spam complaint rate by dividing the number of user reports by the total number of emails delivered to the inbox. If you send 10,000 emails and 15 users click the spam button, your complaint rate is 0.15 percent. This exceeds the 0.1 percent Google threshold, triggering automatic filtering for future campaigns.
You must segment your analytics by provider to isolate specific deliverability drops. A 40 percent open rate on Microsoft 365 combined with a 12 percent open rate on Google Workspace indicates a provider-specific authentication penalty.
Check 1: Authorizing the sender with SPF
Sender Policy Framework lists the exact IP addresses allowed to send mail on your behalf. Receiving servers query your domain name system to retrieve this text record. They compare the incoming IP address against your authorized list. Start with IP authorization when configuring dkim and spf to prevent rejections.
- Open your DNS provider dashboard and locate the TXT records.
- Search for a record beginning with the v=spf1 string.
- Verify that your cold email software is listed in the include statement.
- Ensure there is only one SPF record per domain to avoid lookup failures.
The threshold for SPF is a hard pass on every lookup, since multiple records or missing includes cause permanent failures. Generate a valid configuration using an SPF record generator to avoid syntax errors.
Follow this 4-step procedure to audit your third-party sending tools. First, list every software application that sends email using your domain name, including marketing automation and customer support platforms. Second, locate the specific SPF include mechanism provided by each vendor in their technical documentation.
Third, append these mechanisms to your existing SPF record before the ~all tag. Fourth, use a command-line tool like dig TXT yourdomain.com to verify the updated record syntax. An incorrect syntax like a missing space between includes invalidates the entire record, causing all outgoing mail to fail the SPF check.
Consider a setup using Google Workspace, Getlead, and a custom SMTP server. The raw SPF record looks like v=spf1 include:_spf.google.com include:getle.ad ip4:192.0.2.1 ~all. If you add a marketing tool like Mailchimp, the DNS lookup count might exceed the 10-lookup limit. You must flatten the record by resolving the includes into direct IP addresses. For instance, replacing include:getle.ad with ip4:203.0.113.5 reduces the lookup count by one. Keep your total DNS lookups under 10 to ensure the receiving server processes the SPF record.
Check 2: Signing the message with DKIM
DomainKeys Identified Mail adds a cryptographic signature to outgoing emails, proving the message content remained unchanged during transit. A proper spf dkim setup requires both protocols to function independently. The receiving server uses your published public key to decrypt the signature and verify the original hash.
- Generate the public and private key pair inside your sending platform.
- Copy the public key and create a new TXT or CNAME record in your DNS.
- Name the record using the specific selector provided by your vendor.
- Wait 24 hours for DNS propagation before sending live traffic.
The threshold is a valid signature on every outgoing message, because missing keys break the chain of trust and trigger spam filters. Read the technical specifications in RFC 6376 to understand the hashing process.
Follow this 3-step procedure to verify your DKIM key lengths. First, identify the selector used by your sending platform by sending a test email and reading the s= tag in the header. Second, query your DNS for the public key using a command like dig TXT selector._domainkey.yourdomain.com.
Third, count the characters in the p= value to determine the bit length. A 1024-bit key contains 216 characters, while a 2048-bit key contains 392 characters. If your key uses 512 bits, you must upgrade your setup because modern mailbox providers consider short keys insecure and reject the associated messages.
A standard DKIM key uses a 1024-bit or 2048-bit RSA encryption standard. If your selector is gl1, your DNS record name is gl1._domainkey.yourdomain.com. The TXT value contains v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC... You must rotate these keys every 6 months to prevent cryptographic compromise. Generate a new key pair using a new selector like gl2. Publish the gl2 public key in your DNS and wait 24 hours. Switch your sending platform to use the gl2 private key for signing new messages. Monitor your deliverability metrics for 7 days before deleting the old gl1 DNS record.
Check 3: Enforcing alignment with DMARC
DMARC tells receiving servers what to do when an email fails dkim spf checks. It requires strict alignment between the header domain and the authenticated domain. If your sending tool uses a different return path, DMARC ensures the visible domain matches the cryptographic signature. This policy protects your dedicated sending domains from unauthorized spoofing.
- Create a TXT record named _dmarc at your domain root.
- Set the initial policy to p=none to monitor incoming reports.
- Review the XML reports weekly to identify unauthorized senders.
- Shift the policy to p=reject once legitimate traffic passes authentication.
The threshold is 100 percent alignment for your primary sending tools. Build a strict policy using a DMARC record generator to secure your domain.
A basic DMARC record looks like v=DMARC1; p=none; rua=mailto:reports@yourdomain.com. The rua tag directs XML aggregate reports to your inbox daily. An XML report contains a <row> element detailing the source IP, the <dkim> authentication result, and the <spf> alignment status. If you see an unknown IP address like 198.51.100.42 returning a fail for both protocols, a spammer is spoofing your domain. Once you confirm all legitimate sending IPs return a pass status, update your record to p=reject to block the spoofed messages.
You can use the pct tag in your DMARC record to roll out a strict policy gradually. A record like v=DMARC1; p=reject; pct=25; rua=mailto:reports@yourdomain.com applies the reject policy to only 25 percent of failing messages. The receiving server allows the remaining 75 percent to pass or fall back to the local spam filter rules. Increase this percentage by 25 points every week while monitoring your aggregate reports for false positives. Once you reach pct=100, your domain is protected against spoofing, and receiving servers block all unauthorized traffic.
Check 4: Live verification
Test dkim and spf using live email traffic to confirm your setup, because DNS lookups only show published records rather than actual server interpretation. Sending a test email to an email deliverability test tool lets you read the raw headers directly. This diagnostic process reveals how Google and Microsoft evaluate your outbound messages.
- Compose a plain text email from your primary sending account.
- Send the message to a dedicated deliverability testing address.
- Open the report and check the authentication headers.
- Confirm both protocols return a pass status.
The threshold is zero errors in the raw header output. Any failure requires a full cold email deliverability audit to isolate the configuration error.
Follow this 4-step procedure to test your return path alignment. First, configure a custom tracking domain in your cold email software using a CNAME record pointing to the vendor server. Second, send a test email to a diagnostic tool that displays the Return-Path header. Third, compare the domain in the Return-Path against the domain in the From address. Fourth, verify that the root domains match precisely to pass the DMARC alignment check. If your software uses a shared return path like bounces.vendor.com, your messages fail strict alignment and land in the spam folder.
When you inspect the raw headers of a received message, look for the Authentication-Results line. A passing Google header reads spf=pass (google.com: domain of sender@yourdomain.com designates 203.0.113.5 as permitted sender) smtp.mailfrom=sender@yourdomain.com. The DKIM result appears as dkim=pass header.i=@yourdomain.com header.s=gl1 header.b=XyZ123. If the SPF result shows softfail or neutral, the sending IP is missing from your TXT record. If the DKIM result shows temperror, the receiving server could not retrieve your public key due to a DNS timeout. Fix the specific DNS record and send another test email to verify the correction.
The audit summary
Review your results against the standard thresholds to ensure compliance. Any deviation requires correction before you resume sending outbound campaigns.
Implement a weekly monitoring routine to maintain these thresholds. First, check your Google Postmaster Tools dashboard every Monday for spam complaint spikes above 0.1 percent. Second, review your DMARC aggregate reports to confirm 100 percent alignment across all sending IPs. Third, run a live header test using your primary sending account to verify the cryptographic signatures remain valid. Fourth, audit your SPF record lookups to ensure you remain under the 10-lookup limit as you add new marketing tools.
Remediation timelines depend on the severity of your authentication failures. If you correct a missing SPF include, your deliverability metrics usually recover within 48 hours as the DNS changes propagate. If you operated without a DMARC record for six months, spammers likely damaged your domain reputation. Recovering from a spoofing attack requires publishing a p=reject policy and reducing your daily sending volume to 50 emails per inbox. You must maintain this low volume for 14 days while generating positive engagement signals to rebuild trust with mailbox providers.
Sources and method
Google Postmaster Tools outlines the baseline requirements for domain reputation and spam complaint thresholds. We use these guidelines to define safe sending limits for outbound campaigns.
RFC 7208 defines the technical specifications for SPF, while RFC 6376 covers DKIM signatures. These documents establish the core authentication mechanics used by all major providers.
Microsoft email authentication guidance provides the framework for aligning records across different mailbox providers. Figures were checked in November 2026.
Frequently asked questions
Do I need SPF if I have DKIM?
Yes, you need both protocols because they serve different authentication purposes. Sender Policy Framework authorizes the specific IP addresses allowed to send mail. DomainKeys Identified Mail verifies the actual message content remains unchanged during transit. Mailbox providers require both records to grant inbox placement.
Do I need DMARC if I have SPF and DKIM?
Yes, DMARC ties the two primary protocols together to enforce strict alignment. It instructs receiving servers to reject messages that fail authentication checks. Spammers can spoof your domain using a different return path without a strict policy, damaging your sending reputation.
How do I set up SPF, DKIM, and DMARC?
Configure these protocols by adding specific text records to your domain name system dashboard. Your sending platform provides the required include statements and cryptographic keys. Copy these values into your registrar settings, wait for propagation, and publish a strict policy to enforce alignment.
Why use SPF, DKIM, and DMARC?
These three protocols prove your identity to receiving servers and protect your domain from unauthorized spoofing. They prevent malicious actors from sending spam under your brand name. Proper authentication ensures your cold outreach campaigns land in the primary inbox instead of the spam folder.
How long does DNS propagation take?
DNS changes typically take a few hours to propagate across global servers, but they can require up to a full day. Wait 24 hours before sending live traffic to ensure receiving servers see the new authentication records. Testing too early often results in false failures.
