{"id":354,"date":"2020-06-03T11:31:41","date_gmt":"2020-06-03T03:31:41","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=354"},"modified":"2026-01-12T11:04:58","modified_gmt":"2026-01-12T03:04:58","slug":"spf-sender-policy-framework","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/spf-sender-policy-framework","title":{"rendered":"SPF (Sender Policy Framework)"},"content":{"rendered":"<h3><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/captainverify.com\/blog\/wp-content\/uploads\/2023\/09\/spf-securite-emails-jpg.webp\" alt=\"SPF (Sender Policy Framework)\" width=\"458\" height=\"305\" \/><\/h3>\n<h3>SPF (Sender Policy Framework)<\/h3>\n<p>An extension of <a href=\"https:\/\/www.geeksforgeeks.org\/computer-networks\/simple-mail-transfer-protocol-smtp\/\" rel=\"nofollow noopener\" target=\"_blank\">SMTP<\/a> which stops email spammers from forging the \u201cFrom\u201d fields in an e-mail.<\/p>\n<p>Due to SMTP itself does not have the mechanism to authenticate, SPF provides the authentication scheme by specifying which computers are authorized to send email from a specific domain.To use SPF, the domain sending e-mails must establish an SPF record that is published in DNS records. When e-mail passes through the DNS server, it is compared to the SPF record for that domain to determine if the sender is authorized to send e-mails from that sender\u2019s address. If the e-mail comes from a domain that is not authorized, the DNS server will not forward the e-mail to the expected destination.<\/p>\n<p>SPF only stops the spammer from forging the \u201cFrom\u201d field in the e-mail and does not stop the spammer from sending e-mails from a domain in which it is a member.<\/p>\n<p>To use SPF, the following standard have been declared.<\/p>\n<p><strong>domain.com. IN TXT \u201cv=spf1 include:spf.mschosting.com -all\u201d<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><br \/>\nFrom the rules,\u00a0<strong>v\u00a0<\/strong>stand for the version of SPF and currently available for spf1 (version 1) only.<\/p>\n<p>Eight mechanisms are defined:<\/p>\n<p>\u2013 ALL \u2013 Matches, used default result like -all<br \/>\n\u2013 A \u2013 A record that can be reach.<br \/>\n\u2013 IPv4 \u2013 IPv4 address range.<br \/>\n\u2013 IPv6 \u2013 IPv6 address range.<br \/>\n\u2013 MX \u2013 Mail Exchange record match.<br \/>\n\u2013 PTR \u2013 Reverse DNS (Record).<br \/>\n\u2013 EXISTS \u2013 If the given domain name resolves to other name.<br \/>\n\u2013 INCLUDE \u2013 Include policy.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SPF (Sender Policy Framework) An extension of SMTP which stops email spammers from forging the \u201cFrom\u201d fields in an e-mail. Due to SMTP itself does not have the mechanism to authenticate, SPF provides the authentication scheme by specifying which computers are authorized to send email from a specific domain.To use SPF, the domain sending e-mails must establish an SPF record&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[11],"kbtag":[1664],"class_list":["post-354","kb","type-kb","status-publish","hentry","kbtopic-general-email","kbtag-spf"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=354"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/354\/revisions"}],"predecessor-version":[{"id":5824,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/354\/revisions\/5824"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=354"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=354"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}