Broken script cause postfix to fail receiving mail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Triaged
|
Medium
|
Unassigned | ||
Vivid |
Triaged
|
Medium
|
Unassigned |
Bug Description
Using the following Ubuntu version:
Description: Ubuntu 14.04.1 LTS
Release: 14.04
After installing and configuring the package postfix-
policyd-spf[1398]: Traceback (most recent call last):
policyd-spf[1398]: File "/usr/bin/
policyd-spf[1398]: instance_dict, configData, peruser)
policyd-spf[1398]: File "/usr/bin/
policyd-spf[1398]: foo = string.
policyd-spf[1398]: AttributeError: 'module' object has no attribute 'split'
postfix/
postfix/
On line 398 of /usr/bin/
string.
should be
sender.split('@', 1)
Package from trusty-backports contains version 1.3 of policyd-spf that has the fix and work correctly but as backports packages are not enabled nor installed by default, I think this should be corrected.
Changed in pypolicyd-spf (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in pypolicyd-spf (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in pypolicyd-spf (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in pypolicyd-spf (Ubuntu Vivid): | |
status: | New → Triaged |
importance: | Undecided → Medium |
I was wrong. The problem is not fixed in the backports package. It's still present on line 407 of version 1.3.
It only happens when a mail is received without the sender identifying itself with the HELO command, which is not normal in the first place but policyd-spf should be corrected anyway I guess.