Back to blog
Threat Intel
Phishing Forensics

SPF SoftFail Reality Check: How Major Providers Actually Treat ~all

A softfail mechanism is supposed to mark unauthorized mail as suspicious, but relying on RFC definitions ignores how spam filters actually route your messages.

MailSleuth Research
Email Security Team
September 10, 20269 min read
Abstract illustration of a metallic tilde symbol diverting email envelopes into dark pits inside a digital sorting facil

Read RFC 7208 closely and you might assume standardizing an email policy is a matter of strict logical compliance. You define your authorized sending IP addresses, you publish a text record in your domain name system, and receiving servers follow your explicit instructions on how to handle deviations. The truth living inside your Authentication-Results header is far messier. If you configure a Sender Policy Framework record with a tilde-all mechanism, the spec says the IP is not authorized but the message should probably still be accepted. That single word does a terrifying amount of heavy lifting.

System administrators often treat a softfail as a safe middle ground during deployment, assuming it prevents legitimate mail rejection while keeping domain reputation intact. They view it as an insurance policy against third-party marketing tools or forgotten shadow IT infrastructure. But when evaluating spf softfail vs hardfail m365 configurations, Google Workspace routing intelligence, and enterprise gateways like Proofpoint, that assumption falls apart completely.

Receiver behavior dictates reality. An email authentication policy is only as effective as the recipient gateway evaluating it. Leaving a domain on a softfail offloads your security posture to complex, opaque machine learning models and arbitrary spam scoring systems. Let us examine how the world's largest mail transfer agents actually penalize your unaligned mail, and why the tilde is failing your organization.

The Illusion of Standardization

The Sender Policy Framework explicitly defines four qualifiers for evaluation. Pass, fail, softfail, and neutral. A hard fail means the client is unauthorized and the receiver should reject the message outright at the SMTP transaction layer. A softfail indicates the host is not authorized, but the receiver should accept the message and subject it to further scrutiny. This ambiguity was originally designed to accommodate the inherent brokenness of email forwarding.

A SoftFail result ought to be treated as somewhere between a Fail and a Neutral. The domain owner believes the host is not authorized but is not willing to make that strong of a statement. (RFC 7208)

That single excerpt from the Internet Engineering Task Force created over a decade of configuration paralysis. Security teams leave records ending in a tilde indefinitely, treating it as a permanent crutch. The logic is simple but flawed. They believe a softfail will bypass hard bounces from legacy forwarders while still flagging obvious spoofing attempts to the recipient.

The Forwarding Dilemma

When an email routes through an alumni forwarding address or an inbound gateway, the source IP changes. The original SPF record now evaluates against the new forwarding IP, resulting in an authorization failure. The RFC expected this, which is why the softfail was created as a buffer. Modern protocols like the Authenticated Received Chain, defined in RFC 8617, attempt to preserve the original authentication results across these hops by cryptographically sealing the headers.

However, ARC adoption is not universal, and its effectiveness relies heavily on the receiver trusting the intermediate forwarder. When that chain of trust breaks down, the receiver is left staring at your SPF softfail. The reality is that modern Secure Email Gateways and cloud providers do not evaluate this protocol in a vacuum. A softfail feeds directly into complex machine learning models, composite authentication verdicts, and domain reputation matrices. The way Microsoft interprets that signal differs wildly from how a purely reputation-based filter at Google handles it.

Exchange Online Protection and the SCL Machine

If you spend any time triaging headers in a Microsoft environment, you know Exchange Online Protection has its own distinct philosophy on authentication. EOP calculates a Spam Confidence Level for every inbound message. This integer dictates whether a message lands in the inbox, the junk folder, or is quarantined by the tenant.

When EOP encounters an SPF softfail, it does not automatically drop the message. Instead, it utilizes a proprietary evaluation known as Composite Authentication. The compauth verdict looks at the totality of SPF, DKIM, and DMARC. If your message softfails SPF and lacks a valid DKIM body hash, the compauth verdict will often register as a failure. This failure alters the Spam Confidence Level. The exact numerical penalty depends heavily on the recipient tenant's specific anti-phishing policies and the sender's historical IP reputation.

The Anti-Spoofing Multiplier

Microsoft leans heavily on its internal spoof intelligence engine. If a message softfails SPF but passes DKIM, and the sending IP has a strong historical relationship with the recipient, the SCL might remain untouched. The system assumes the DKIM signature provides enough cryptographic proof of origin to override the IP mismatch.

Authentication-Results: spf=softfail (sender IP is 192.0.2.1) smtp.mailfrom=example.com; dkim=none (message not signed); dmarc=fail action=none; compauth=fail reason=000

We see this exact header block constantly during incident response. When a domain is newly observed, or the sender lacks DKIM entirely, that softfail acts as a massive risk multiplier. The compauth reason code triggers a spam policy violation. The message is almost guaranteed to hit an SCL of 5 or 9, dropping it straight into the Junk Email folder or quarantine. Without a DMARC policy enforcing a reject action, Microsoft relies on that softfail to tip the scales. It is a subtle penalty, but one that absolutely destroys deliverability for marketing and transactional mail alike.

How Google Workspace Weighs the Tilde

Google Workspace takes a less deterministic and more holistic approach than Microsoft. Gmail routing does not rely on a strictly visible integer like the Spam Confidence Level. Instead, Google evaluates thousands of signals, prioritizing domain reputation, user engagement, and historical sender volume alongside RFC 7208 compliance.

For Gmail, an SPF softfail is a strong negative signal, but it is highly contextual. If a sender domain has massive volume and incredibly high user engagement metrics in Google Postmaster Tools, Google might temporarily ignore a softfail caused by a weird routing hop. The machine learning model assumes the user wants the mail regardless of the failing IP address, prioritizing user preference over strict protocol adherence.

The Cold Start and the Question Mark

The danger arises with low-volume or newly registered domains. If your infrastructure lacks a deep history of positive engagement, a softfail is fatal. Gmail will flag the message with a stark yellow warning banner, alerting the recipient that the system could not verify the sender. Even worse, the sender avatar is replaced with a prominent red question mark, signaling extreme suspicion to the end user.

This is the operational stake for security engineers defending against Business Email Compromise. A softfail might not generate an SMTP bounce message, but a terrifying warning banner destroys user trust just as effectively. From an offensive perspective, threat actors explicitly hunt for domains with a tilde-all record because they know they can spoof the envelope sender. The softfail ensures the connection is not dropped at the gateway, giving the attacker's payload a chance to execute in the inbox if they can bypass the content filters and trick the user into ignoring the warnings.

Strict Scoring at the Gateway Layer

Enterprise Secure Email Gateways operate on fundamentally different assumptions than cloud mailbox providers. Products like Proofpoint, Mimecast, and Cisco Secure Email are tuned to prioritize corporate security over raw deliverability. They do not care if a user really wants an external newsletter. They care about preventing malware delivery and credential harvesting.

Proofpoint utilizes machine learning engines that add specific spam score values based on authentication failures. A hardfail triggers a massive score addition, often pushing the message immediately into a blocked state depending on the ruleset. A softfail adds a smaller, but still highly significant, penalty to the overall MLX score.

X-Proofpoint-Spam-Details: rule=notspam policy=default score=42 mlxscore=42 mlxlogscore=99

If your baseline message payload already looks slightly suspicious due to financial keywords, an external sharing link, or a newly registered domain in the body text, that softfail penalty will push you over the quarantine threshold. Furthermore, Mimecast administrators frequently utilize DNS Authentication policies where they explicitly define how to handle SPF results. The default configuration in many mature Fortune 500 environments is to map a softfail directly to a hard rejection. Relying on a softfail when routing mail into a heavily defended corporate network is a massive gamble that usually ends in silent message deletion.

DMARC Alignment Bypasses the Tilde

The most critical operational misunderstanding of the softfail mechanism lies in its interaction with RFC 7489. Domain-based Message Authentication, Reporting, and Conformance does not care about the nuance between a softfail and a hardfail. When it comes to alignment, DMARC evaluation is ruthlessly binary.

Binary Authentication

The DMARC module extracts the domain found in the RFC 5322 From header. It then checks if that exact domain aligns with the domain validated by either SPF or DKIM. If an IP address softfails the SPF check, the SPF authentication result is recorded as a complete failure for the purposes of DMARC alignment.

If you lack a valid, aligned DKIM signature to save you, that SPF softfail guarantees a DMARC failure. If your DMARC policy is set to quarantine or reject, the receiving Mail Transfer Agent will enforce that policy. The tilde in your SPF record will not save your deliverability. The receiver will always respect the DMARC enforcement policy over the SPF softfail recommendation.

This exact mechanical behavior is why lingering on a softfail during a DMARC deployment gives administrators a false sense of security. It masks routing issues in DMARC monitoring tools by showing partial authentication passes, while still triggering hard rejections at the enforcement layer. The softfail becomes a ghost in the machine, breaking mail flows while looking entirely benign in DNS lookup tools.

The takeaway

Leaving your infrastructure on a softfail is not a long-term strategy. It is an administrative band-aid that offloads critical security decisions to the receiver. Microsoft, Google, and enterprise gateways will gladly make that decision for you, and their machine learning models will rarely rule in your favor when malicious payloads are on the line. The tilde does not protect your mail flow; it merely shifts the point of failure from the SMTP transaction directly into the spam folder.

When you map out your email infrastructure, aim for strict alignment and a hard fail. Enforce DKIM universally to survive forwarding breaks, push your DMARC policy to the reject level, and let SPF do its actual job of explicitly and strictly authorizing your outbound architecture. If you are struggling to identify exactly which third-party senders are causing those softfails, piping your aggregate reports into MailSleuth.AI will surface the misconfigured shadow IT instantly. The authentication standard demands clarity. Stop giving it suggestions.

#spf#email-deliverability#microsoft-365#dmarc#email-forensics#spam-filters
MailSleuth Research
Email Security Team

We dissect phishing campaigns and email infrastructure so you don't have to.