[Mailman-Users] get list of users

Robert P. Schwartz rpschwar at knology.net
Sat May 1 23:35:22 CEST 2010


This did exactly what I needed.  Thanks. If I want others to be able to do
this, will they need to download
http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi?


-----Original Message-----
From: mailman-users-bounces+rpschwar=knology.net at python.org
[mailto:mailman-users-bounces+rpschwar=knology.net at python.org] On Behalf Of
Mark Sapiro
Sent: Friday, April 30, 2010 11:34 PM
To: Schwartz, Robert - IS; mailman-users at python.org
Subject: Re: [Mailman-Users] get list of users

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

------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/rpschwar%40knology.net

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.801 / Virus Database: 271.1.1/2846 - Release Date: 04/30/10
13:27:00



More information about the Mailman-Users mailing list