What is SPF?
SPF, or Sender Policy Framework, is one of the foundational email authentication standards. It works by letting a domain owner publish a list — in the domain's public DNS records — of the mail servers that are authorized to send email using that domain's name. When your mail server receives a message, it checks whether the server that physically delivered the message appears on that published list.
SPF answers one specific question: did the right server send this? It says nothing about whether the email content has been tampered with, or whether the From address in the message header matches the envelope (more on that below). But as a first line of defense against sender forgery, it is widely deployed and effective.
SPF Failure
An SPF result of "fail" means the server that delivered this email is definitively not on the sender domain's authorized list. The domain owner has explicitly said: mail from that server should not be trusted.
This is a strong signal that the From address has been forged. Forging a From address is technically simple — any mail server can be configured to claim any From address, and nothing in the basic email protocol prevents it. SPF exists precisely to close that gap. When it returns a hard fail, the implication is that whoever controls the sending server is not the person or organization named in the From field.
Attackers rely on SPF failures routinely. A phishing email claiming to come from your bank, sent from a server the bank has never heard of, will produce an SPF failure. Many of these emails still reach inboxes because not every mail provider enforces SPF strictly, or because the phisher has set up their own domain with a passing SPF record and spoofed only the display name.
SPF Warning (Softfail, Neutral, or None)
The three warning-level outcomes each indicate a different degree of incomplete SPF configuration:
Softfail (~all) means the domain owner suspects the sending server is not authorized, but has explicitly asked receiving servers not to outright reject it. This is often used during a gradual SPF deployment, but it also means that a forged email from that domain will not be blocked on SPF grounds alone.
Neutral (?all) means the domain owner has published an SPF record but deliberately made no statement about whether the sending server is authorized or not. This provides no authentication value at all — a forged email passes SPF neutral the same as a legitimate one.
None means no SPF record exists for the sending domain. There is simply no published list of authorized servers to check against.
None of these results confirm a forgery, but they mean the email cannot be positively verified through SPF. Combined with other suspicious signals, an SPF warning-level result reduces confidence in the sender's identity.
What you should do
An SPF failure is a meaningful red flag, especially when combined with other indicators such as an urgent request, an unexpected sender, or suspicious links. It does not prove the email is malicious — some legitimate mail systems are misconfigured — but it shifts the burden toward the email proving its legitimacy through other means. An SPF warning-level result is a weaker signal. Treat it as one factor among many rather than a decisive indicator on its own.