What is SPF

Sender Policy Framework (SPF) is a mechanism that an email originating from a certain domain can only be sent via a designated mail server. With this record, sending email from a certain domain is only allowed from the specified mail server. If there is an email that comes from that domain, but doesn't come from the specified mail server, then the email will be rejected. With this mechanism it will reduce spam. With SPF we can know that an email was sent from an IP address (email server) which is indeed allowed to send email from the sender's domain.

Technically, you have to create a DNS entry on your domain, in the form of an SPF record or TXT record and enter a valid list of IP addresses (hosts) that are allowed to send or deliver email on your domain name. Any email sent that is not from the list above, can be confirmed as fake or spoofed and you can set your DNS, so that the recipient's MX (external MTA) can check that incoming mail was indeed sent from the list of valid hosts listed in your DNS.

spf record example:

v=spf1 +a +mx +ip4:104.161.xxx.xxx ~all

Was this answer helpful?

Related Articles

What is DKIM?

Definition of DKIM DomainKeys Identified Mail or DKIM is a standard can help prevent spoofing by...

What is Text Record

TXT records are custom records that contain machine-readable data. TXT Records must be formatted...

What is Email Spoofing and how to prevent it

Email Spoofing is a dangerous threat that can happen to any email account, including your own....

How do I create an Email Using my own Domain?

After entering the Cpanel, enter the command in the search "Email Accounts" and click "Email...

Some of the reasons why email always goes to the spam box

Email has become a way of life. Nowadays, email is often used as a means of communication for...