Package: python-spf
Version: 2.0.7-1ubuntu0.1
Severity: important
Tags: upstream

Dear Maintainer,
The library doesn't handle well networks by IP:

Action:
    for server in 92.39.253.{83..90} ; do pyspf 'v=spf1 ip4:92.39.253.83/29 
-all' $server "[email protected]" a ; done
Expected:
('pass', 250, 'sender SPF authorized') for each of the 8 IP addresses
Got:
('fail', 550, 'SPF fail - not authorized') for the last 3 ones.

This happens with bigger ranges too. I had to break up a /25 range into
a whole bunch of /29 ones because it'd fail with many of them.

The fact that pyspf seems to be the most commonly used SPF library in
operation leads to having to sidestep the problem for stuff to work at
all instead of putting these correctly on the DNS and hoping for the
best, as it'll fail SPF validation pretty much everywhere.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-67-generic-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-spf depends on:
ii  python      2.7.3-0ubuntu2.2
ii  python-dns  2.3.6-1.12.04
ii  python2.7   2.7.3-0ubuntu3.5

Versions of packages python-spf recommends:
ii  python-authres  0.401-1ubuntu0.1

Versions of packages python-spf suggests:
ii  python-yaml  3.10-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to