From owner-freebsd-questions@FreeBSD.ORG Wed Apr 19 15:58:43 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 7587616A407 for ; Wed, 19 Apr 2006 15:58:43 +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 DBF8B43D62 for ; Wed, 19 Apr 2006 15:58:37 +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 782E8A7317 for ; Wed, 19 Apr 2006 15:58:36 +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 54780-01-8 for ; Wed, 19 Apr 2006 15:58:36 +0000 (GMT) Received: by ash.oak-wood.co.uk (Postfix, from userid 80) id 005DBA7316; Wed, 19 Apr 2006 15:58:35 +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 ; Wed, 19 Apr 2006 15:58:35 +0000 Message-ID: <20060419155835.mqinrbby8wgwos8k@imp.oak-wood.co.uk> Date: Wed, 19 Apr 2006 15:58:35 +0000 From: Chris Hastie To: freebsd-questions@freebsd.org References: <20060419123750.bdrk23dpw8o8skok@imp.oak-wood.co.uk> <4446532D.4050204@daleco.biz> In-Reply-To: <4446532D.4050204@daleco.biz> 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: 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: Wed, 19 Apr 2006 15:58:46 -0000 On Wed, 19 Apr 2006, Kevin Kinsey wrote: > Chris Hastie wrote: > >> Yesterday I upgraded a 5.1 system to 5.4. I then cvsuped the ports tree and >> rebuilt Postfix from mail/postfix. >> >> I am having problems with spawn and pipe. Spawn complains >> >> postfix/spawn[36315]: fatal: unknown user name: nobody >> >> Pipe complains >> >> postfix/pipe[38272]: fatal: invalid option: ? >> >> I've asked the question on the postfix-users list, and with respect >> to the pipe >> problem Wietse has responded: >> >> "> postfix/pipe[38272]: fatal: invalid option: ? >> >> You built Postfix with the GNU version of the getopt() >> system routine. That version is not compatible with >> the FreeBSD getopt() system routine. >> > > It doesn't seem likely to me that this is the problem, > unless one of a couple of things has occurred: one > would be that the port maintainer has written a broken > Makefile or made some related error, and the other that > FreeBSD's getopt() has changed in some way. Neither > of these seems too likely, either. > > However, systems do change, and it's a long, long way > from 5.1 to 5.4. Did you carefully read /usr/src/UPDATING? > /usr/ports/UPDATING? I did my best to read through /usr/src/UPDATING, but as you say, it's a long long way from 5.1 to 5.4, so there's an awful lot to take in. I confess I haven't looked at /usr/ports/UPDATING, but will. > It might be wise to use "portupgrade -rR" or something > similar to update PostFix, or, if this isn't a production box, > uninstall and reinstall the port (though that seems too > "Microsoftie" to me....) Sounds like what I did. make. make deinstall. make reinstall. The getopt thing doesn't seem to explain the problem with spawn, since it reports the username it doesn't recognise in the error, suggesting that it did at least understand the arguments passed. -- Chris Hastie