[Mailman-Users] Create mailing list on the web error

Kory Wheatley wheakory at isu.edu
Mon Jan 13 23:32:23 CET 2003


I received the below error when I tried to create a mailing list from
the Mailman web interface page. It did add the list into the alias file,
but it
failed to run "postalias" probably because of permission issue's I'm
guessing.

I have my alias file in /var/mailman/mailman/data/aliases
and the permissions are  rw-rw----  mailman  mailman       aliases.  I
believe I need to change the permissons to rw-rw-rw- to get this to
function properly, but this will leave a big security hole,
is there a work around to getting this to function correctly on the web.




Bug in Mailman version 2.1

We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a copy
of this page to the webmaster for this site with a description of what
happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/var/mailman/mailman/scripts/driver", line 87, in run_main
    main()
  File "/var/mailman/mailman/Mailman/Cgi/create.py", line 55, in main
    process_request(doc, cgidata)
  File "/var/mailman/mailman/Mailman/Cgi/create.py", line 217, in
process_request
    sys.modules[modname].create(mlist, cgi=1)
  File "/var/mailman/mailman/Mailman/MTA/Postfix.py", line 226, in
create
    _update_maps()
  File "/var/mailman/mailman/Mailman/MTA/Postfix.py", line 47, in
_update_maps
    raise RuntimeError, msg % (acmd, status, errstr)
RuntimeError: command failed: /usr/sbin/postalias
/var/mailman/mailman/data/aliases (status: 1, Operation not permitted)



Python information:

Variable Value
sys.version 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat
Linux Rawhide 3.2-4)]
sys.executable /usr/bin/python
sys.prefix /usr
sys.exec_prefix /usr
sys.path /usr
sys.platform linux2

Environment variables:

Variable Value
CONTENT_LENGTH 142
CONTENT_TYPE application/x-www-form-urlencoded
HTTP_COOKIE
ssogrp1-nda45=ux9.isu.edu-15c%253A3e231b6a%253Aa371957ae32d457c
SCRIPT_FILENAME /var/mailman/mailman/cgi-bin/create
PYTHONPATH /var/mailman/mailman
SERVER_SOFTWARE Apache/2.0.40 (Red Hat Linux)
SERVER_ADMIN root at localhost
SCRIPT_NAME /mailman/create
SERVER_SIGNATURE
Apache/2.0.40 Server at kwlinux.isu.edu Port 80
REQUEST_METHOD POST
HTTP_HOST kwlinux.isu.edu
HTTP_KEEP_ALIVE 300
SERVER_PROTOCOL HTTP/1.1
QUERY_STRING
REQUEST_URI /mailman/create
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1

HTTP_ACCEPT_CHARSET ISO-8859-1, utf-8;q=0.66, *;q=0.66
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.0.2) Gecko/20021120 Netscape/7.01
HTTP_CONNECTION keep-alive
HTTP_REFERER http://kwlinux.isu.edu/mailman/create
SERVER_NAME kwlinux.isu.edu
REMOTE_ADDR 134.50.249.22
REMOTE_PORT 4423
HTTP_ACCEPT_LANGUAGE en-us, en;q=0.50
UNIQUE_ID Sl0jwoYy at TAAAERzLY0AAAAF
SERVER_PORT 80
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT_ENCODING gzip, deflate, compress;q=0.9
SERVER_ADDR 134.50.249.48
DOCUMENT_ROOT /var/www/html

--
Kory Wheatley
Academic Computing Analyst Sr.
Phone 282-3874
#########################################
Everything must point to him.





More information about the Mailman-Users mailing list