[Mailman-Users] Permissions Problems

Mark Sapiro msapiro at value.net
Mon Feb 5 21:37:13 CET 2007


Jay Chandler wrote:

>Did a make install from the FreeBSD Ports tree with the following 
>options set (as per a Postfix install):
>
>MM_USERNAME=mailman     The username of the Mailman user.
>MM_USERID=91            The user ID of the Mailman user.
>MM_GROUPNAME=mailman    The group to which the Mailman user will belong.
>MM_GROUPID=MM_USERID    The group ID for the Mailman user.
>MM_DIR=mailman          Mailman will be installed in /usr/local/mailman.
>CGI_GID=www             The group name or id under which your web server 
>executes CGI scripts.
>IMGDIR=www/icons        Icon images will be installed in 
>/usr/local/www/icons.
>
>
>However, I attempt to mail the test list I created, and get the 
>following error:
>
>Diagnostic-Code: x-unix; 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'.
>
>
>The permissions on /usr/local/mailman/data/ are:
>total 56
>-rw-r-----  1 root     mailman     41 Jan 26 13:33 adm.pw
>-rw-rw----  1 mailman  mailman   4540 Feb  5 11:26 aliases
>-rw-rw----  1 mailman  mailman  16384 Feb  5 11:26 aliases.db
>-rw-r--r--  1 root     mailman  13948 Feb  5 11:25 english252.cfg
>-rw-r--r--  1 root     mailman     10 Feb  5 11:43 last_mailman_version
>-rw-rw----  1 mailman  mailman      6 Feb  5 11:57 master-qrunner.pid
>-rw-r--r--  1 root     mailman  14114 Feb  5 11:47 sitelist.cfg
>
>The alias exists nowhere else on this box.
>
>Postfix is set to run as the user postfix.


Postfix will execute the pipe in the aliases in
/usr/local/mailman/data/aliases as user:group mailman:mailman - the
user:group of the aliases (or aliases.db) file.

It is doing this as you can see from the error message in from the
wrapper.

Your question is really a FreeBSD port question and might better be
answered by some support resource more directly oriented to that
package, but just guessing from what you have given above as the
options you set for the package, you might need something like

MAIL_GID=mailman

in addition to the other options.

-- 
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