From owner-freebsd-ports@FreeBSD.ORG Thu Jun 8 05:51:12 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9281016E22E for ; Thu, 8 Jun 2006 03:11:23 +0000 (UTC) (envelope-from jmelo@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id A229743D5D for ; Thu, 8 Jun 2006 03:11:20 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 47118 invoked by uid 0); 8 Jun 2006 00:12:32 -0300 Received: from jmelo@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(201.17.172.244):. Processed in 0.538011 secs); 08 Jun 2006 03:12:32 -0000 Received: from unknown (HELO ?192.168.0.2?) (201.17.172.244) by capeta.freebsdbrasil.com.br with SMTP; 8 Jun 2006 00:12:31 -0300 Message-ID: <44876B3E.1060309@freebsdbrasil.com.br> Date: Wed, 07 Jun 2006 21:11:42 -0300 From: Jean Milanez Melo User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Jeremy Messenger References: <44863391.9000805@dilkie.com> <1149647154.965.4.camel@spirit> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: delphij@delphij.net, Lee@dilkie.com, freebsd-ports@freebsd.org Subject: Re: mailman upgrade broke "group mismatch" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 05:51:12 -0000 Jeremy Messenger wrote: > On Tue, 06 Jun 2006 21:25:54 -0500, Xin LI wrote: > >> Hi, Lee, >> >> 在 2006-06-06二的 22:01 -0400,Lee Dilkie写道: >>> I've tried changing the group on the /usr/local/mailman tree to >>> "mailnull" >>> >>> I've tried setting MM_GROUPNAME=mailnull and MM_GROUPID=26 (mailnull's >>> group ID) in /etc/make.conf and running portupgrade -f mailman. In >>> order for "configure" to work I have to "chgrp -R >>> mailnull /usr/local/mailman" first. But that doesn't work in the end >>> either. Actually, the web interface works but posts to lists don't do >>> anything, no bounce either. >>> >>> I've tried mv-ing /usr/local/mailman to another directory and >>> re-installing mailman into a clean directory, copying over those files >>> I think are important from the old dir (all my lists and stuff), and >>> still it doesn't work. BTW, the default mailman from ports does *not* >>> use group "mailnull", it uses "mailman". >>> >>> Just what do I have to do to get my lists back up and working again? >> >> Have you tried to have a "make config" in ports/mail/mailman and choose >> postfix, then deinstall and reinstall the port? >> >> BTW. Having the configuration in /etc/make.conf is not generally >> encouraged. If you use portupgrade(1) then it would be better to >> use /usr/local/etc/pkgtools.conf instead. > > I disagree, the make.conf is global and will work by any tools. > Therefore, pkgtools.conf is not generally encouraged. > Hello, I'm mailman maintainer. In the Makefile, the variable MAIL_GID is defined using +=, so when you set this variable in make.conf the resulting MAIL_GID variable would be "mailman mailnull". Tomorrow i'll fix it to ?=, so MAIL_GID in make.conf will work again. Other option is use "make config" in ports directory to choose the MAIL_GID and do all the rest for you. - Jean