Understanding SPF Records
We recommend that all customers use a Sender Policy Framework (SPF) record for their domain(s). An SPF record is a type of Domain Name Service (DNS) record that identifies which mail servers are allowed to send email on behalf of your domain.
The purpose of an SPF record is to prevent spammers from sending messages pretending to be from 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.
For example, suppose that your domain example.com uses Office 365. You create an SPF record that identifies the Office365 mail servers as the authorized mail servers for your domain. When a recipient's mail server receives a message from
user@example.com, it can check the SPF record for example.com to determine whether it is a valid message. If the message comes from a server other than the Office 365 mail servers listed in the SPF record, the recipient's mail server can reject it as spam.
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.