Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently have an SPF record with a hostname of @ that is:

v=spf1 mx ip4:x.x.x.243/32 ~all

I also have another record of"

spf2.0/pra mx ip4:x.x.x.243/32 ~all

We have had a lot of email being bounced back because of spam and now when I go to and check the "Does my domain already have an SPF record? What is it? Is it valid?" it says no spf record exists.

However, when I send an email using our Amazon SES script and check the headers it says it passes the SPF test.

Is there something I am missing? Do I need to place that text in quotes ""? Any help would be greatly apprecaited.

share|improve this question

Do I need to place that text in quotes ""?

The missing quotes should be the problem indeed, as explained e.g. in Record Types Supported:

Unlike with most other record types, for TXT records the Data field is essentially free-form and may even include spaces. Please note: When entering a string that includes spaces, such as SPF records, you must enclose the string in double quotes; otherwise, individual words will be separately quoted and break up the record into multiple parts.

Here are the records we currently use successfully for Amazon SES as per Authenticating Your Email Address (it's indeed unfortunate that their documentation doesn't address the quoting needs):

"v=spf1 ~all"
"spf2.0/pra ~all"

Your records should simply look like so accordingly:

"v=spf1 mx ip4:x.x.x.243/32 ~all"
"spf2.0/pra mx ip4:x.x.x.243/32 ~all"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.