config option Header_Type AR crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi
Operating system:
# uname -sr
FreeBSD 8.3-STABLE
smtp daemons:
# pkg_info | grep "postfix"
postfix-2.9.1,1 A secure alternative to widely-used Sendmail
py26-postfix-
python:
# pkg_info | grep py
py26-dns-2.3.6 DNS (Domain Name Service) library for Python
py26-libxml2-
py26-postfix-
py26-pygments-1.4 A syntax highlighter written in Python
py26-setuptools
py26-spf-2.0.7 Python implementation of the RFC 4408 SPF protocol
py26-subversion
python26-2.6.8_3 An interpreted object-oriented programming language
Header_Type enabled in the config to RFC 5451 Authentication Results (AR):
# grep Header_Type /usr/local/
Header_Type = AR
trying to send a message from a remote server (@gmail.com) to me (@slimaczek.pl):
May 4 00:02:19 slimaczek policyd-spf[18524]: Config: {'Mail_
May 4 00:02:19 slimaczek policyd-spf[18524]: Cached data for this instance: []
May 4 00:02:19 slimaczek policyd-spf[18524]: spfcheck: pyspf result: "['None', '', 'helo']"
May 4 00:02:19 slimaczek policyd-spf[18524]: None; identity=helo; client-
May 4 00:02:19 slimaczek policyd-spf[18524]: Traceback (most recent call last):
May 4 00:02:19 slimaczek policyd-spf[18524]: File "/usr/local/
May 4 00:02:19 slimaczek policyd-spf[18524]: instance_dict, configData, peruser)
May 4 00:02:19 slimaczek policyd-spf[18524]: File "/usr/local/
May 4 00:02:19 slimaczek policyd-spf[18524]: header += str(authres.
May 4 00:02:19 slimaczek policyd-spf[18524]: NameError: global name 'authres' is not defined
May 4 00:02:19 slimaczek postfix/
May 4 00:02:19 slimaczek postfix/
May 4 00:02:19 slimaczek postfix/
May 4 00:02:19 slimaczek postfix/
May 4 00:02:19 slimaczek postfix/
If more info is needed then let me know.
--
Tomek
Did you install the authres module? The error is telling you it's not there and I don't see it listed as installed. I searched the FreeBSD ports tree and I don't see that it's been packaged. You can find it at https:/ /pypi.python. org/pypi/ authres