SPF please can someone explain to me what this means: v=spf1 a mx ~all

spf
Cameron picture Cameron · Oct 16, 2015 · Viewed 8.3k times · Source

I'm a little confused with this in my TXT record. Can someone explain to me what it means:

v=spf1 a mx ~all

Answer

Devon picture Devon · Oct 16, 2015

v=spf1 is the version.

a: All the A records for domain are tested. If the client IP is found among them, this mechanism matches.

mx: All the A records for all the MX records for domain are tested in order of MX priority. If the client IP is found among them, this mechanism matches.

~all: softfail Allow mail whether or not it matches the parameters in the record

Source: http://www.openspf.org/SPF_Record_Syntax