Date: Sun, 12 Jan 2003 14:39:32 -0800 From: Jim Mock <mij@soupnazi.org> To: <chris@burchellfamily.ca> Cc: "'FreeBSD-Questions'" <freebsd-questions@FreeBSD.ORG> Subject: Re: How to customize 'pkg_add -r' for mailman Message-ID: <B8406247-267E-11D7-B4B6-000393460DB2@soupnazi.org> In-Reply-To: <001801c2ba7f$75591320$c803a8c0@grizzly>
next in thread | previous in thread | raw e-mail | index | archive | help
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): > > <test-list@domain.name.hidden>: 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 <mij@{soupnazi|opendarwin}.org> jim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8406247-267E-11D7-B4B6-000393460DB2>