Set up SPF, DKIM and DMARC for iCloud Mail
The three settings that keep iCloud Mail messages out of spam, with iCloud Mail's own values and where to find them. Allow about fifteen minutes.
Published
Before you start
The records below are added where your domain's DNS is managed. That is often the company you bought the domain from, and not always iCloud Mail. If you aren't sure where that is, enter your domain: we name your DNS host and link to its guide.
Step 1. SPF: say who may send for you
Add one TXT record on your domain with the value below. It tells mail services that iCloud Mail is allowed to send your email.
v=spf1 include:icloud.com ~allIf your domain already has a record starting v=spf1, don't add a second. Edit the one you have so it includes iCloud Mail. Two SPF records cancel each other out.
Step 2. DKIM: sign your email
- Sign in at icloud.com/icloudplus, open Custom Email Domain and choose Manage.
- Open your domain's DNS records. iCloud lists the records to add, including a CNAME record for sig1._domainkey.
- Add them where your domain's DNS is managed, exactly as shown, then return to iCloud and choose Finish Setup.
Step 3. DMARC: say what happens to fakes
Add a TXT record named _dmarc with the value below. This starts in monitoring mode, which changes nothing about how your email is delivered.
v=DMARC1; p=none;After a few weeks with SPF and DKIM both working, change p=none to p=quarantine. Fake emails then go to spam.
Step 4. Check it worked
Changes can take up to an hour to show. Then run the check here: it reads all three records and tells you if anything is still missing.