Learn how to update a Domain Name Service (DNS) record to use Sender Policy Framework (SPF) with your custom domain in Office 365.
Set up SPF identify valid email sources for your Microsoft 365 domain ...
Admins can learn how email authentication (SPF, DKIM, DMARC) works and how Microsoft 365 uses traditional email authentication and composite email authentication to allow and block spoofed messages.
Yes, it is possible to edit the SPF record for your domain in Office 365, including adding additional IP addresses or mechanisms such as the "p4" mechanism you mentioned. However, modifying DNS records, including SPF records, typically requires administrative access to your domain's DNS settings.
How can make a change to the SPF record for my DNS which is hosted by ...
Sender Policy Framework, better known as SPF, helps prevent email spam. SPF is designed to help prevent spoofing. Activate SPF on a domain by adding a TXT record to the domain's DNS. To set up an SPF TXT record for use with Microsoft 365 email services, see Add an MX record and DNS records for email (Outlook, Exchange Online) in this article.
SPF records are TXT records that help to prevent other people from using your domain to send spam or other malicious email. Sender policy framework (SPF) records work by identifying the servers that are authorized to send email from your domain. You can only have one SPF record (that is, a TXT record that defines SPF) for your domain.
SPF (Sender Policy Framework) SPF RFC 7208 is a mechanism that allows domain owners to publish and maintain, via a standard DNS TXT record, a list of systems authorized to send email on their behalf. Azure Communication Services allows you to configure the required SPF record that needs to be added to your DNS to verify your custom domains.