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

Kazuhiro Ogura kazuhiro.ogura at hde.co.jp
Thu Mar 14 01:33:07 EDT 2013


2013/3/13 Stuart D Gathman <stuart at bmsi.com>:
> Excellent nit nabbing!  Will make a great test case for the test suite
> also.  The next question is, what should the correct result be?
> PermError, or nomatch?

Theoretically it is not wrong to point a DNS record to ".", so its not
a kind of syntax error. So I think PermError is not appropriate.

Then, nomatch?

-- 
Kazuhiro Ogura <kazuhiro.ogura at hde.co.jp>
Representative Director, Chief Executive Officer
HDE, Inc.
http://www.hde.co.jp/
GPG Key Id: 0xFA80C875
We support Karesansui Project: http://karesansui-project.info



More information about the Pymilter mailing list