Postfix implemetation TempError DNS resolving
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Some time ago I detect that spf-python implementation stay generate Temperror at log of postfix mail server.
postfix-
PORTNAME= postfix-
PORTVERSION= 0.8.1
py27-dns-2.3.6 DNS (Domain Name Service) library for Python
py27-postfix-
py27-spf-2.0.7 Python implementation of the RFC 4408 SPF protocol
py27-subversion
Feb 23 11:21:52 postfix/smtpd: connect from mail-bk0-
Feb 23 11:21:52 postfix/smtpd: Anonymous TLS connection established from mail-bk0-
Feb 23 11:21:53 policyd-spf: Starting
Feb 23 11:21:53 policyd-spf: Config: {'Mail_
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-
Early all worked ok.
p.s. Now I try use latest version 1.0, problem the same. Perl SPF implementation work ok and now.
description: | updated |
This is much more likely a pyspf or pydns issue. Find the pyspf executable on
your system (I don't know where it would be for your kind of system). It is
the file spf.py provided by py27-spf-2.0.7. Then try:
$ python spf.py "209.85.214.49" "<email address hidden>" "mail-bk0-
f49.google.com"
The response you get should be:
('none', 250, '')
If you can reproduce the temperror there, then it's not the policy server
where the issue is.