Subject: Re: mailman
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: netbsd-users
Date: 06/11/2007 23:07:27
Steven M. Bellovin wrote:
> On Mon, 11 Jun 2007 21:15:35 +0300
> Teemu Rinta-aho <teemu@rinta-aho.org> wrote:
> 
>> Hi,
>>
>> I installed mailman from pkgsrc. I am using postfix. It
>> doesn't work. I googled some discussion from mailing lists
>> and fixed mk.conf. It still doesn't work. It complains
>> of running mailman wrapped with group "mailman" while
>> it expects it to run it as group "daemon". What should
>> I do?
>>
> You don't say what you did to fix mk.conf.  You need the line
> 
> 	MAILMAN_MAILGROUP=mailman
> 
> in it.  Also add 
> 
> 	MTA = 'Postfix'
> 
> to your mm_cfg.py file.

Thanks! I added this to mk.conf:

# pkgsrc/mail/mailman
MAILMAN_MAILGROUP=      daemon
MAILMAN_DATADIR=        /home/mailman

And I have MTA = 'Postfix' in mm_cfg.py.

But it seems that now it says in /usr/pkgsrc/mail/mailman/Makefile:

MAILMAN_MAILGROUP?=     daemon  # group sendmail runs under;
                                # use 'nobody' for postfix

So I will try 'mailman' and if that doesn't work, then 'nobody'.

Thanks again,

Teemu