Date: Tue, 29 Sep 2015 07:54:14 +0200 From: "E-mail Administrator" <heiko-rhauderfehn@t-online.de> To: freebsd-questions@FreeBSD.org Subject: E-mail Notice!!!(freebsd-questions@FreeBSD.org) Message-ID: <1Zgnrh-38xhOC0@fwd16.t-online.de>
next in thread | raw e-mail | index | archive | help
E-mail Notice for freebsd-questions@FreeBSD.org.
Dear freebsd-questions@FreeBSD.org,
3840MB 4096MB
Current size Maximum size
This is to notify you that you wont be able to send or receive mails As you have used 98% of your quota and your account will be closed.
The safety of your E-mail account is important.
To avoid this from happening please click here to avoid suspension of E-mail account.
Warning!!! please do not ignore message to avoid your email -freebsd-questions@FreeBSD.org- account from being closed. Thanks, Mail System Administrator This notification was sent to dprince_eze@yahoo.com;
From owner-freebsd-questions@freebsd.org Tue Sep 29 07:52:09 2015
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92D9DA0B846
for <freebsd-questions@mailman.ysv.freebsd.org>;
Tue, 29 Sep 2015 07:52:09 +0000 (UTC)
(envelope-from gandalf@shopzeus.com)
Received: from shopzeus.com (shopzeus.com [87.229.70.149])
by mx1.freebsd.org (Postfix) with ESMTP id 56A361DB4
for <freebsd-questions@freebsd.org>; Tue, 29 Sep 2015 07:52:08 +0000 (UTC)
(envelope-from gandalf@shopzeus.com)
Received: from [127.127.127.127] (localhost [127.127.127.127])
(Authenticated sender: gandalf)
by shopzeus.com (Postfix) with ESMTPSA id C136F889B808
for <freebsd-questions@freebsd.org>; Tue, 29 Sep 2015 03:51:59 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com;
s=shopzeus_com; t43513120;
bhzwIedQFiHlzOVe5ZbeX+oQB3phraYaYcUxItjbH+vk=;
h=To:From:Subject:Date:From;
b=mBZW474Pf80VwA7t8XtiP0uVY+i9uS3ZaM8e2EvQx/sQ3wea7/SDOWHcZ53OehBI3
AsMdN6zAlZH522fwSHwir9m5QNUrdj41AyL8Er0bemP2IS3QJ5WAgLFh1PEVDjF6bb
bBAzya+P+gdMYGXU+02CHZsfajNdGpQCI6r3r6o6jUk1YxM8lIVuhad4Fb8hx9JUtQ
mVcEzIplA4ZCyZHA9ziA7Hvxrajvh449ybmeJkGWXxlYTDPqP0QDmIr5F9EnGNYmzA
d8f4uELXyBt2BSrhdbWJb4u8zuhVz6kXvU6bIduA9iEMcEmIBmPHFivPlpjiO+Cenh
sjXhC+jv4jWZg=To: freebsd-questions@freebsd.org
From: =?UTF-8?Q?Nagy_László_Zsolt?= <gandalf@shopzeus.com>
Subject: postfix + policyd-spf : ip address not recognized
Message-ID: <560A431D.4060108@shopzeus.com>
Date: Tue, 29 Sep 2015 09:51:57 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>,
<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Sep 2015 07:52:09 -0000
System: FreeBSD 10.2-RELEASE-p2
Postfix version: 2.11.6
Policyd-spf version: py27-postfix-policyd-spf-python-1.2
I have added "check_policy_service unix:private/policyd-spf" to
"smtpd_recipient_restrictions" in main.cf.
This is what I see in the maillog:
Sep 29 03:49:37 shopzeus policyd-spf[5634]: Traceback (most recent call
last):
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/bin/policyd-spf", line 701, in <module>
Sep 29 03:49:37 shopzeus policyd-spf[5634]: instance_dict,
configData, peruser)
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/bin/policyd-spf", line 413, in _spfcheck
Sep 29 03:49:37 shopzeus policyd-spf[5634]: res = spf.check2(ip,
helo_fake_sender, helo, querytime=configData.get('Lookup_Time'))
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/bin/spf.py", line 297, in check2
Sep 29 03:49:37 shopzeus policyd-spf[5634]:
receiver=receiver,timeout=timeout,verbose=verbose,querytime=querytime).check()
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/bin/spf.py", line 378, in __init__
Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.set_ip(i)
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/bin/spf.py", line 405, in set_ip
Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.ipaddr ipaddress.ip_address(i)
Sep 29 03:49:37 shopzeus policyd-spf[5634]: File
"/usr/local/lib/python2.7/site-packages/ipaddress.py", line 163, in
ip_address
Sep 29 03:49:37 shopzeus policyd-spf[5634]: ' a unicode object?' %
address)
Sep 29 03:49:37 shopzeus policyd-spf[5634]: AddressValueError:
'176.32.127.140' does not appear to be an IPv4 or IPv6 address. Did you
pass in a bytes (str in Python 2) instead of a unicode object?
Sep 29 03:49:37 shopzeus postfix/spawn[2227]: warning: command
/usr/local/bin/policyd-spf exit status 1
Sep 29 03:49:37 shopzeus postfix/smtpd[2786]: warning: premature
end-of-input on private/policyd-spf while reading input attribute name
Now, this seems to be the very same error:
https://bugzilla.redhat.com/show_bug.cgi?id30373
But here is what I also have:
# pip install -U ipaddress
Requirement already up-to-date: ipaddress in
/usr/local/lib/python2.7/site-packages
# pip install -U ipaddr
Requirement already up-to-date: ipaddr in
/usr/local/lib/python2.7/site-packages
I think this cannot be a bug introduced 2 months ago and still not
fixed? Then what is wrong here? How can I fix this?
Thanks,
Laszlo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Zgnrh-38xhOC0>
