Setting up custom domain with iCloud and getting the SPF issues error
Was trying to set up customdomain with iCloud and I kept on getting the check SPF setting message. As I had copy pasted the values it seemed odd to me.
Went on digging and found this thread: iCloud+ customer domain SPF issues on Nam… - Apple Community
Here the dig command was mentioned.
This let me to find the problem. iCloud mentions double quotes (") in the SPF record just like there is a period (.) at the end of the MX records.
Here is the relevant dig command output for dig mydomain.com
mydomain.com. 60 IN TXT "apple-domain=XPKFHC3wnwzYyHVU"
mydomain.com. 60 IN TXT "\"v=spf1 include:icloud.com ~all\""
Note the escaped quotes (\") before the normal quotes. when I removed the quotes it worked in less than a minute.
Question Apple will you update your documentation?