[Pymilter] Failed SPF checks for _spf.google.com

Andre Esser andre.esser at geneity.co.uk
Wed Dec 10 05:51:28 EST 2014


On 2014-12-06 14:21, Stuart D Gathman wrote:
> On 12/03/2014 11:49 AM, Andre Esser wrote:
>>   I'm seeing strange behaviour of the SPF module for Python. The issue
>>   is that an SPF lookup for _spf.google.com returns 'None':
>>
>>    # python3 /usr/lib/python3/dist-packages/spf.py _spf.google.com
>>    None
>>
>>   The equivalent query with dig on the same server however succeeds:
>>
>>    # dig _spf.google.com txt +short
>>    "v=spf1 include:_netblocks.google.com include:_netblocks2.google.com \
>>     include:_netblocks3.google.com ~all"
> I just released pyspf-2.0.11, with case insensitive DNS cache.  See if
> that addresses the problem.

Success. I was able to create the failure condition in the Bind cache
and the check with pyspf-2.0.11 still succeeded.

Many thanks!

Andre



More information about the Pymilter mailing list