On Tue, Nov 02, 2004 at 04:13:54PM -0500, Hong Jiang Tian wrote: > We can use list_members command to list the regular or nomail members. But I > want to know how many members are moderated (all members with moderate bit).
One way to do it is to use the bin/withlist tool. Create a file called list_moderated.py in your ~mailman directory: ##### cut here from Mailman import mm_cfg def list_moderated(m): for member in m.getMembers(): if m.getMemberOption(member, mm_cfg.Moderate): print member ##### cut here Then to list the moderated members of 'mylist' give the command: bin/withlist -q -r list_moderated mylist -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/