From owner-freebsd-questions@FreeBSD.ORG Wed Apr 19 15:13:00 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 15A2D16A402 for ; Wed, 19 Apr 2006 15:13:00 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E57743D46 for ; Wed, 19 Apr 2006 15:12:59 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k3JFBq1A082052; Wed, 19 Apr 2006 10:12:12 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4446532D.4050204@daleco.biz> Date: Wed, 19 Apr 2006 10:11:41 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Hastie References: <20060419123750.bdrk23dpw8o8skok@imp.oak-wood.co.uk> In-Reply-To: <20060419123750.bdrk23dpw8o8skok@imp.oak-wood.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:13:00 -0000 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 > >although nobody is a user on the system. Changing the the user in master.cf does >not improve things. > >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. > >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, 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? 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....) HTH, Kevin Kinsey -- Clones are people two.