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

Stuart D Gathman stuart at bmsi.com
Wed Dec 3 01:01:37 EST 2014


On Nov 29, Stuart D Gathman transmitted in part:

> On Nov 26, Andre Esser transmitted in part:
>
>>  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"
>
> Just back from Thanksgiving, but shooting from the hip - there is a

Since this is python3, another possibility is a problem with py3dns.



More information about the Pymilter mailing list