summaryrefslogtreecommitdiff
path: root/mail/py-pyspf/files/patch-spf.py
diff options
context:
space:
mode:
Diffstat (limited to 'mail/py-pyspf/files/patch-spf.py')
-rw-r--r--mail/py-pyspf/files/patch-spf.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/py-pyspf/files/patch-spf.py b/mail/py-pyspf/files/patch-spf.py
new file mode 100644
index 000000000000..cd1459e9e30a
--- /dev/null
+++ b/mail/py-pyspf/files/patch-spf.py
@@ -0,0 +1,13 @@
+Obtained from: https://github.com/sdgathman/pyspf/commit/4744deeec4a2c10987aae72989d7137156ed4151
+
+--- spf.py.orig
++++ spf.py
+@@ -91,7 +91,7 @@
+ 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)