An SPF record is a type of Domain Name Service (DNS) record that identifies which mail servers are permitted to send email on behalf of your domain.
The purpose of an SPF record is to prevent spammers from sending messages with forged From addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from your domain comes from an authorized mail server.
If your domain does not have an SPF record, some recipient domains may reject messages from your users because they cannot validate that the messages come from an authorized mail server.
To create an SPF record for a domain:
- Log in to Cpanel for your domain.
- Locate the page from which you can update the DNS records.
You may need to enable advanced settings.
- Create a TXT record containing this text: "v=spf1 a mx include:aspmx.googlemail.com ~all"
Publishing an SPF record that uses -all instead of?~all may result in delivery problems.
- Save your changes.
Keep in mind that changes to DNS records may take up to 48 hours to propagate throughout the Internet.