Authentication-Results instead of Received-SPF

Asked by Matthew Connelly

Just wondering, is it possible to set postfix-policyd-spf-perl to use the Authentication-Results header (RFC 5451) instead of the Received-SPF header?

Question information

Language:
English Edit question
Status:
Solved
For:
postfix-policyd-spf-perl Edit question
Assignee:
No assignee Edit question
Solved by:
Scott Kitterman
Solved:
Last query:
Last reply:
Revision history for this message
Scott Kitterman (kitterman) said :
#1

No, but there is a similar application, pypolicyd-spf-python when does support that.

Revision history for this message
Matthew Connelly (maff130-deactivatedaccount) said :
#2

I noticed pypolicyd-spf-python supported that header, but I'd really rather not switch back, as the last time I used that policy daemon, it would break every time there was an update to python.
Is it possible that support for the Authentication-Results header will be added in a future version?

Revision history for this message
Scott Kitterman (kitterman) said :
#3

Not unless someone provides patches. I'd be interested to understand your problems with the Python implementation, since I'm the primary developer for it too.

Revision history for this message
Matthew Connelly (maff130-deactivatedaccount) said :
#4

My issues with pypolicyd-spf mainly revolved around it breaking whenever I updated python. At first, when I updated python, the SPF library broke and if memory serves I didn't resolve it until I reinstalled every related library or dependency. Then another update brought Python's SPF library to 3.x, which broke compatibility with pypolicyd-spf. I haven't had a problem with the Perl version, which is why I asked if it was possible to add Authentication-Results support in a future versin

Revision history for this message
Scott Kitterman (kitterman) said :
#5

Pypolicyd-spf 1.0 is functionally identical to 1.1, but uses python instead of python3 if you prefer that.

What O/S or distribution are you using that has problems like that? On Debian or derived distros (such as Ubuntu) the system takes care of those kinds of things for you.

Revision history for this message
Matthew Connelly (maff130-deactivatedaccount) said :
#6

I'm using Gentoo. I was using the gentoo package for pypolicyd-spf though, which at time of writing is version 0.8.1 - I never tried manually installing pypolicyd-spf as I thought Gentoo had the most up-to-date package already.

Revision history for this message
Best Scott Kitterman (kitterman) said :
#7

0.8.1 does not support authentication results. You can install 1.0 from source with python2.7 and have support for authentication results. Since there will never by a python2.8 (it's all python3 now), you won't have to worry about changed python versions anymore. Even though future development will be done on python3, I'll still support 1.0 for bug fixing for a long time.

Revision history for this message
Matthew Connelly (maff130-deactivatedaccount) said :
#8

Thanks Scott Kitterman, that solved my question.