Unable to run policyd-spf on FreeBSD-11.1

Yasuhiro KIMURA yasu at utahime.org
Mon Jun 18 22:02:41 UTC 2018

Hello James,
I'm maintainer of mail/postfix-policyd-spf-python.

From: "James B. Byrne via freebsd-questions" <freebsd-questions at freebsd.org>
Subject: Unable to run policyd-spf on FreeBSD-11.1
Date: Mon, 18 Jun 2018 15:11:50 -0400

> However, when I test policyd-spf I get this:
> /usr/local/bin/policyd-spf
> Traceback (most recent call last):
>   File "/usr/local/bin/policyd-spf", line 39, in <module>
>     import spf
> ImportError: bad magic number in 'spf': b'\x03\xf3\r\n'

Would you please provide me results of following commands?

1. ls -l /usr/local/lib/python3.6/site-packages/spf.py
2. sha256 /usr/local/lib/python3.6/site-packages/spf.py

Best Regards.

Yasuhiro KIMURA

More information about the freebsd-questions mailing list