Hehe…
It took me a couple hours to track down just how mailman works and how it does stuff, but I eventually came up with this patch that does what I want.
— Cgi/admin.py 2004-05-20 16:27:42.000000000 -0400
+++ Cgi/admin.py.REMOVEALL 2004-07-30 14:47:45.630378224 -0400
@@ -1374,6 +1374,8 @@
removals += cgidata[‘unsubscribees_upload’].value
if removals:
names = filter(None, [n.strip() for n in removals.splitlines()])
+ if removals==’REMOVE ALL’:
+ names=mlist.members.keys();
send_unsub_notifications = int(
cgidata[‘send_unsub_notifications_to_list_owner’].value)
userack = int(
It was a good programming day!
two lines! It was 20+ lines, and way more time spent in mailman 2.0.x 😉