mailskop.
All terms

Glossary · SPF details

SPF all

-all, ~all, ?all, +all

all is the mechanism at the end of an SPF record that sets the result for every sender not matched by the earlier terms (RFC 7208 §5.1).

By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim

How it works

The qualifier in front sets the result (RFC 7208 §4.6.2): -all → fail, ~all → softfail, ?all → neutral, +all → pass. +all authorises everyone to send as you and makes the record meaningless. Mechanisms written after all are never tested and are ignored; if the record contains all, redirect is ignored too (RFC 7208 §5.1).

For DMARC the difference between ~all and -all narrows: DMARC asks whether SPF passed aligned; softfail and fail both mean it did not.

-all on its own does not make a good SPF record; the real question is who is authorised in it. A record covering the IP address of a shared server lets the other organisations on that server send as you too.

Example record

ornek.com.tr.  TXT  "v=spf1 ip4:192.0.2.10 include:_spf.google.com -all"

Last updated: