Adding Sender Policy Framework (SPF) records for Work 365

Modified on Mon, Oct 9, 2023 at 11:38 AM

Pre-requisites


Performing this configuration will require the following:

  • Work 365 Administrator Role user
  • Access to your DNS control panel with the ability to add/modify DNS records.

Time required


This configuration is expected to take approximately 10 minutes

Additional Notes


Adding an SPF record does not guarantee that the email will not be marked as spam; however, it does mark Work 365 / Sendgrid as the permitted sender for your domain.the 


Procedure

  1. An SPF record is a TXT record added to your domain with the following format:

    _v=spf1 include:[permitted-sender-1] include:[permitted-sender-2] … include:[permitted-sender-3] ~all_

  2. If your domain does not have an SPF record, create a new TXT record with the following value and a TTL of 3600 seconds

    _v=spf1 ip4:149.72.41.211 ~all_

  3. If your domain already has an SPF record, you must modify that existing record by adding

    _ip4:149.72.41.211 before the ~all_

  4. For example, if your domain already has an SPF record as follows

    _v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net ~all_

  5. The resulting record should look like

    _v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net ip4:149.72.41.211 ~all_

  6. Once the record has been added, it may take up to 72 hours to come into effect.

Congrats Your SPF record has been added!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article