Setting 'UMask' or 'IntHosts' in .conf file result in errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SPF Engine |
Fix Released
|
High
|
Scott Kitterman | ||
spf-engine (Debian) |
Fix Released
|
Unknown
|
Bug Description
This description is regarding the FreeBSD 13.0-RELEASE-p3 port. However, the bug exists in HEAD.
I was able to install this port and bring up the server right away but I had a lot of problems getting the permissions for the socket (/var/run/
srwxrwx—
which prevented postfix from communicating with the milter. I discovered the config file option ‘UMask’ but pyspf-milter balked when I tried to set it. The error that I kept getting was:
'str' object is not callable
I’m not anything close to a Python programmer but I started to look at the problem. I discovered a couple of typos in
I fixed them. I also implemented a new feature that allows you to specify integer values in the .conf file in decimal, hex, octal & binary (it's canonical to specify a UMask in octal). The corrected/enhanced file is attached.
As I said, I'm not anything close to a Python programmer so feel free to modify my afternoon's worth of quick/dirty work into something more elegant if you like.
I also notified the FreeBSD maintainer but have not received a response.
-- cc
description: | updated |
description: | updated |
Changed in spf-engine (Debian): | |
status: | Unknown → Confirmed |
Changed in spf-engine: | |
status: | Fix Committed → Fix Released |
Changed in spf-engine (Debian): | |
status: | Confirmed → Fix Released |
Since you're obviously not interested, I'm removing this.
-- cc