From owner-freebsd-ports@FreeBSD.ORG Fri Apr 20 18:11:45 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E790C16A401 for ; Fri, 20 Apr 2007 18:11:45 +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 24AEB13C458 for ; Fri, 20 Apr 2007 18:11:44 +0000 (UTC) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 9099 invoked by uid 0); 20 Apr 2007 14:51:48 -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.58.85.51):. Processed in 0.731893 secs); 20 Apr 2007 17:51:48 -0000 Received: from unknown (HELO ?10.69.69.66?) (jmelo@201.58.85.51) by capeta.freebsdbrasil.com.br with SMTP; 20 Apr 2007 14:51:47 -0300 Message-ID: <4628FC15.7020500@freebsdbrasil.com.br> Date: Fri, 20 Apr 2007 14:44:53 -0300 From: Jean Milanez Melo User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Jeffrey Goldberg References: <200704200842.48793.david@vizion2000.net> In-Reply-To: X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: Mailman GID problem 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: Fri, 20 Apr 2007 18:11:46 -0000 Jeffrey Goldberg wrote: > On Apr 20, 2007, at 10:42 AM, David Southwell wrote: > >> Extract from /var/maillog >> Apr 20 08:24:58 dns1 Mailman mail-wrapper: Group mismatch error. Mailman >> expected the mail wrapper script to be executed as group "nobody", but >> the >> system's mail server executed the mail script as group "mailman". Try >> tweaking the mail server to run the script as group "nobody", or re-run >> configure, providing the command line option `--with-mail-gid=mailman'. > > I've given a complementary response on the mailman-users list (to which > I'm also cc'ing this) > > Nothing I say below takes away from what I said in that previous post. > The answers to the questions I've asked would have resolved this problem > long ago. > > There appears to be a bug in the pkg-install file that comes with the > current mailman port. When one installs (through FreeBSD ports) mailman > selecting postfix as the MTA, the MAIL_GID correctly gets set to "nobody" > > But in the pkg-install script all of the mailman files get set with > > echo "---> Creating Mailman directory (/usr/local/mailman)" > (umask 002 && /bin/mkdir -p "/usr/local/mailman") || exit 1 > /usr/sbin/chown -R "mailman:mailman" "/usr/local/mailman" || exit 1 > /bin/chmod g+s "/usr/local/mailman" || exit 1 > > Which is correct for everything except for /usr/local/mailman/data which > should actually be set with > > chown -R nobody:mailman /usr/local/mailman/data > > I don't know enough about ports to actually find the source pkg-install > fine (the one I looked at and quoted from is after make has edited it > with sed). So I'm not certain whether the problem is in the Makefile or > in the source for the pkg-install. > > I experienced the same problem David had just a few weeks ago, but I > attributed the problem (which I fixed by manually doing the chown) to me > having moved my mailman set up from one machine to another. So I > thought that I had the wrong permissions for /usr/local/mailman/data as > a consequence of the move and not because the mailman FreeBSD port was > broken. > > When I saw some of David's problems I started to have some suspicions, > but I wasn't able to get enough information from him to really look at > the ownerships the port set up. > > Cheers, > > -j > > --Jeffrey Goldberg http://www.goldmark.org/jeff/ > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Hello, I'm the mailman port maintainer, i'll take a look on this problem ASAP. If i find a bug like your description , i'll commit a fix to it. Thanks -- Jean