[Mailman-Users] get list of users

Mark Sapiro mark at msapiro.net
Sat May 1 06:34:16 CEST 2010


Schwartz, Robert - IS wrote:
>
>I do not know how to do this from a cmd prompt.  The usage says:
>
>Usage: %(PROGRAM)s [options] hostname listname password
>
>Do I do this from a cmd prompt.  What would be the syntax for my site?


You first need to download and install Python on your Windows XP box.
The windows installer for Python 2.6.5 is at
<http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi>

Then, if your list's web admin interface were for example
<http://www.example.com/mailman/admin/listname>, you would at a cmd
prompt type

cd (the folder where you saved mailman-subscribers.py)
python mailman-subscribers.py -c -o output-file.csv www.example.com
listname password

The last line starting with python and ending with password is all one
line, not wrapped as here. output-file.csv is the name of the file to
receive the csv and password is the list's admin password.

You might also need to use the -u option if the admin interface URL is
not of the above form.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list