[Mailman-Users] Is this a mailman or postfix error?

Mark Sapiro msapiro at value.net
Fri Jul 29 02:02:08 CEST 2005


roy vinner wrote:
>
>I created a group www -- which included apache, mailman, and myself -- 
>and set -cgi-gid=www.
>The apache would not run the mailman/create, as it was complaining that 
>it could not run as www (even though apache was included in wwww). So I 
>set -cgi-gid=mailman and set user and group in apache to mailman. I 
>don't know what was wrong there, but it looks like I am having a similar 
>issue here.


The 'mailman' user should be in the 'mailman' group (not in www) and
all mailman files, including particularly the mail/mailman wrapper and
the cgi-bin/* wrappers should be group mailman and setgid.

Run

bin/check_perms -f

as root until it reports no errors.


>> See http://www.list.org/mailman-install/node7.html
>
>I remember that web page. I re-ran configure several times by now. Do I 
>also need to run make and make install after that to make changes 
>persist in /usr/local/mailman? I haven't done that, 'cause I am afraid 
>that the changes that I made to various files would be overwritten.
>
>Please, let me know what the reality on this is. I am quite happy to 
>have mail-gid=mailman and cgi-gid=apache, if I could make it work that way.


--with-mail-gid= needs to be set to the group that postfix uses to pipe
mail to the mail/mailman wrapper.

--with-cgi-gid= needs to be set to the group that apache uses to
execute the cgi-bin wrappers. This group is set in the Apache config
with the Group directive, so if the apache config contains

Group apache

then Mailman must be configured using --with-cgi-gid=apache

OTOH, if Mailman is configured using --with-cgi-gid=somethingelse this
can work too if the apache config contains

Group somethingelse

The analagous situation is true with postfix and --with-mail-gid except
I can't offhand tell you how to set group in postfix.

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list