[Mailman-Users] list of members question

Lynn, Michael (GWM-CAI) michael_lynn at ml.com
Tue Sep 9 19:59:55 CEST 2008


I had a similar requirement and created a script that I run via cron to
dump the subscribers to all lists into an html page.  

The script creates anchors for each list - so if you wanted, you could
create a links by list.  For example...

<a href=members/index.html#foo-list>Foo List Subscribers</a>

Here's the script:
---
#!/bin/sh
# mlynn 06-24-2008
# dump subscribers by list to a web accessible page
#
echo "<HTML><TITLE>ML MAILMAN MAILING LIST MEMBERSHIP
INFORMATION</TITLE><BODY>" > /var/www/html/lists/members/index.html
echo "<h1> Mailman Mailing List Membership Information Page</h1>" >>
/var/www/html/lists/members/index.html
echo "<h2><img align=right src=/images/stamp_100.gif >This page lists
the subscribership of each of the Mailing Lists hosted on the Mailing
List Server</h2><br>" >> /var/www/html/lists/members/index.html
echo "<h3>" >> /var/www/html/lists/members/index.html
date >> /var/www/html/lists/members/index.html
echo "</h3>" >> /var/www/html/lists/members/index.html
for ii in `/var/mailman/bin/list_lists -b`; do
        mkdir -p /var/www/html/lists/members
        echo "<a name=$ii><h2>$ii Subscribers</h2></a>" >>
/var/www/html/lists/members/index.html
        echo "<blockquote>" >> /var/www/html/lists/members/index.html
        for jj in `/var/mailman/bin/list_members $ii`; do
                echo "<a href=mailto:$jj>$jj</a><br>" >>
/var/www/html/lists/members/index.html
        done
        echo "</blockquote>" >> /var/www/html/lists/members/index.html
done
---
Here's the cron:
* 12 * * * /var/mailman/bin/create_members_info.sh > /dev/null 2>&1
---
Works for me, ymmv.

Regards,
Mike


-----Original Message-----
From: mailman-users-bounces+michael_lynn=ml.com at python.org
[mailto:mailman-users-bounces+michael_lynn=ml.com at python.org] On Behalf
Of hone+mailman at oak.cats.ohiou.edu
Sent: Tuesday, September 09, 2008 1:01 PM
To: mailman-users at python.org
Subject: [Mailman-Users] list of members question

Is there a way for a list owner to see all subscribers of a list on one
web 
page? One list has 140 members. Or can a list be requested via email?

I know that I, as listserv admin, can get this list via the gui.

Don Hone
<http://edirectory.ohio.edu/?$search?uid=hone>
Ohio University
------------------------------------------------------
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
Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/michael_lynn%40ml.c
om

Security Policy: http://wiki.list.org/x/QIA9
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------


More information about the Mailman-Users mailing list