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 "include:_spf.google.com" 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 mail-la0-f50.google.com (mail-la0-f50.google.com [])

However, _spf.google.com doesn't list that IP address:

$ dig +short _spf.google.com txt
"v=spf1 ip4: ip4: ip4: ip4:   
ip4: ip4: ip4: ip4: 
ip4: ip4: ?all"

(Note that a network is listed, but not

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!

5 falls within, so Google's record is correct:

% ipcalc | grep Host
HostMin:         11010001.01010101.1 0000000.00000001
HostMax:       11010001.01010101.1 1111111.11111110

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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