Hi,

I'm running postfix 2.0.16 with mailman 2.1.2., on Red Hat 9.  When I
try to create a new list via the web interface, the aliases file does
not get updated. 

My postfix main.cf has these entries:

Alias_maps = hash:/etc/aliases,hash:/usr/local/mailman/data/aliases

Both /etc/aliases and /usr/local/mailman/data/aliases are owned by
mailman, group mailman.

I tried rearranging the order of the two entries, as such:

Alias_maps = hash:/usr/local/mailman/data/aliases,hash:/etc/aliases 
But that broke the list creation entirely, and returned the error below.
Does anyone have suggestions on how to fix this alias problem?

BTW, the permissions on the files are rw-rw---- for
/usr/local/mailman/data/aliases and rw-r---- for /etc/aliases Which
would seem ok if the scripts execute as mailman, and the documentation
seems to indicate they do.

Any help is appreciated.

Thanks,
Randy Foo



Traceback:

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





Python information:

     Variable
                                            Value
 sys.version
                 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222
(Red Hat Linux 3.2.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 
                       141 
 CONTENT_TYPE 
                       application/x-www-form-urlencoded 
 HTTP_REFERER 
                       http://lis
 SCRIPT_FILENAME 
                       /usr/local/mailman/cgi-bin/create 
 PYTHONPATH 
                       /usr/local/mailman 
 SERVER_SOFTWARE 
                       Apache/2.0.40 (Red Hat Linux) 
 SERVER_ADMIN 
                       [EMAIL PROTECTED] 
 SCRIPT_NAME 
                       /mailman/create 
 SERVER_SIGNATURE 
                       Apache/2.0.40 Server at listlnx.vcd.hp.com Port
80  REQUEST_METHOD 
                       POST 
 HTTP_HOST 
                       list
 SERVER_PROTOCOL 
                       HTTP/1.0 
 QUERY_STRING 
 REQUEST_URI 
                       /mailman/create 
 HTTP_ACCEPT 
                       image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */* 
 HTTP_ACCEPT_CHARSET 
                       iso-8859-1,*,utf-8 
 HTTP_USER_AGENT 
                       Mozilla/4.7 [en] (X11; U; HP-UX B.11.11 9000/785)

 HTTP_CONNECTION 
                       Keep-Alive 
 HTTP_COOKIE 
                       HP-ESC-GEO=americas_ap;
HP-BCO-PRODMEMID=537c87ce-24c4-4383-8575-eb1507845584 
 SERVER_NAME 
                       list
 REMOTE_ADDR 
                       15.***.***.** 
 REMOTE_PORT 
                       62056 
 HTTP_ACCEPT_LANGUAGE 
                       en 
 UNIQUE_ID 
                       hBPu7A-8GrIAAClZQm4AAAAB 
 SERVER_PORT 
                       80 
 GATEWAY_INTERFACE 
                       CGI/1.1 
 HTTP_ACCEPT_ENCODING 
                       gzip 
 SERVER_ADDR 
                       15.xxx.xx.xxx 
 DOCUMENT_ROOT 
                       /var/www/html 


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to