On Wednesday, January 21, 2015 06:29:11 Darren Pilgrim wrote: > On 1/18/2015 12:49 PM, SW wrote: > > I have contacted the port maintaner but he couldn't help. > > > > Can anyone else assist please? > > There are known issues with DNS lookups in python. You could use > postfix-policyd-spf-perl instead.
I've been working with the OP offlist and it does appear to be an issue in the DNS module. We're still trying to narrow it down. The Perl implementation is very simple. Depending on your needs, it may or may not be sufficient. The Python implementation is more developed and covers a significantly broader set of use cases. Scott K