SPF record for Gmail?

Posted by Chris on Server Fault See other posts from Server Fault or by Chris
Published on 2012-11-01T22:05:00Z Indexed on 2012/11/01 23:05 UTC
Read the original article Hit count: 363

Filed under:
|
|

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 [209.85.215.50])

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

$ dig +short _spf.google.com txt
"v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18   
ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ip4:64.18.0.0/20 
ip4:207.126.144.0/20 ip4:173.194.0.0/16 ?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!

© Server Fault or respective owner

Related posts about dns

Related posts about gmail