Email Routing + iCloud Custom Domain SPF HELP

Hello

I am attempting to setup my domain where Cloudflare forwards my emails (using Cloudflare Email Routing) and I use iCloud Custom Domains support to send emails.

MX records point to Cloudflare so thats all good. However, I need help setting up the SPF record. I know there can only be one SPF record.

Cloudflare recommends the following TXT record:
v=spf1 include:_spf.mx.cloudflare.net ~all

iCloud Mail recommends the following TXT record:
v=spf1 redirect=icloud.com

How do I merge the above into one SPF record?

(the reason I am not going all in iCloud because iCloud does not have catch all support)

I’m not an expert on SPF, but as far as I know, asking your users to publish a record containing the “redirect” modifier is generally considered bad practice. With that said, this combined record should do the job:

v=spf1 include:_spf.mx.cloudflare.net include:icloud.com ~all

@nhd is correct

thank you @nhd and @sven2

I followed the instructions from iCloud at first in order to add the domain to iCloud. Once that was done, I removed the iCloud MX records from Cloudflare, also deleted the SPF and added the Cloudflare MX records plus the following SPF as advised:

v=spf1 include:_spf.mx.cloudflare.net include:icloud.com ~all

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.