[Mailman-Users] Re: Deleting a list - Mac OS X
demo
macangels at spamcop.net
Thu Nov 25 03:26:46 CET 2004
Just to say that this actually does not work for Apple's OS X Server version
2.1.2 of Mailman ... Good heavens!
It does somethings but I am not sure if it is my shortcomings or the
proprietary version's.
Adding; OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes to
/usr/share/mailman/Mailman/mm_cfg.py
Adds a new link to the General Options admin page that links to a new page;
http://yourdomain.com/mailman/rmlist/mailing
That offers you to delete the list and archive. [ n.b deleting a list in the
Apple GUI does *not* delete the archive ].
However, doing so brings up a bug report as below and deleting it via the
button does *not* delete the list;
In fact, I think the inclusion of that line screws up the install a bit,
although I am not asking for help here - only feeding back.
Doing so, I just tried this on a totally virgin OS X Server install, also
adds a new line that says, " If you have the proper authority, you can also
create a new mailing list. " on the general list Admin page [
http://yourdomain.com/mailman/admin ].
Again, this looks like it might work but throws up a similar bug report.
*However*,
it *does* create a List in the GUI *and* web interface. Is there another
line I ought to have written out to make this work? [ will check the FAQs
later but it is 2 am here and I have to time out ...
If anyone is interested in the second bug report I could post it ... I guess
it might be hackable.
The archives [ /var/mailman/archives/public ] are created but not deleted
either way.
This seems to be a bit of Apple weirdness for some reason. You seem to have
to go in there are manually exorcise them.
MA
<quote>
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 "/usr/share/mailman/scripts/driver", line 87, in run_main
main()
File "/usr/share/mailman/Mailman/Cgi/rmlist.py", line 91, in main
process_request(doc, cgidata, mlist)
File "/usr/share/mailman/Mailman/Cgi/rmlist.py", line 126, in
process_request
sys.modules[modname].remove(mlist, cgi=1)
File "/usr/share/mailman/Mailman/MTA/Postfix.py", line 296, in remove
_update_maps()
File "/usr/share/mailman/Mailman/MTA/Postfix.py", line 53, in _update_maps
raise RuntimeError, msg % (acmd, status, errstr)
RuntimeError: command failed: /usr/sbin/postalias
/private/var/mailman/data/aliases (status: 1, Operation not permitted)
Python information:
Variable
Value
sys.version
2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc.
build 1495)]
sys.executable
/usr/bin/python
sys.prefix
/System/Library/Frameworks/Python.framework/Versions/2.3
sys.exec_prefix
/System/Library/Frameworks/Python.framework/Versions/2.3
sys.path
/System/Library/Frameworks/Python.framework/Versions/2.3
sys.platform
darwin
Environment variables:
Variable
Value
HTTP_REFERER
http://yourdomain.com/mailman/rmlist/mailing
SERVER_SOFTWARE
Apache/1.3.29 (Darwin) PHP/4.3.2
SCRIPT_NAME
/mailman/rmlist
SERVER_SIGNATURE
Apache/1.3.29 Server at yourdomain.com Port 16080
REQUEST_METHOD
POST
PATH_INFO
/mailing
SERVER_PROTOCOL
HTTP/1.1
QUERY_STRING
CONTENT_LENGTH
53
HTTP_USER_AGENT
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.5 (KHTML,
like Gecko) Safari/125.11
HTTP_CONNECTION
close
HTTP_COOKIE
mailing+admin=280200000069ea3ba54173280000006665306131373262626235356539633
4373031663964303933643234356532653636376530356230
SERVER_NAME
yourdomain.com
REMOTE_ADDR
192.168.1.2
HTTP_PC_REMOTE_ADDR
212.18.232.35
PATH_TRANSLATED
/Library/WebServer/Documents/mailing
SERVER_PORT
16080
SERVER_ADDR
192.168.1.2
DOCUMENT_ROOT
/Library/WebServer/Documents
PYTHONPATH
/usr/share/mailman
SCRIPT_FILENAME
/usr/share/mailman/cgi-bin/rmlist
SERVER_ADMIN
admin at example.com
SCRIPT_URI
http://yourdomain.com:16080/mailman/rmlist/mailing
HTTP_HOST
yourdomain.com
SCRIPT_URL
/mailman/rmlist/mailing
REQUEST_URI
/mailman/rmlist/mailing
HTTP_ACCEPT
*/*
GATEWAY_INTERFACE
CGI/1.1
REMOTE_PORT
54413
HTTP_ACCEPT_LANGUAGE
en-us, ja;q=0.57, ja-jp;q=0.71, en;q=0.86, fr;q=0.43, de-de;q=0.29,
de;q=0.14
__CF_USER_TEXT_ENCODING
0x46:0:0
CONTENT_TYPE
application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING
gzip, deflate;q=1.0, identity;q=0.5, *;q=0
</quote>
More information about the Mailman-Users
mailing list