python-policyd-spf v1.3.2 + postfix v3.1.0, "Header_Type=SPF" works, but "Header_Type=AR" fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On a Postfix 3.1 svr, I've setup for use of python-policyd-spf 1.3.2
With
Header_Type = SPF
in /etc/python-
Checks are executed, PASS & FAIL work ok, & mail's tagged with the 'Received-SPF' header.
If I change only to the new style AR header (https:/
/etc/python-
- Header_Type = SPF
+ Header_Type = AR
+ Authserv_Id = mail01.example.com
and reload postfix, the same test mail is now rejected
Apr 3 11:22:58 mail01 postfix/
Apr 3 11:22:58 mail01 postfix/
Apr 3 11:22:58 mail01 postfix/
Apr 3 11:22:58 mail01 postfix/
Apr 3 11:22:59 mail01 postfix/
Apr 3 11:22:59 mail01 postfix/
Apr 3 11:23:00 mail01 postfix/
Apr 3 11:23:00 mail01 postfix/
Apr 3 11:23:00 mail01 postfix/
Apr 3 11:23:00 mail01 postfix/
Here
python -V
Python 2.7.9
Changing in master.cf to
/usr/bin/python3
where
python3 -V
Python 3.4.1
causes the same error for BOTH the =SPF & =AR Header_Types
So, the only case that seems to work is Python2 + Header_Type=SPF
summary: |
- python-policyd-spf 1.3.2 + postix 3.1.0, Header_Type=SPF works, but - Header_Type=AR FAILs + python-policyd-spf v1.3.2 + postfix v3.1.0, "Header_Type=SPF" works, but + "Header_Type=AR" fails |
Changed in pypolicyd-spf: | |
status: | Incomplete → Invalid |
What operating system (distribution/ release) are you using? Do you have the authres module installed?