Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/DNS/Base.py", line 192, in getSource
self.s.bind(('', source_port))
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/policyd-spf", line 662, in <module>
instance_dict, configData, peruser)
File "/usr/bin/policyd-spf", line 508, in _spfcheck
res = spf.check2(ip, sender, helo)
File "/usr/lib/python3/dist-packages/spf.py", line 363, in check2
receiver=receiver,timeout=timeout,verbose=verbose,querytime=querytime).check()
File "/usr/lib/python3/dist-packages/spf.py", line 607, in check
spf = self.dns_spf(self.d)
File "/usr/lib/python3/dist-packages/spf.py", line 1179, in dns_spf
a = [t for t in self.dns_txt(domain) if RE_SPF.match(t)]
File "/usr/lib/python3/dist-packages/spf.py", line 1227, in dns_txt
dns_list = self.dns(domainname, rr)
File "/usr/lib/python3/dist-packages/spf.py", line 1357, in dns
for k, v in DNSLookup(name, qtype, self.strict, timeout):
File "/usr/lib/python3/dist-packages/spf.py", line 193, in DNSLookup
resp = req.req()
File "/usr/lib/python3/dist-packages/DNS/Base.py", line 238, in req
self.sendUDPRequest(server)
File "/usr/lib/python3/dist-packages/DNS/Base.py", line 263, in sendUDPRequest
self.conn()
File "/usr/lib/python3/dist-packages/DNS/Base.py", line 199, in conn
self.getSource()
File "/usr/lib/python3/dist-packages/DNS/Base.py", line 196, in getSource
if msg[0] != 98: raise
TypeError: 'OSError' object is not subscriptable
warning: missing attribute action in input from private/policyd-spf
warning: command /usr/bin/policyd-spf exit status 1
Note that the policy server exiting non-zero will intefere with mail delivery.
Note: This is an extract from a private bug.
Traceback (most recent call last): python3/ dist-packages/ DNS/Base. py", line 192, in getSource
File "/usr/lib/
self.s.bind(('', source_port))
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred: policyd- spf", line 662, in <module> policyd- spf", line 508, in _spfcheck python3/ dist-packages/ spf.py" , line 363, in check2 receiver, timeout= timeout, verbose= verbose, querytime= querytime) .check( ) python3/ dist-packages/ spf.py" , line 607, in check spf(self. d) python3/ dist-packages/ spf.py" , line 1179, in dns_spf txt(domain) if RE_SPF.match(t)] python3/ dist-packages/ spf.py" , line 1227, in dns_txt domainname, rr) python3/ dist-packages/ spf.py" , line 1357, in dns python3/ dist-packages/ spf.py" , line 193, in DNSLookup python3/ dist-packages/ DNS/Base. py", line 238, in req uest(server) python3/ dist-packages/ DNS/Base. py", line 263, in sendUDPRequest python3/ dist-packages/ DNS/Base. py", line 199, in conn python3/ dist-packages/ DNS/Base. py", line 196, in getSource policyd- spf exit status 1
Traceback (most recent call last):
File "/usr/bin/
instance_dict, configData, peruser)
File "/usr/bin/
res = spf.check2(ip, sender, helo)
File "/usr/lib/
receiver=
File "/usr/lib/
spf = self.dns_
File "/usr/lib/
a = [t for t in self.dns_
File "/usr/lib/
dns_list = self.dns(
File "/usr/lib/
for k, v in DNSLookup(name, qtype, self.strict, timeout):
File "/usr/lib/
resp = req.req()
File "/usr/lib/
self.sendUDPReq
File "/usr/lib/
self.conn()
File "/usr/lib/
self.getSource()
File "/usr/lib/
if msg[0] != 98: raise
TypeError: 'OSError' object is not subscriptable
warning: missing attribute action in input from private/policyd-spf
warning: command /usr/bin/
Note that the policy server exiting non-zero will intefere with mail delivery.