The sender policy framework [SPF] is designed to prevent email Spoofing by providing standards for email validation.
In order to setup SPF, publish a list of authorized mail servers to the DNS configuration of your domain.
And to publish an SPF record, a new record has to be added to the DNS configuration of your domain