Do you need to set SPF records when sending mail with Google Apps account sender?

198 views
Skip to first unread message

pdknsk

unread,
Oct 25, 2011, 5:59:31 AM10/25/11
to Google App Engine
According to the Google Apps docs, SPF should be set manually.

http://www.google.com/support/a/bin/answer.py?answer=178723

And indeed, there is no such record in the DNS setiings of the domain.

However, when sending mail via App Engine, Google seems to add SPF
automatically. At least that's how I interpret the headers on received
mail.

Received-SPF: pass (google.com: domain
of ...apphosting.bounces.google.com designates 209.85.160.208 as
permitted sender) client-ip=209.85.160.208;
Authentication-Results: mx.google.com; spf=pass (google.com: domain
of ...apphosting.bounces.google.com designates 209.85.160.208 as
permitted sender)

pdknsk

unread,
Oct 25, 2011, 6:30:37 PM10/25/11
to Google App Engine
I've set it in the DNS settings and had it no effect, other than what
was already in the headers.

pdknsk

unread,
Nov 1, 2011, 11:59:11 AM11/1/11
to Google App Engine
Well, I've figured it out. App Engine sends the mail via
*.apphosting.bounces.google.com, so SPF checks against that domain
(and not the app domain). So to answer my question: no, because SPF is
already set by Google. However, when sending from Google Apps, SPF
needs to be set in the DNS settings.
Reply all
Reply to author
Forward
0 new messages