[Mailman-Users] Approve all waiting request for add-in as member

Mark Sapiro mark at msapiro.net
Sun Aug 24 05:42:41 CEST 2008

Hung Phan wrote:
>Is there a command to approve all waiting requests for add-in as  

Not per se, but you could do it with a withlist script such as

"""Approve all pending subscriptions.

Save as bin/approve_all_subs.py

Run via

   bin/withlist -r approve_all_subs listname


   bin/withlist -a -r approve_all_subs

to do all lists.

from Mailman import mm_cfg

def approve_all_subs(mlist):
    if not mlist.Locked():
    ids = mlist.GetSubscriptionIds()
    for id in ids:
        mlist.HandleRequest(id, mm_cfg.SUBSCRIBE)

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