Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 17:54:49 -0300
From:      Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
To:        David Southwell <david@vizion2000.net>
Cc:        ports@FreeBSD.org
Subject:   Re: Mailman GID problem
Message-ID:  <46292899.2010903@freebsdbrasil.com.br>
In-Reply-To: <200704200842.48793.david@vizion2000.net>
References:  <200704200842.48793.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Southwell wrote:
> /usr/local/share/doc/mailman/mailman-install.txt
> 
> 6.1.1 Integrating Postfix and Mailman
> .
> .
> * When you configure Mailman, use the --with-mail-gid=mailman
>        switch; this will be the default if you configured Mailman after
>        adding the mailman owner. Because the owner of the aliases.db file
>        is mailman, Postfix will execute Mailman's wrapper program as uid
>        and gid mailman.
> _______________________________
> Extract  from my mm_cfg.py
> add_virtualhost('www.vizion2000.net', 'vizion2000.net')
> add_virtualhost('www.atf4.com', 'atf4.com')
> add_virtualhost('www.methuselaproject.org', 'methuselaproject.org')
> add_virtualhost('www.methuselaproject.com', 'methuselaproject.com')
> add_virtualhost('www.ispyforum.com', 'ispyforum.com')
> add_virtualhost('www.workplacemassage.co.uk', 'workplacemassage.co.uk')
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['atf4.com', 
> 'vizion2000.net', 
> 'methuselaproject.org', 
> 'methuselaproject.com', 
> 'ispyforum.com', 
> 'workplacemassage.co.uk',
> ]
> MTA ='Postfix'
> SMTPHOST = 'dns1.vizion2000.net'
> ___________________________________
> 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'.
> Apr 20 08:24:58 dns1 postfix/local[23091]: A271B1CC47: 
> to=<hanhamphoto@vizion2000.net>, orig_to=<hanhamphoto@atf4.com>, relay=local, 
> delay=526, delays=526/0.02/0/0.01, dsn=4.3.0, status=SOFTBOUNCE (Command died 
> with status 2: "/usr/local/mailman/mail/mailman post hanhamphoto". Command 
> output: 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'. )
> Apr 20 08:26:23 dns1 postfix/anvil[23079]: statistics: max connection rate 
> 1/60s for (smtp:168.100.1.7) at Apr 20 08:23:03
> __________________________________________________
> 
> I have tried to rebuild mailman BUT the configuration option screen does not 
> appear. I have tried 
> # make with-mail-gid=mailman
> but still get the same results
> #./configure --with-mail-gid=mailman 
> is not available 
> There seems that mailman does not keep a record of relevant configuration 
> setting and the  command to extract current settings for mailman  
> bin/config_list does not report this setting either.
> 
> What should I be doing here?
> 
> Thanks
> david
> _______________________________________________
> 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"

David,

Please, run the follow command:

chown root:nobody /usr/local/mailman/mail/mailman

Tell me the results.

Thanks
Jean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46292899.2010903>