Paul Wise wrote:
>
>I'm wondering if anyone on this list has written or knows of an
>interactive command-line application to allow a sysadmin on a mailman
>server to review all the held messages and subscription requests for all
>lists associated with a mailman install.
It would be fairly simple to modify cron/checkdbs to do this. You could
reduce the main loop to something like:
for name in Utils.list_names():
# the list must be locked in order to open the requests database
mlist = MailList.MailList(name)
try:
print 'List %s -----------------' % name
print pending_requests(mlist)
print '\n\n'
finally:
mlist.Unlock()
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
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/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp