[Mailman-Users] Backup
dave at umiacs.umd.edu
dave at umiacs.umd.edu
Tue May 3 20:36:23 CEST 2005
On Tue, 3 May 2005, Staven Bruce wrote:
> I know this topic pops up fairly regularly, however I was unable to find an
> answer to my specific question going through the archives and the FAQ's. I
> want to create a script that will output to a file a list of all subscribers
> e-mail addresses, the list they subscribe to, and their associated
> password. However, the issues I have run into are as follows:
>
> -- The standard script that requires nmh at
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.006.htp> uses
> the /var/lib/mailman directory which does not exist in my installation of
> Mailman 2.1.5 on Red Hat Enterprise 3.0.
>
> -- I can get list membership addresses using the
> /var/mailman/bin/list_members script, however I have to specifcy each list
> individually and I can not receive the password. In addition, I would have
> to change the script everytime a new list was created.
>
> Does anyone have any suggestions on scripting this functionality?
Seeing how you can get subscribers email from list_members and lists they're
subscribed to from list_lists, we'll leave this as nothing but a scripting
exercise.
Once that's done, you only need get the password for users which can be
gotten from running dumpdb again config.pck of each list and grep -w
on the email address.
=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
David Stern University of Maryland
Institute for Advanced Computer Studies
More information about the Mailman-Users
mailing list