tumgreyspf crashes with exit status 1

Bug #1294518 reported by Philipp Baumgart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tumgreyspf (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello.

When using tumgreyspf, I get the following error in /var/log/mail.log:

tumgreyspf[10795]: Traceback (most recent call last):
tumgreyspf[10795]: File "/usr/bin/tumgreyspf", line 365, in <module>
tumgreyspf[10795]: configGlobal)
tumgreyspf[10795]: File "/usr/bin/tumgreyspf", line 76, in spfcheck
tumgreyspf[10795]: if cidrmatch(ip, good_ip, int(parsed_address[1])):
tumgreyspf[10795]: File "/usr/bin/tumgreyspf", line 34, in cidrmatch
tumgreyspf[10795]: bin = spf.addr2bin
tumgreyspf[10795]: AttributeError: 'module' object has no attribute 'addr2bin'
postfix/spawn[10794]: warning: command /usr/bin/tumgreyspf exit status 1
postfix/smtpd[10780]: warning: premature end-of-input on private/tumgreyspf while reading input attribute name

Seems it is the same bug posted at debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718308

Dont know if that is relevant. But for me it looks like that bug is not fixed in the ubuntu package.

Dear maintainer, could you please check this?

Ubuntu 13.10 server x64

apt-cache policy tumgreyspf:

tumgreyspf:
  Installiert (installed): 1.36-4
  Installationskandidat: 1.36-4
  Versionstabelle:
 *** 1.36-4 0
        500 http://fr.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.