Build a valid SPF TXT record for your domain. Select your email providers, add custom IPs, choose your policy, and copy the result.
Choose every service that sends email on behalf of your domain.
Add your own mail server IPs or third-party include domains not listed above.
What should receiving servers do with email from unauthorized senders?
@ (or your domain name)@ (or your domain) and paste the generated SPF value. Save and allow up to 48 hours for DNS propagation.
~all (soft fail) tells receiving servers to accept but flag emails from unauthorized senders — they'll likely land in spam. -all (hard fail) tells servers to reject unauthorized emails outright. Start with ~all to avoid accidentally blocking legitimate email, and switch to -all once you've confirmed all your senders are listed.
include: statements — which is exactly what this generator does.
include:, a:, mx:, and redirect= mechanism counts as one lookup. Nested includes within those records also count. If your SPF record exceeds 10 lookups, it will return a PermError and email authentication will fail. This generator tracks your lookup count so you can stay within the limit.
This generator builds your SPF record. Scanward continuously monitors it — and alerts you if it breaks, gets removed, or if your email authentication degrades.
Monitor Your Domain Free →