Look up any domain's SPF record, count its DNS lookups against the hard limit of ten, and see exactly which servers are allowed to send as it.
SPF names who may send as you. It cannot say whether the message was altered on the way, and it cannot tell a receiver what to do when the check fails, which is what DKIM and DMARC are for.
SPF stands for Sender Policy Framework. It is one TXT record in your domain's DNS that lists every service allowed to send email using your address. When a message arrives, the receiving server compares the server that handed it over against that list.
It matters because anyone can type your address into a From line. A correct SPF record helps Gmail and Outlook tell your real invoices apart from a forgery, and a broken one makes your genuine mail look like the forgery.
v=spf1 include:_spf.google.com ip4:203.0.113.25 ~all
v=spf1include:_spf.google.comip4:203.0.113.25~allIncludes can contain includes of their own, and those nested ones count toward the ten as well. That is how a record with only four or five includes can still go over the limit, and why this check adds them all up for you.
No record found usually means SPF was never set up, so receivers have nothing to compare your mail against. Publish one that lists your mailbox provider and every tool that sends on your behalf.
Two records is a common leftover from changing provider. SPF allows exactly one per domain, and with two every check returns an error, so merge them into a single line.
Too many lookups means the record is right on paper but too expensive to evaluate. Remove services you no longer use before reaching for flattening, which swaps includes for raw addresses and has to be kept up to date by hand.
A DNS TXT record that lists which mail servers are authorized to send email using your domain.
SPF may trigger at most 10 DNS lookups while evaluating. Exceeding it causes a permerror and SPF fails, so keep includes lean.
-all (hard fail) is stronger and preferred once you are confident every legitimate sender is listed. ~all (soft fail) is a safer starting point while you verify.
No. A domain may publish only one SPF record. With two, receivers return a permanent error and SPF fails for every message, so merge them into one.
Not on its own. SPF checks the hidden return address, not the From address people see, so it needs DMARC to connect the two and to say what happens when a check fails.