From owner-freebsd-ports@FreeBSD.ORG Tue Aug 2 10:00:48 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 421FD106566B; Tue, 2 Aug 2011 10:00:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id F054C8FC29; Tue, 2 Aug 2011 10:00:47 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7239928436; Tue, 2 Aug 2011 12:00:46 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8AAFB28434; Tue, 2 Aug 2011 12:00:40 +0200 (CEST) Message-ID: <4E37CAC7.9090102@quip.cz> Date: Tue, 02 Aug 2011 12:00:39 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: ohauer@FreeBSD.org References: <4E368625.7010805@quip.cz> <4E370ADA.9060902@FreeBSD.org> <4E371284.5010806@quip.cz> <4E371B3B.7070806@FreeBSD.org> <4E3722DE.6050206@gmx.de> In-Reply-To: <4E3722DE.6050206@gmx.de> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, sahil@FreeBSD.org Subject: Re: FreeBSD Port: postfix-2.8.4,1 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: Tue, 02 Aug 2011 10:00:48 -0000 olli hauer wrote: > On 2011-08-01 23:31, Olli Hauer wrote: >> On 2011-08-01 22:54, Miroslav Lachman wrote: >>> Olli Hauer wrote: >>>> On 2011-08-01 12:55, Miroslav Lachman wrote: [...] >>> Today (after Postfix upgrade) I have this in daily report: >>> >>> Backup passwd and group files: >>> elsa.codelab.cz group diffs: >>> 34c34 >>> < maildirs:*:3125:postfix >>> --- >>>>> maildirs:*:3125: >>> >>> So I looked in to /etc/group and found that postfix is no longer member of the group maildirs: >>> >>> maildirs:*:3125: >>> >>> I must re-add it to group maildirs, so now I have it right: >>> >>>> id postfix >>> uid=125(postfix) gid=125(postfix) groups=125(postfix),6(mail),3125(maildirs) >>> >>> Miroslav Lachman >> >> Oh, indeed. You hit a limitation of /usr/sbin/pw. >> >> The groups are applied with "pw usermod -G $grouplist" >> >> from pw(8): >>> -G grouplist Set additional group memberships for an account. grouplist >>> is a comma, space or tab-separated list of group names or >>> group numbers. The user's name is added to the group lists >>> in /etc/group, *and removed from any groups not specified in >>> grouplist*. >> >> >> I can think about a workaround for your case. Give me some time will do some tests. >> > > No, you don't hit the limitation. It seems you really found a bug in the Framework! > >> From the Framework code in bsd.port.mk existing groups should honored. > > I will look into this. > > Thanks for your report. Thank you for your time. I am so glad to see quick and helpful response like this. I have a bunch of mail servers waiting for Postfix upgrade, so let me know about some patches I can test. Miroslav Lachman