SPF Policy Server crashes on every mail
Bug #1215961 reported by
Jörg Frings-Fürst
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
py3dns |
Invalid
|
High
|
Scott Kitterman |
Bug Description
On ubuntu server 13.04 amd64 the policy Server crashes on every incomming mail.
affects: | postfix-policyd-spf-perl → pypolicyd-spf |
Changed in pypolicyd-spf: | |
status: | Invalid → New |
Changed in py3dns: | |
status: | In Progress → Invalid |
To post a comment you must log in.
/var/log/syslog:
policyd-spf[10034]: Traceback (most recent call last): policyd- spf", line 684, in <module> policyd- spf", line 426, in _spfcheck python3/ dist-packages/ spf.py" , line 310, in check2 receiver, timeout= timeout, verbose= verbose, querytime= querytime) .check( ) python3/ dist-packages/ spf.py" , line 538, in check spf(self. d) python3/ dist-packages/ spf.py" , line 1094, in dns_spf txt(domain) if RE_SPF.match(t)] python3/ dist-packages/ spf.py" , line 1131, in dns_txt domainname, 'TXT')] python3/ dist-packages/ spf.py" , line 1255, in dns python3/ dist-packages/ spf.py" , line 147, in DNSLookup spawn[10033] : warning: command /usr/bin/ policyd- spf exit status 1 smtpd[10026] : warning: premature end-of-input on private/policy-spf while reading input attribute name
policyd-spf[10034]: File "/usr/bin/
policyd-spf[10034]: instance_dict, configData, peruser)
policyd-spf[10034]: File "/usr/bin/
policyd-spf[10034]: res = spf.check2(ip, helo_fake_sender, helo)
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: receiver=
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: spf = self.dns_
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: a = [t for t in self.dns_
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: for a in self.dns(
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: for k, v in DNSLookup(name, qtype, self.strict, timeout):
policyd-spf[10034]: File "/usr/lib/
policyd-spf[10034]: if resp.header['tc'] == True:
policyd-spf[10034]: AttributeError: 'NoneType' object has no attribute 'header'
postfix/
postfix/