Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2024 17:41:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282388] mail/py-pyspf: 268030 patch removes lifetime argument
Message-ID:  <bug-282388-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282388

            Bug ID: 282388
           Summary: mail/py-pyspf: 268030 patch removes lifetime argument
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dwhite-freebsd-bugs@gumbysoft.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

The patch for spf.py in bug #268030 removes the lifetime argument from the =
call
to dns.resolver.resolve(), causing the DNS timeout to revert to the default=
 5
seconds and not use the user-provided value. This causes problems with sites
with large SPF lists and slow resolvers (i.e., noaa.gov). General advice fr=
om
the SPF RFC is to allow 20 seconds for SPF resolution.

The correct call should be

answers =3D dns.resolver.resolve(name, qtype, lifetime=3Dtimeout)

Checked that this call works properly on the current dnspython version.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282388-7788>