![](https://secure.gravatar.com/avatar/8e85924cae8c57651b5eba84302edb29.jpg?s=120&d=mm&r=g)
I'm wrestling with getting $prefix/mail/mailman to run as user 'mailman' under Gentoo Linux and can't see what I'm doing wrong.
When running it manually (for debugging my setup):
# mail/mailman post dfwPython Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman", but the system's mail server executed the mail script as group "root".
# bin/check_perms No problems found
The executable in question has permissions/ownership:
# ls -l mail/ total 12 -r-xr-sr-x 1 root mailman 9664 2010-04-13 23:56 mailman
and I wrote a tiny C pgm that just prints out the real/eff uid/gid as a sanity check. It has the exact same permissions/ownership:
# ls -l printid -r-xr-sr-x 1 root mailman 7106 2010-04-14 08:13 printid
# ./printid Real UID = 0 Effective UID = 0 Real GID = 0 Effective GID = 280
where 280 is the correct GID for group 'mailman', so the set-gid mechanism is working, just not with the mail/mailman executable.
This is with mailman-2.1.13 under Linux 2.6.31.
What am I overlooking? The mailman package is built from the standard Gentoo Linux distribution, not something I cobbled together.
-Jeff
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Jeff Rush wrote:
I'm wrestling with getting $prefix/mail/mailman to run as user 'mailman' under Gentoo Linux and can't see what I'm doing wrong.
When running it manually (for debugging my setup):
# mail/mailman post dfwPython Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman", but the system's mail server executed the mail script as group "root".
You are not supposed to run it manually. It is supposed to be run only by the MTA as the expected group, in this case 'mailman'
If you insist, you can test it by running
sudo -u mailman mail/mailman post dfwPython
What am I overlooking? The mailman package is built from the standard Gentoo Linux distribution, not something I cobbled together.
See the FAQ at <http://wiki.list.org/x/tYA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Jeff Rush
-
Mark Sapiro