Comment 0 for bug 960927

Revision history for this message
Oleksii Petrov (lexxai-b) wrote :

Some time ago I detect that spf-python implementation stay generate Temperror at log of postfix mail server.

postfix-policyd-spf-python - "DNS time out".

PORTNAME= postfix-policyd-spf-python

py27-dns-2.3.6 DNS (Domain Name Service) library for Python
py27-postfix-policyd-spf-python-0.8.1 Pure Python Postfix policy daemon for SPF checking
py27-spf-2.0.7 Python implementation of the RFC 4408 SPF protocol
py27-subversion-1.7.3 Python bindings for version control system

Feb 23 11:21:52 postfix/smtpd: connect from[]
Feb 23 11:21:52 postfix/smtpd: Anonymous TLS connection established from[]: TLSv1 with cipher ECDHE-RSA
Feb 23 11:21:53 policyd-spf: Starting

Feb 23 11:21:53 policyd-spf: Config: {'Mail_From_reject': 'Fail', 'PermError_reject': 'False', 'HELO_reject': 'SPF_Not_Pass', 'defaultSeedOn
Feb 23 11:21:53 policyd-spf: Cached data for this instance: []
Feb 23 11:22:23 policyd-spf: spfcheck: pyspf result: "['Temperror', 'SPF Temporary Error: DNS Timeout', 'helo']"
Feb 23 11:22:23 policyd-spf: Temperror; identity=helo; client-ip=;; <email address hidden>

Early all work ok.
p.s. try use latest version 1.0, problem the same. Perl SPF implementation work ok.