From owner-freebsd-questions Sun Jan 12 14:39: 1 2003 Delivered-To: freebsd-questions@freebsd.org Received: from soupnazi.org (hub.freebsd.org [216.136.204.18]) by hub.freebsd.org (Postfix) with ESMTP id 329D037B401; Sun, 12 Jan 2003 14:38:58 -0800 (PST) Date: Sun, 12 Jan 2003 14:39:32 -0800 Subject: Re: How to customize 'pkg_add -r' for mailman Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: "'FreeBSD-Questions'" To: From: Jim Mock In-Reply-To: <001801c2ba7f$75591320$c803a8c0@grizzly> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, January 12, 2003, at 01:13 PM, C Burchell wrote: > I have a FreeBSD 4.7 box with Postfix installed via the pkg_add -r > command - configured with no problems and works fine. Postfix is > setup with user/group name 'postfix' and uid/guid 12345/12345. > > I setup user/group 'mailman' with uid/guid 91 then installed mailman > via 'pkg_add -r mailman'. Everything else seems to work okay, > however... > > Whenever I try to send a message to a list on mailman, I get the > following error (snipped a bit): > > : Command died with status 2: > "/usr/local/mailman/mail/wrapper post test-list". Command output: > Failure to exec script. WANTED gid 26, GOT gid 65534. > (Reconfigure to take 65534?) > > I gather the current mailman port pkg expects to be installed on a > system with Sendmail... So I think the mail-gid setting is fixed at 26 > in the pkg_add script(?). Is there a way for me to customize the > 'pkg_add -r mailman' command so that I can include the make option > '--with-mail-gid 65534' so that mailman works on a system with > Postfix? Or is there another workaround. Install the port instead and add --with-mail-gid 65534 to the CONFIGURE_ARGS in the Makefile, or define it on the command line when you compile the port: make CONFIGURE_ARGS="--with-mail-gid 65534" install That should work, I think. > I would prefer to use the pkg_add method, as it has other > customizations (daemon logo, etc.) that I prefer over the source > compiled version. If it's in the package, it's in the port since the package is built from the port. - jim -- jim mock jim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message