What Is the Difference Between SPF Include and Redirect?
Short answer
Use include: to authorize senders that pass the referenced policy while keeping the current domain’s other SPF mechanisms. Use redirect= to delegate the policy when none of its mechanisms matches. An all mechanism matches everything, so it prevents reaching a redirect.
By Xpoudy ·
Read the local record first
On the actual envelope sender hostname, list the mechanisms in order. Includes are evaluated as mechanisms and can use DNS lookups. An included policy’s failure does not automatically become the parent policy’s final result. The local policy can continue to evaluate its remaining mechanisms.
Choose the correct relationship
Use an include if one hostname authorizes several distinct providers while retaining local control of the ending policy. Use a redirect if a group of names intentionally shares a single policy maintained elsewhere. Check scope and lookup limits, and compare the referenced record before editing the local policy.
Validate the chosen setup
Use Xpoudy SPF Checker and test a controlled message from each expected sender. Compare the receiver’s result with the first matching mechanism. Preserve a copy of the old policy so you can tell which term changed behavior if one route fails.