[Pymilter] pyspf SPF checking raises TypeError exception when checking erroneous record

Stuart D Gathman stuart at bmsi.com
Thu Mar 14 16:00:02 EDT 2013


On Mar 14, Stuart D Gathman transmitted in part:

> I created a test case for this, and unless I'm missing something,
> pyspf-2.0.7 doesn't have this problem: it simply doesn't match.
> What version are you running?

Also, it could be a dnspython or pydns problem/incompatibility.  Are
you running pydns or dnspython?

> tests:
>  null-cname:
>    comment: |
>      pyspf was getting a type error for null CNAMEs
>    helo: mail.example.com
>    host: 1.2.3.4
>    mailfrom: bar at e3.example.com
>    result: [fail, permerror]
> zonedata:
>  e3.example.com:
>  - SPF: v=spf1 mx:mx1.example.com -all
>  mx1.example.com:
>  - CNAME: .



More information about the Pymilter mailing list