Hi everyone,
I'm hoping to get some advice on optimizing my SPF record for a Zoho Mail setup. I use Zoho Mail along with several other Zoho services, and as a result, my current SPF record has grown to include multiple include mechanisms. My Cloudflare record looks like this:
v=spf1 include:zcsend.net include:transmail.net include:zoho.com include:zohomail.com include:one.zoho.com ~all
When I run this SPF record through various online validation tools, I'm consistently flagged for a couple of critical issues:
"Duplicate ip4 mechanism. The value 'ip4:136.143.188.0/24' is invalid." It seems the IP ranges from the different Zoho include statements overlap.The recommendation from these tools is to perform SPF Flattening. I understand the basic concept—to consolidate all the IP addresses from the various include statements into a single, flat list of ip4 and ip6 ranges to reduce the lookup count and clean up the duplicates.
However, I want to make sure I implement this correctly for Zoho's ecosystem. My main questions are:
zcsend.net, transmail.net, etc.)?I would greatly appreciate any detailed steps, personal experiences, or best practices you can share. Thank you in advance for your help