ports/157868: mail/mailman: Possible problem with MAIL_GID

Olli Hauer ohauer at FreeBSD.org
Mon Jun 27 23:06:12 UTC 2011


On 2011-06-27 23:13, Adam McDougall wrote:
> On 06/20/11 07:00, Chris Rees wrote:
>> On 20 June 2011 11:10, Guido Falsi<mad at madpilot.net>  wrote:
>>> On Mon, Jun 20, 2011 at 10:30:58AM +0100, Chris Rees wrote:
>>>> On 20 June 2011 10:22, Guido Falsi<mad at madpilot.net>  wrote:
>>>>> On Sat, Jun 18, 2011 at 12:57:47PM +0000, Chris Rees wrote:
> 
> Today I updated my ports and tried to upgrade my mailman install, but it failed
> because I use my own user and group:
> 
> ===>  Installing for mailman-2.1.14_5
> ===>   Generating temporary packing list
> ===>  Checking if mail/mailman already installed
> ===> Creating users and/or groups.
> ** Cannot find any information about group `postlocal' in /usr/ports/GIDs.
> *** Error code 1
> 
> My local user will never be in /usr/ports/GIDs of course.  I am using:
> # more /etc/make.conf
> #For Mailman
> MM_USERNAME=postlocal
> MM_USERID=2012
> MM_GROUPNAME=postlocal
> MM_GROUPID=2012
> MAIL_GID=postlocal
> 
> Should I be doing something different?  Please let me know if I can help.  Thanks.

This can be solved only this way.

Maybe use own description.
$> cat /save/place/UIDs
postlocal:*:2012:2012::0:0:Mailman User:/usr/local/mailman:/usr/sbin/nologin

$> cat /save/place/GIDs
postlocal:*2012:

make install UID_FILES=/save/place/UIDs GID_FILES=/save/place/GIDs



More information about the freebsd-ports mailing list