SPF qualifier
The one-character prefix on an SPF mechanism that sets the result when it matches: + for pass, - for fail, ~ for softfail, ? for neutral.
What it means
Every SPF mechanism can carry a qualifier. When the mechanism matches the sending IP address, evaluation stops and the qualifier becomes the result: + gives pass, - gives fail, ~ gives softfail and ? gives neutral. With no qualifier the default is +, so include:example.net and +include:example.net mean the same thing.
The closing all mechanism is where a qualifier matters most, since it expresses the domain's policy for every address not listed. A qualifier on another mechanism is legal and occasionally useful, for example -ip4:192.0.2.66 to exclude one address inside a network that a later term authorizes.
Receivers apply their own policy to each result. RFC 7208 leaves the handling of fail to local policy, says not to reject on softfail alone, and requires neutral to be treated exactly like none.
Example
v=spf1 -ip4:192.0.2.66 ip4:192.0.2.0/24 ~allRelated terms
On this site
Sources
What this definition rests on. The wording is ours; the facts are theirs.
- RFC 7208: Sender Policy Framework (SPF), section 4.6.2rfc-editor.org
- RFC 7208: Sender Policy Framework (SPF), section 8rfc-editor.org
All 432 terms in the glossaryThe wiki: blocklists and bounce codes