From owner-freebsd-questions@freebsd.org Mon Jun 18 22:02:41 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 589FE1000767 for ; Mon, 18 Jun 2018 22:02:41 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id D7341760B3 for ; Mon, 18 Jun 2018 22:02:39 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 4A8D86535; Tue, 19 Jun 2018 07:02:36 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 0B04B7C8A; Tue, 19 Jun 2018 07:02:36 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id E02977C89; Tue, 19 Jun 2018 07:02:35 +0900 (JST) Date: Tue, 19 Jun 2018 07:02:04 +0900 (JST) Message-Id: <20180619.070204.428676537497412178.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: Unable to run policyd-spf on FreeBSD-11.1 From: Yasuhiro KIMURA In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 22:02:41 -0000 Hello James, I'm maintainer of mail/postfix-policyd-spf-python. From: "James B. Byrne via freebsd-questions" 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 > 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