From owner-freebsd-questions@FreeBSD.ORG Thu Apr 20 12:31:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C201016A406 for ; Thu, 20 Apr 2006 12:31:12 +0000 (UTC) (envelope-from lists@oak-wood.co.uk) Received: from ash.oak-wood.co.uk (ash.oak-wood.co.uk [62.3.200.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A4F43D48 for ; Thu, 20 Apr 2006 12:31:11 +0000 (GMT) (envelope-from lists@oak-wood.co.uk) Received: from localhost (localhost [127.0.0.1]) by ash.oak-wood.co.uk (Postfix) with ESMTP id F2B80A715A for ; Thu, 20 Apr 2006 12:31:10 +0000 (GMT) Received: from ash.oak-wood.co.uk ([127.0.0.1]) by localhost (ash.oak-wood.co.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11578-01-16 for ; Thu, 20 Apr 2006 12:31:10 +0000 (GMT) Received: by ash.oak-wood.co.uk (Postfix, from userid 80) id C272EA6ED8; Thu, 20 Apr 2006 12:31:10 +0000 (GMT) Received: from host213-106-252-209.no-dns-yet.ntli.net (host213-106-252-209.no-dns-yet.ntli.net [213.106.252.209]) by imp.oak-wood.co.uk (Horde) with HTTP for ; Thu, 20 Apr 2006 12:31:10 +0000 Message-ID: <20060420123110.x4tus7lpw8g4w4c0@imp.oak-wood.co.uk> Date: Thu, 20 Apr 2006 12:31:10 +0000 From: Chris Hastie To: freebsd-questions@freebsd.org References: <4446A8E5.20507@utdallas.edu> <4446AD82.2040607@FreeBSD.org> In-Reply-To: <4446AD82.2040607@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.1) Subject: Re: [Fwd: Re: Problems with Postfix port] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 12:31:12 -0000 On Wed, 19 Apr 2006, Marcus Alves Grando wrote: > It's a known problem. > > Use mail/postfix-policyd-spf instead of SPF patch. > Probably be good if the SPF option wasn't available in mail/postfix then :) Ironically, I don't need the SPF patch because I do SPF lookups, amongst many other things, in a home spun policy daemon. But including it caused spawn to fail meaning I couldn't run that policy daemon. > Paul Schmehl wrote: >> I'm forwarding this to the ports list. Obviously someone needs to look >> in to the libspfs port and fix the problem with it. >> >> -------- Original Message -------- >> Subject: Re: Problems with Postfix port >> Date: Wed, 19 Apr 2006 20:57:55 +0100 >> From: Chris Hastie >> To: freebsd-questions@freebsd.org >> References: <20060419123750.bdrk23dpw8o8skok@imp.oak-wood.co.uk> >> <4446532D.4050204@daleco.biz> <444671E9.9090904@utdallas.edu> >> >> On Wed, 19 Apr 2006, Paul Schmehl wrote >>> Kevin Kinsey wrote: >>>>> To build Postfix on FreeBSD you MUST USE the FreeBSD >>>>> getopt() system routine, not the GNU version." >>>>> >>>>> Is this likely to be the case if I installed from the port? If so, >>>>> how do I get >>>>> around it? And any suggestions about spawn? >>>>> >>>>> Thanks >>>>> >>>> It doesn't seem likely to me that this is the problem, >>> >>> To me either. I ran into a problem a while back with Postfix, and >>> that's the same answer they gave me. It turned out to be a problem >>> with SPF. Once I deselected that, postfix compiled fine. >> >> Ah, I think they are connected. I had a response off list that suggested >> adding -DPREPEND_PLUS_TO_OPTSTRING to MAKEFILEFLAGS in the postfix >> makefile. A google on this led me to a suggestion from Wietse that this >> hack is unnecessary and "Perhaps you linked Postfix with some >> third-party library (SSL? SASL? SQL?) that includes its own >> brain-damaged getopt() routine." >> >> Digging a bit deeper, I spotted a suggestion that SPF might be that >> third-party library, so recompiled without that option and bingo! It all >> works again. > > -- > Marcus Alves Grando > marcus(at)corp.grupos.com.br | Grupos Internet S/A > mnag(at)FreeBSD.org | FreeBSD.org > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Chris Hastie