What’s wrong with the SPF record

spf

This is my SPF record:

v=spf1 a ip4:111.222.333.444 include:_spf.google.com ~all 

I sent a test email to my Gmail address and below are the headers.
I replaced real IP address with 111.222.333.444 and
I replaced server hostname with myserver.example.com

My question is: why headers say that IP address 111.222.333.444 "is neither permitted nor denied"? This IP address is included in SPF record and should be "permitted". It's not a DNS caching problem.

Received: from myserver.example.com (static-ip-111-222-333-444.inaddr.example.com
[111.222.333.444])by mx.google.com with ESMTPS id h20si450242faa.105.2011.10.25.23.56.16
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 25 Oct 2011 23:56:17 -0700 (PDT)
Received-SPF: neutral (google.com: 111.222.333.444 is neither permitted 
nor denied by best guess record for domain of www-data@myserver.example.com) 
client-ip=111.222.333.444;

Best Answer

Without any real data, your record is impossible to validate. Try using some SPF testing tools to check for possible problems.

Related Topic