[Mailman-Users] mailman-2.1b2 / linux install problem

Emmanuel Viennet viennet at lipn.univ-paris13.fr
Sat May 25 09:59:05 CEST 2002


Hi all,

I find mailman-2.1b2 quite difficult to install on a 
linux redhat 7.2 system (problems with file permissions).

I install from the sources, following instructions from
 INSTALL and INSTALL.POSTFIX.
My setup: apache (running with uid apache)
          postfix (running as 'postfix')
(both installed form redhat rpms).

configure with:
 ./configure --with-python=`which python2` --with-mail-gid=mailman --with-cgi-gid=apache 
  make install                                             ^^^^^^^                ^^^^^^

(--with-mail-gid=mailman is stated in README.POSTFIX)

The aliases are in data/aliases, created with the following permissions,
as stated in INSTALL:

# ls -l data
drwxrwsr-x    2 mailman  mailman      4096 May 25 09:22 data

# ls -l data/ali*
-rw-rw----    1 mailman  mailman      1198 May 25 09:22 data/aliases
-rw-r--r--    1 mailman  mailman     12288 May 25 09:19 data/aliases.db


I ran check_perm and genaliases, and did setup httpd.conf and main.cf
correctly.

BUT, when I try to create a list through the web, I get:
Bug in Mailman version 2.1b2

We're sorry, we hit a bug!

RuntimeError: command failed: /usr/sbin/postalias /usr/local/mailman/data/aliases (status: 1, Operation not permitted)

After some investigations, I noticed that Postfix.py (and thus postalias)
is running with UID=apache, GID=mailman, groups=[apache]


Can someone help me ?

thanks,
Emmanuel





More information about the Mailman-Users mailing list