SPF typically aims to protect you against spam and other forms of email fraud. It helps you to authorize the sending sources for your outgoing emails. You can follow the steps mentions below to enable SPF for Shopify:
Login to your DNS registrar’s account
Navigate to Tools & Settings > DNS Template
You need to edit the DNS TXT record related to SPF
An SPF TXT record for Shopify will have the following syntax:
yourdomain.com TXT v=spf1 include:shops.shopify.com -all
Publish this record in your DNS records section for your respective domain.
Note: If you don’t have an SPF record for your domain previously, previously for your domain, you can simply publish the record mention above to enable SPF for outgoing email using Shopify. In case you do have an SPF record already, you are required to modify it to include Shopify, as shown below:
Previous SPF record: v=spf1 include:spf.abc.com -all
Modified SPF record: v=spf1 include:spf.abc.com include:shops.shopify.com -all
Save changes
Wait for 24-48 hours to allow your DNS to process the changes
Finally, you can look up your record using the smart tools of KDMARC