EPEL Maintainers,
It appears the update to pypolicyd-spf-2.9.3 from pypolicyd-spf-2.0.x
crashes Postfix unexpectedly. Perhaps a missing dependency? Seems to be
ahead from what I assume the upstream is, pip. Is this an error?
Installing authres via pip was able to fix things without installing
pypolicyd-spf via pip.
Below is what I got with the new version:
Nov 14 22:03:15 mail postfix/smtpd[8311]: send attr policy_context =
Nov 14 22:03:15 mail postfix/smtpd[8311]: private/policyd-spf: wanted
attribute: action
...
Nov 14 22:03:15 mail postfix/smtpd[8311]: private/policyd-spf: wanted
attribute: action
Nov 14 22:03:15 mail postfix/smtpd[8311]: input attribute name: File
"/usr/lib/python3.9/site-packages/spf_engine/__init__.py", line 54, in
<module>
Nov 14 22:03:15 mail postfix/smtpd[8311]: private/policyd-spf: wanted
attribute: action
Nov 14 22:03:15 mail postfix/smtpd[8311]: input attribute name: import
authres
Nov 14 22:03:15 mail postfix/smtpd[8311]: private/policyd-spf: wanted
attribute: action
Nov 14 22:03:15 mail postfix/smtpd[8311]: input attribute name:
ModuleNotFoundError: No module named 'authres'
Nov 14 22:03:15 mail postfix/smtpd[8311]: private/policyd-spf: wanted
attribute: action
Nov 14 22:03:15 mail postfix/spawn[8318]: warning: command
/usr/libexec/postfix/policyd-spf exit status 1
Nov 14 22:03:15 mail postfix/smtpd[8311]: warning: premature
end-of-input on private/policyd-spf while reading input attribute name
Nov 14 22:03:15 mail postfix/smtpd[8311]: warning: problem talking to
server private/policyd-spf: Connection reset by peer
Nov 14 22:03:16 mail postfix/postfix-script[8364]: stopping the Postfix
mail system
- Thanks, Sylvain