retrieving usernames and passwords from mailman

I'm building a simple document sharing application to run alongside
mailman. What I would like to do is use mailmans users/passwords for
this application.
Ultimately what I would like to do is pull out all usernames &
passwords and throw it all into a file for a given list. Is this
possible with a current command line program with mailman?
Thanks in advance
Matthew Clarkson Netera Alliance

Matthew Clarkson wrote:
I'm building a simple document sharing application to run alongside
mailman. What I would like to do is use mailmans users/passwords for
this application. Ultimately what I would like to do is pull out all usernames &
passwords and throw it all into a file for a given list. Is this
possible with a current command line program with mailman?
You could use a simple bin/withlist script such as
def get_passwords(mlist): for member in mlist.getMembers(): print '%s - %s' % (member, mlist.getMemberPassword(member))
Save that as bin/get_passwords.py and run
bin/withlist -r get_passwords listname > /path/to/password/list
Alternatively, you could just use bin/dumpdb to dump the list's config.pck and extract the passwords information from the output.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Matthew Clarkson