Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have DNS, with a SPF TXT record, configured for a domain name. The primary user of the domain name now needs to be able to send both from our SMTP servers, and also from her GMail account. I've seen all the information about adding "" to the SPF TXT record, but, as I look into it, it appears that record is outdated.

In particular, I had the user send me a test message, and note that it was:

Received: from ( [])

However, doesn't list that IP address:

$ dig +short txt
"v=spf1 ip4: ip4: ip4: ip4:   
ip4: ip4: ip4: ip4: 
ip4: ip4: ?all"

(Note that a 209.85.21*8*.0 network is listed, but not 209.85.21*5*.0.)

Is there a better way to enable sending from GMail? This user sends to at least one recipient with a strict SPF policy that bounces mail not from a designated host...

Many thanks!

share|improve this question falls within, so Google's record is correct:

% ipcalc | grep Host
HostMin:         11010001.01010101.1 0000000.00000001
HostMax:       11010001.01010101.1 1111111.11111110
share|improve this answer

Google set ?all, so mails from other IPs should not be outright rejected. The result of the SPF check should be "neutral" and message should be accepted.

share|improve this answer
Since Google's policy is being included the ?all doesn't have an effect. – mgorven Nov 2 '12 at 0:28
Damn Terminal, thx for the comment that SPF check should be "neutral", I got confused and thought that my SPF record was not set correctly, but it is a relief when you say this is standard... – Chris Nov 15 '12 at 14:40
PS: I am not the same Chris who asked the question ;) – Chris Nov 15 '12 at 14:40

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.