Date: Sun, 6 Jan 2002 22:17:57 -0600 From: "Darren" <backdoc@crotchett.com> To: <timothyk@wallnet.com> Cc: "fbsd-questions" <freebsd-questions@freebsd.org> Subject: Re: mailman GID errors Message-ID: <008801c19732$49ce4b60$6401a8c0@crotchett.com> References: <138101c1970d$21f72aa0$6401a8c0@crotchett.com> <200201070105.g0715UE00287@10.0.1.7>
next in thread | previous in thread | raw e-mail | index | archive | help
Ted, Thanks for your reply. I got it working. I got impatient and edited the Makefile (got that from one of your earlier suggestions). I gave Mailman the same group ID as nobody. I did: make deinstall make make clean make reinstall This fixed my gid problems. So, I tested it by sending mail from another box. It made it past the gid errors, but it locked me in a loop of some sort. /var/log/maillog kept repeating: Jan 6 18:03:00 fbsd postfix/postdrop[64087]: warning: mail_queue_enter: create file maildrop/634015.64087: Permission denied. A long story short, I ended up adding postfix to the maildrop group. I can now join a list and send mail to it. I have a little more tweaking and I think I'll be satisfied. Would adding postfix to the maildrop group make anything less secure? Thanks Darren ----- Original Message ----- From: "Tim Kellers" <timothyk@wallnet.com> To: "Darren" <backdoc@crotchett.com>; "fbsd-questions" <freebsd-questions@FreeBSD.ORG> Sent: Sunday, January 06, 2002 7:05 PM Subject: Re: mailman GID errors > From the Makefile: > > > USERNAME?= mailman > USERID?= 89 > > # The default value of '1' for MAIL_GID works with sendmail. If you're > # using installed from ports, you should set MAIL_GID at build time > # according to the following table: > # > # MTA | MAIL_GID > # Exim | 6 > # Postfix | ??? > > MAIL_GID?= 1 > CGI_GID?= 80 > MMDIR?= mailman > MAILMANDIR= ${PREFIX}/${MMDIR} > PKGMESSAGE= ${WRKDIR}/pkg-message > > <snip> > > I'd suggest checking /etc/group and finding out what GID postfix runs under, > or adding the postfix group (if indeed there is one) to GID 1 (daemon, > usually). > > Tim Kellers > CPE/NJIT > > > > > > > > > On Sunday 06 January 2002 06:51 pm, Darren wrote: > > I don't know if this question belongs here or on the ports list. If this > > belongs on the ports list, let me know and I'll repost it there. I'm > > having trouble with Mailman's default gid's. > > > > When I try to confirm a registration request, I get the following error > > mailed to me: > > > > <test-request@kneedeep.org>: Command died with status 2: > > "/usr/local/mailman/mail/wrapper mailcmd test". Command output: Failure > > to > > exec script. WANTED gid 1, GOT gid 65534. (Reconfigure to take 65534?) > > > > I've checked the logs and they basically say the same thing. Which is: > > > > Jan 5 22:53:16 fbsd postfix/smtpd[54113]: connect from > > c007-h011.c007.snv.cp.net[209.228.33.217] > > Jan 5 22:53:17 fbsd postfix/smtpd[54113]: 1F2BB4EA: > > client=c007-h011.c007.snv.cp.net[209.228.33.217] > > Jan 5 22:53:17 fbsd postfix/cleanup[54114]: 1F2BB4EA: > > message-id=<0d4601c19678$301c7da0$6401a8c0@crotchett.com> > > Jan 5 22:53:17 fbsd postfix/qmgr[54094]: 1F2BB4EA: > > from=<backdoc@crotchett.com>, size=2020, nrcpt=1 (queue active) > > Jan 5 22:53:17 fbsd postfix/smtpd[54113]: disconnect from > > c007-h011.c007.snv.cp.net[209.228.33.217] > > Jan 5 22:53:17 fbsd Mailman mail-wrapper: Failure to exec script. WANTED > > gid 1, GOT gid 65534. (Reconfigure to take 65534?) > > Jan 5 22:53:18 fbsd postfix/local[54116]: 1F2BB4EA: > > to=<test-request@kneedeep.org>, relay=local, delay=0, status=bounced > > (Command died with status 2: "/usr/local/mailman/mail/wrapper mailcmd > > test". Command output: Failure to exec script. WANTED gid 1, GOT gid 65534. > > (Reconfigure to take 65534?) ) > > Jan 5 22:53:18 fbsd postfix/cleanup[54114]: 02B644ED: > > message-id=<20020106045318.02B644ED@fbsd.crotchett.com> > > Jan 5 22:53:18 fbsd postfix/qmgr[54094]: 02B644ED: from=<>, size=3911, > > nrcpt=1 (queue active) > > Jan 5 22:53:18 fbsd postfix/local[54116]: 02B644ED: > > to=<backdoc@crotchett.com>, relay=local, delay=0, status=sent (mailbox) > > > > I worked around one gid error already by changing apache to run as nobody > > instead of www and put apache in nogroup instead of www. But, I don't know > > how to work around this one without modifying the Makefile. Can anyone > > suggest a solution? > > > > Thanks, > > Darren > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > 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?008801c19732$49ce4b60$6401a8c0>