Subject: | spf2 record includes spf1 record |
Date: | Tue, 29 Mar 2011 18:13:16 -0600 |
To: | "bug-mail-spf [...] rt.cpan.org" <bug-mail-spf [...] rt.cpan.org> |
From: | J D Falk <jdfalk [...] returnpath.net> |
We've run into an interesting issue -- not sure if it's a bug, or a
difference in interpretation.
The spf2.0/pra record for vodafone.it has two include statements:
vodafone.it text = "v=spf1 include:spf1.vodafone.it
include:aspmx.googlemail.com include:t.contactlab.it ~all"
vodafone.it text = "spf2.0/pra include:spf2.vodafone.it
include:aspmx.googlemail.com include:senderid-a.contactlab.it -all"
Google's included record redirects to a record which is only spf1:
aspmx.googlemail.com text = "v=spf1 redirect=_spf.google.com"
_spf.google.com text = "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"
One possible interpretation is that when processing spf2 records &
includes, spf1 records should be ignored -- we believe that's what
Mail::SPF is doing when it says "Included domain \'aspmx.googlemail.com\'
has no applicable sender policy."
Another is to interpret the included spf1 record the way SenderID
interprets standalone spf1 records, which we're pretty sure is what
Microsoft is doing when they mark the same message as having passed.
But since only Microsoft cares about SenderID these days, our clients want
our tools to act the way theirs do -- and we use Mail::SPF. Is this
behavior configurable? Or is something else going on?
--
J.D. Falk
Editor, The Received: Blog
Return Path Inc.
http://www.returnpath.net/blog/received/