Sender Policy Framework (SPF) is an email validation system that blocks spam in the form of spoofing. "Spoofers" commit mail fraud by sending mail from what appear to be trusted addresses in order to gain sensitive information. An administrator can choose which hosts may use a given domain by creating an SPF record in the public Domain Name System (DNS). The DNS can then be used to verify that email from a given domain is sent from a host approved by the domain's administrators.
The single advantage of publishing an SPF Record
is that Spammers and Phishers will not be able to forge the email sending domain. Spammers will not be able to pretend that they are sending mails from your domain name. If they do, that mail will be caught by the Anti-Spam systems of the respective ISPs and the mail will land in the Junk or Spam folder.
Thus by publishing an SPF record you are making your domain spoof-proof.
It's very simple. The SPF Record looks something like this:
"v=spf1 a mx -all"
In the SPF Record, you can determine which IP addresses and domains can send mails on behalf of your domain, preventing spoofing.
Let's say you are a client of Benchmark Email and you are sending emails to your customers through the Benchmark Email platform. For better deliverability, you need to explicitly allow Benchmark Email to send mails to your customers on your behalf.
The SPF record for yourwebdomain.com should go in your DNS manager something like this:
yourwebdomain.com IN TXT "v=spf1 a mx ip4:126.96.36.199 include:thirdpartyespdomain.com -all"
188.8.131.52 = the IP Address of the your mail server or 3rd party ESP like Benchmark Email and thirdpartyespdomain.com = the domain of the 3rd party ESP like Benchmark Email or their relay mail server's domain name.
You can get great help from the links given here: