Re: [Mailman-Developers] creating a list of moderators

2006-01-11 Thread Hans-Martin Mosner
David Benson wrote: >Hi, > >I'm a site administrator and I'd like to be able to automatically compile a >list of 'list moderators' so that I can send them all announcements. I >can't find a way to do this in the current version, and I saw similar >functionality being requested on the 'wishlist',

Re: [Mailman-Developers] creating a list of moderators

2006-01-11 Thread Joshua Ginsberg
Something like this? import cPickle, os, os.path, sys MAILMANHOME='/var/mailman' ;# change to suit sys.path.append(MAILMANHOME) moderators = [] for dir in os.listdir(os.path.join(MAILMANHOME, 'lists')): o = cPickle.load(open(os.path.join(MAILMANHOME, 'lists', dir, 'config.pck'))) for email

Re: [Mailman-Developers] creating a list of moderators

2006-01-11 Thread Robby Griffin
Um, take a look at `bin/list_owners -m`. It might be nice to have a sort of live mailing list for them rather than a list of their addresses, though. --Robby On Jan 11, 2006, at 12:41, David Benson wrote: > I'm a site administrator and I'd like to be able to automatically > compile a

[Mailman-Developers] creating a list of moderators

2006-01-11 Thread David Benson
Hi, I'm a site administrator and I'd like to be able to automatically compile a list of 'list moderators' so that I can send them all announcements. I can't find a way to do this in the current version, and I saw similar functionality being requested on the 'wishlist', so I assume that it has ye