Public bug reported:

I got this in my error logs:
Jun 25 22:49:13 mail policyd-spf[7946]: Traceback (most recent call last):
Jun 25 22:49:13 mail policyd-spf[7946]:   File "/usr/bin/policyd-spf", line 
708, in <module>
Jun 25 22:49:13 mail policyd-spf[7946]:     sys.stdout.write('action=550 
%s\n\n' % checkerReason)
Jun 25 22:49:13 mail policyd-spf[7946]: UnicodeEncodeError: 'ascii' codec can't 
encode character '\ufeff' in position 119: ordinal not in range(128)
Jun 25 22:49:13 mail postfix/spawn[7945]: warning: command /usr/bin/policyd-spf 
exit status 1
Jun 25 22:49:13 mail postfix/smtpd[7942]: warning: premature end-of-input on 
private/policy-spf while reading input attribute name
Jun 25 22:49:14 mail policyd-spf[7948]: Traceback (most recent call last):
Jun 25 22:49:14 mail policyd-spf[7948]:   File "/usr/bin/policyd-spf", line 
708, in <module>
Jun 25 22:49:14 mail policyd-spf[7948]:     sys.stdout.write('action=550 
%s\n\n' % checkerReason)
Jun 25 22:49:14 mail policyd-spf[7948]: UnicodeEncodeError: 'ascii' codec can't 
encode character '\ufeff' in position 119: ordinal not in range(128)
Jun 25 22:49:14 mail postfix/spawn[7945]: warning: command /usr/bin/policyd-spf 
exit status 1
Jun 25 22:49:14 mail postfix/smtpd[7942]: warning: premature end-of-input on 
private/policy-spf while reading input attribute name
Jun 25 22:49:14 mail postfix/smtpd[7942]: warning: problem talking to server 
private/policy-spf: Success

I am running Ubuntu 16.04.6 LTS
postfix-policyd-spf-python:   Installed: 1.3.2-1

I found this Debian bug report https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=816850;msg=5 which suggests that the bug is fixed
in version pypolicyd-spf/2.0.0-1 .

Is there a way to get this fixed in Xenial?

** Affects: pypolicyd-spf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834511

Title:
  policyd-spf crashes on UnicodeEncodeError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pypolicyd-spf/+bug/1834511/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to