https://www.smartertools.com/blog/2019/04/09-understanding-spf-dkim-dmarc
Sender Policy Framework is a record that is used to help prevent email spoofing. It allows you to specify all of the IP addresses that you would send mail from in one simple TXT record, and to tell the receiving server to only allow the outbound servers you listed.
The following is an example of a TXT record, with definitions for each portion of it.
Format of TXT: “v=spf1 mx ip4:{any server you may also send from IP} include:spf.messaging.microsoft.com ~all”
V=spf1 | This is the version of SPF that is being used. |
MX | This indicates that you are sending also from everything listed on your MX record. |
IP4 | This is for any server IP address that you also allow for (not needed for FOPE servers if you included the FOPE SPF record and send only through FOPE). |
Include | This parameter includes additional records to allow sending for your domain. |
all | all has three switches that it can use:
|
EXAMPLE:
A normal TXT for a client who sends only through FOPE might look like the following example:
“v=spf1 include:spf.messaging.microsoft.com ip4:192.168.254.254 -all”
reference: http://technet.microsoft.com/en-us/library/ff714972.aspx