Custom Gateway - Customer Support

Welcome to the Custom Gateway Support Portal

Here you can raise support tickets and read articles on common queries using the topic sections and search below

SPF Records


What is an SPF Record?

An SPF Record or Sender Policy Framework Record is a method of validating that an email came from an authorised domain. In other words, it is a way of saying that server1 is allowed to send mail on behalf of server2.

SPF Record Workflow

1. A server with IP address of sends a message FROM TO
2. The mail server gets the DNS records of type TXT for, looking for the SPF record
3. The mail server compares the IP address against the parts of the SPF record
4. The message is accepted or rejected based on which part of the SPF record it matches

What does the SPF Record mean?


v=spf1 a mx ~all

 To break that down:


The "version" perimeter is a way to let mail parser's know that this is the record to be used, since there can be multiple TXT records associated with a domain.

The mechanism itself runs from left to right and is used to specify different rules on how a domain should check SPF.


You can read in more detail the various mechanisms which are available here.

You can also use the following wizard to create an SPF record


Was this article helpful?
0 out of 0 found this helpful