[Mailman-Users] unsubscribe one user from many lists
Mark Sapiro
mark at msapiro.net
Wed May 16 08:47:21 CEST 2012
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=me at 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=me@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 user at 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=me at 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=me@somewhere.edu
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list