Common mechanisms
mx allows the mail servers from the MX records. a allows the domain A/AAAA address. ip4 and ip6 allow specific addresses or networks. include references another provider policy.
Mail / DNS
Create a simple SPF record for your domain. Choose allowed mail servers, IP addresses, include mechanisms and the final policy. The assistant generates a TXT value and shows typical warnings.
SPF is a DNS TXT record. It describes which servers are allowed to send email for a domain.
The TXT value can be added at your DNS provider as the domain SPF record.
SPF should match the actual mail infrastructure. Very broad rules do not improve delivery; they weaken the record meaning.
mx allows the mail servers from the MX records. a allows the domain A/AAAA address. ip4 and ip6 allow specific addresses or networks. include references another provider policy.
-all is strict, ~all is a common starting point, ?all is neutral and +all allows everything. +all is usually unsuitable for production domains.
A domain should normally have only one SPF TXT record. Multiple SPF records for the same name often cause validation problems.