FreeBSD Port: postfix-2.8.4,1

Miroslav Lachman 000.fbsd at quip.cz
Tue Aug 2 10:00:48 UTC 2011


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


More information about the freebsd-ports mailing list