From owner-freebsd-questions Sun Jan 6 20:18:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by hub.freebsd.org (Postfix) with SMTP id 8FCB637B419 for ; Sun, 6 Jan 2002 20:18:41 -0800 (PST) Received: (cpmta 23867 invoked from network); 6 Jan 2002 20:18:41 -0800 Received: from 64.130.100.249 (HELO winbox1) by smtp.directvinternet.com (209.228.33.206) with SMTP; 6 Jan 2002 20:18:41 -0800 X-Sent: 7 Jan 2002 04:18:41 GMT Message-ID: <008801c19732$49ce4b60$6401a8c0@crotchett.com> From: "Darren" To: Cc: "fbsd-questions" References: <138101c1970d$21f72aa0$6401a8c0@crotchett.com> <200201070105.g0715UE00287@10.0.1.7> Subject: Re: mailman GID errors Date: Sun, 6 Jan 2002 22:17:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 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" To: "Darren" ; "fbsd-questions" 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 > > > > 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: > > > > : 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=, 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=, 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=, 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