** Also affects: pypolicyd-spf
Importance: Undecided
Status: New
** Changed in: pypolicyd-spf
Status: New => Fix Released
--
policyd-spf crashing with IndexError
https://bugs.launchpad.net/bugs/455991
You received this bug notification because you are a member of Ubuntu
Bugs, wh
This bug was fixed in the package pypolicyd-spf - 0.7.1-1ubuntu1
---
pypolicyd-spf (0.7.1-1ubuntu1) karmic; urgency=low
* Add debian/patches/mailerdaemon-crash-fix.patch to fix crash when "@" is
missing from the Mail From address (LP: #455991)
- Patch thanks to Erik de Castr
Fix uploaded to Karmic. Thanks. Fixing the test suite took longer than
everything else (not fun).
** Changed in: pypolicyd-spf (Ubuntu)
Status: In Progress => Fix Committed
--
policyd-spf crashing with IndexError
https://bugs.launchpad.net/bugs/455991
You received this bug notification
Oct 20 13:00:25 xxx policyd-spf[13876]: Read line: "sender=MAILER-
DAEMON" is not a case I had considered. Thanks. I'm going to patch
this for Karmic and then do a new upstream release with some other stuff
shortly.
** Changed in: pypolicyd-spf (Ubuntu)
Importance: Undecided => High
** C
The problem is This code:
sender_domain = string.split(sender, '@', 1)
if spf.domainmatch(reject_domain_list, sender_domain[1]):
If sender has no '@' character, sender_domain ends up as a single
element list and trying to index it by [1] results in an IndexError
exception.
A robust solut
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/33992261/Dependencies.txt
--
policyd-spf crashing with IndexError
https://bugs.launchpad.net/bugs/455991
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu