From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 18:26:34 2005 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 66CB816A460 for ; Tue, 30 Aug 2005 18:26:32 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3595343D88 for ; Tue, 30 Aug 2005 18:25:46 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 16919 invoked from network); 30 Aug 2005 18:25:46 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Aug 2005 18:25:46 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E3FFD50; Tue, 30 Aug 2005 14:25:44 -0400 (EDT) Sender: lowell@be-well.ilk.org To: robert@webtent.com References: <1125353903.5511.56.camel@columbus> From: Lowell Gilbert Date: 30 Aug 2005 14:25:44 -0400 In-Reply-To: <1125353903.5511.56.camel@columbus> Message-ID: <444q97l1sn.fsf@be-well.ilk.org> Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Subject: Re: broken getopt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 18:26:34 -0000 Robert Fitzpatrick writes: > > > Victor referred me to the archives after finding out I have linked > > > Postfix with a broken GNU getopt(), but I have not been able to come up > > > with the solution. My current getopt package is gengetopt-2.11, should I > > > resort to an earlier version and re-compile Postfix? > > > > > > > Look at the definition of GETOPT in src/util/sys_defs.h, this expects the > > GNU getopt on Linux, and the standard GETOPT on BSD and other systems. > > Problems happen when you link with a GNU getopt on a non GNU libc (i.e. > > Linux) system. > > > > If you really must link Postfix with libraries that slurp-up GNU getopt, > > "fix" the definition of GETOPT() in sys/util/sys_defs.h. Perhaps there > > should be a CCARGS override for this... > > > > I'll have to say I have no idea what these guys are talking about on the > Postfix list, it must be some port I've installed that has linked in a > way they suggest. I have not done anything except install very common > ports on this FreeBSD mail server with no special linking or compile > options, etc. All ran smooth until the latest portupgrade of Postfix and > other related packages - amavisd-new, SpamAssassin, etc. Can someone > here perhaps suggest how I might track down this problem? > > Aug 29 11:11:10 esmtp postfix/master[67333]: > warning: /usr/local/libexec/postfix/pipe: bad command startup -- > throttling > Aug 29 11:11:51 esmtp postfix/master[67333]: > warning: /usr/local/libexec/postfix/local: bad command startup -- > throttling Why do you think this is a getopt problem? It looks a problem in a configuration file. Check "postconf -n". -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/