[Bug 241991] mail/py-pyspf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 15 20:48:31 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241991

            Bug ID: 241991
           Summary: mail/py-pyspf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: paul.le.gauret at gmail.com
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Current version of pyspf sometimes generates errors while parsing SPF records.
Issue is also known at Debian
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940538

Debian maintainer has provided a patch (see below).

From: Scott Kitterman <scott at kitterman.com>
Date: Mon, 16 Sep 2019 23:18:58 -0400
Subject: fix DNSLookup API for pydns

---
 spf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spf.py b/spf.py
index 526e557..dec53ce 100755
--- a/spf.py
+++ b/spf.py
@@ -91,7 +91,7 @@ except ImportError:
         print('ipaddr module required: http://code.google.com/p/ipaddr-py/')


-def DNSLookup_pydns(name, qtype, tcpfallback=True, timeout=30):
+def DNSLookup_pydns(name, qtype, strict=True, timeout=20):

     try:
         req = DNS.DnsRequest(name, qtype=qtype, timeout=timeout)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list