Hi Mark,
doh - a simple typo on my end, you're right! So I now use wget for both
(batch) subscription and unsubscription, this works like a charm.
Very nice. Thank you very much!
Cheers,
Rafael
On 05/16/2012 02:47 AM, Mark Sapiro wrote:
Rafael Lang wrote:
Now, I'm not super sure I got the command
line right, this is what I tried:
wget --post-data="adminpw=foobar&unsubscribees=m...@somewhere.edu"
http://serveraddress/mailman/admin/mailinglistname/members/members/remove
and I also tried to directly enter
http://serveraddress/mailman/admin/mailinglistname/members/members/remove?adminpw=foobar&unsubscribees=m...@somewhere.edu
into my browser. In both cases what I got back was:
<head><title>Bug in Mailman version 2.1.9</title></head>
<body bgcolor=#ffffff><h2>Bug in Mailman version 2.1.9</h2>
<p><h3>We're sorry, we hit a bug!</h3>
<p>Please inform the webmaster for this site of this
problem. Printing of traceback and other system information has been
explicitly inhibited, but the webmaster can find this information in the
Mailman error logs.
and now I'm lost :-\ Can somebody help me? How can I unsubscribe a given
user from a couple of mailing lists at the same time without having to
go through the clumsy web interface for each of the mailing lists?
It appears that you don't have command line access to Mailman, so the
obvious
bin/remove_members --fromall u...@example.com
isn't something you can do. That probably also means you don't have
access to Mailman's error log to provide the traceback, however, I can
say what the issue might be. Your URLs are wrong. There should not be
two occurrences of /members in the URL. The 'bug' however is that the
script assumes there are values for the check boxes on the form. Thus,
you need something like
wget
--post-data="adminpw=foobar&send_unsub_notifications_to_list_owner=0&send_unsub_ack_to_this_batch=0&unsubscribees=m...@somewhere.edu"
http://serveraddress/mailman/admin/mailinglistname/members/remove
or
http://serveraddress/mailman/admin/mailinglistname/members/remove?adminpw=foobar&send_unsub_notifications_to_list_owner=0&send_unsub_ack_to_this_batch=0&unsubscribees=m...@somewhere.edu
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org