Help a newbie out! How to list users of a specific list

Hello,
We host several lists here and I would like to know how to list users/subscribers list by list. Is there an easy way of doing that?
Thank you,
Matthew Smith
Tampa Bay Library Consortium
813-622-8252 X229
smithmm@tblc.org

$prefix/mailman/bin/list_members $listname
-Troy
On Dec 17, 2007, at 9:18 AM, Matt Smith wrote:
Hello,
We host several lists here and I would like to know how to list users/subscribers list by list. Is there an easy way of doing that?
Thank you,
Matthew Smith
Tampa Bay Library Consortium
813-622-8252 X229
smithmm@tblc.org
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/knabe%404j.lane.edu
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

You know... I've been thinking that this would be a really handy on the web admin interface as well as the command line.
(Apologies if it does already exist as an option I simply haven't noticed it)
Regards,
Lev
On Tue, 2007-12-18 at 07:12 -0800, Troy Knabe wrote:
$prefix/mailman/bin/list_members $listname
-Troy
On Dec 17, 2007, at 9:18 AM, Matt Smith wrote:
Hello,
We host several lists here and I would like to know how to list users/subscribers list by list. Is there an easy way of doing that?
Thank you,
Matthew Smith
Tampa Bay Library Consortium
813-622-8252 X229
smithmm@tblc.org
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/knabe%404j.lane.edu
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lev%40vpac.org
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

On 12/19/07, Lev Lafayette wrote:
You know... I've been thinking that this would be a really handy on the web admin interface as well as the command line.
On the web interface, the closest we get is the "Membership Management" section. If you have more users on the list than a certain built-in site-wide default, then this will be broken down by the first letter of their e-mail address.
(Apologies if it does already exist as an option I simply haven't noticed it)
For lists with hundreds of thousands of subscribers (and yes, there are some Mailman lists that large), putting all this on a single web page wouldn't be very feasible. For smaller lists, I can see the value.
If you check the Mailman RFE (Request for Feature Enhancement) page at <http://sourceforge.net/tracker/?group_id=103&atid=350103>, I imagine that you should see a request from someone else for precisely this option.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

On Tue, 2007-12-18 at 17:03 -0600, Brad Knowles wrote:
On 12/19/07, Lev Lafayette wrote:
You know... I've been thinking that this would be a really handy on the web admin interface as well as the command line.
On the web interface, the closest we get is the "Membership Management" section. If you have more users on the list than a certain built-in site-wide default, then this will be broken down by the first letter of their e-mail address.
*nods* Which requires a "screen scrape" to get a copy of membership of the mailing list in text form.
(Apologies if it does already exist as an option I simply haven't noticed it)
For lists with hundreds of thousands of subscribers (and yes, there are some Mailman lists that large), putting all this on a single web page wouldn't be very feasible. For smaller lists, I can see the value.
Yahoo groups for example has this feature for moderators (members-download). It would be especially handy for mailman managers who don't have access to the command line (for example, due to restrictions on their hosting service)
If you check the Mailman RFE (Request for Feature Enhancement) page at <http://sourceforge.net/tracker/?group_id=103&atid=350103>, I imagine that you should see a request from someone else for precisely this option.
Thanks for that.
All the best,
Lev

On 12/19/07, Lev Lafayette wrote:
*nods* Which requires a "screen scrape" to get a copy of membership of the mailing list in text form.
You can also get a copy of the list sent to you by using the e-mail interface. See FAQ 3.62 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.062.htp>.
Yahoo groups for example has this feature for moderators (members-download). It would be especially handy for mailman managers who don't have access to the command line (for example, due to restrictions on their hosting service)
Mailman was not designed as a drop-in replacement for Yahoo!Groups. See FAQ 1.26 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.026.htp>.
It also was not designed to be used in a hosting environment. See FAQ 1.32 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.032.htp>.
That said, we recognize that users want such features regardless, hence the Mailman RFE page at SourceForge. And we'll do our best to implement the features we consider to be most important, as our time and other resources allow.
Of course, this is a purely volunteer-supported open source project, so if there's some feature you have a burning desire to have implemented then the easiest way to get that into the standard code base is for you to get (or pay) someone else to do that for you, and then contribute that code back to our project. Then we can look at that code and determine whether or not it can be incorporated into an upcoming version.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

On 12/18/2007, Brad Knowles (brad@shub-internet.org) wrote:
On the web interface, the closest we get is the "Membership Management" section. If you have more users on the list than a certain built-in site-wide default, then this will be broken down by the first letter of their e-mail address.
Where is this default set? I had a list that mysteriously switched to the view by letter mode, then a few days later, went back to listing them all on a single page... from the above comment, I'm guessing that I had added a member that put me over this limit, then removed one to put me back under.
I'd like to bump it up a tad, so that doesn't happen again. Our lists are fairly static, and will not be growing significantly in the future.
Thanks!
--
Best regards,
Charles

Charles Marcus, on 12/19/2007 7:39 AM, said the following:
On 12/18/2007, Brad Knowles (brad@shub-internet.org) wrote:
On the web interface, the closest we get is the "Membership Management" section. If you have more users on the list than a certain built-in site-wide default, then this will be broken down by the first letter of their e-mail address.
Where is this default set? I had a list that mysteriously switched to the view by letter mode, then a few days later, went back to listing them all on a single page... from the above comment, I'm guessing that I had added a member that put me over this limit, then removed one to put me back under.
I'd like to bump it up a tad, so that doesn't happen again. Our lists are fairly static, and will not be growing significantly in the future.
Answering myself, found it digging through Defaults.py...
DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 30 is the default, which I just counted, and I currently have 30, so that was it...
Bumped it up to 50 in mm_cfg.py and restarted mailman...
--
Best regards,
Charles

Charles Marcus sent the message below at 09:13 12/19/2007:
Charles Marcus, on 12/19/2007 7:39 AM, said the following:
On 12/18/2007, Brad Knowles (brad@shub-internet.org) wrote:
On the web interface, the closest we get is the "Membership Management" section. If you have more users on the list than a certain built-in site-wide default, then this will be broken down by the first letter of their e-mail address.
Where is this default set? I had a list that mysteriously switched to the view by letter mode, then a few days later, went back to listing them all on a single page... from the above comment, I'm guessing that I had added a member that put me over this limit, then removed one to put me back under.
I'd like to bump it up a tad, so that doesn't happen again. Our lists are fairly static, and will not be growing significantly in the future.
Answering myself, found it digging through Defaults.py...
DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 30 is the default, which I just counted, and I currently have 30, so that was it...
Bumped it up to 50 in mm_cfg.py and restarted mailman... ---------------- End original message. ---------------------
Unfortunately, that will only change the setting for new lists, not existing ones.
The setting is stored in each list configuration when it is created and you would have to modify it for each list. You can see this by using the dumpdb script to examine the config.pck file for a list, the parameter is admin_member_chunksize.
You can change this by using the config_list script -o option to output the configuration in text format, make the change there and then re-import it using the -i option of the same script.
Dragon
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

Dragon wrote:
You can change this by using the config_list script -o option to output the configuration in text format, make the change there and then re-import it using the -i option of the same script.
There are two problems with making changes via "config_list -o" "edit the file" "config_list -i"
The first problem is this is generally extra and unnecessary work. config_list -i only changes those settings in the input, so it is sufficient to just make a file with the one or two settings you want to change and use that as input to config_list.
The more significant issue is "config_list -o" only dumps those list settings which are in the admin web interface, so in this case, unless you have upgraded to 2.1.10b1, you won't see admin_member_chunksize in the config_list output, and if you have upgraded to 2.1.10b1 or later, you can just set it on the General Options page.
config_list -o is useful for backing up list settings before experimenting with multiple changes or just to have a backup. It is also useful for creating a template configuration to be applied to other lists, but to just change a few settings, the dump/edit/reload scenario is generally overkill.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Charles Marcus wrote:
Answering myself, found it digging through Defaults.py...
DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 30 is the default, which I just counted, and I currently have 30, so that was it...
Bumped it up to 50 in mm_cfg.py and restarted mailman...
Unfortunately, that won't help your existing lists. That only sets the default for new lists. The setting for an existing list is the admin_member_chunksize list attribute. Beginning in Mailman 2.1.10, this setting is available on the list's General Options page. In older versions, you need to do something like
#!/bin/bash cd ~mailman f=mktemp echo admin_member_chunksize = 50 > $f bin/config_list -i $f list_name rm $f
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro, on 12/19/2007 1:36 PM, said the following:
Charles Marcus wrote:
Answering myself, found it digging through Defaults.py...
DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 30 is the default, which I just counted, and I currently have 30, so that was it...
Bumped it up to 50 in mm_cfg.py and restarted mailman...
Unfortunately, that won't help your existing lists. That only sets the default for new lists. The setting for an existing list is the admin_member_chunksize list attribute. Beginning in Mailman 2.1.10, this setting is available on the list's General Options page. In older versions, you need to do something like
#!/bin/bash cd ~mailman f=mktemp echo admin_member_chunksize = 50 > $f bin/config_list -i $f list_name rm $f
Ok, thanks! Makes sense to add this option to the web GUI - sounds like lots of good tweaks coming...
--
Best regards,
Charles

On 12/19/07, Charles Marcus wrote:
Where is this default set?
From /usr/local/mailman/Mailman/Defaults.py:
# How many members to display at a time on the admin cgi to unsubscribe them # or change their options? DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 30
Note that I believe this is only consulted when creating the list. If you go into your mm_cfg.py file and set something else, that will affect all new lists created after that point, but I don't think it affects any current lists (which were created with the old setting).
If you search the FAQ Wizard for the string "DEFAULT_ADMIN_MEMBER_CHUNKSIZE", you find that there is only one entry returned -- FAQ 4.30 at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.030.htp>, which covers how to change this value for a list that has already been created.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Lev Lafayette wrote:
You know... I've been thinking that this would be a really handy on the web admin interface as well as the command line.
Not per se, but see <http://www.example.com/mailman/roster/listname> (also linked from the list's listinfo page).
(Apologies if it does already exist as an option I simply haven't noticed it)
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
3.62
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (7)
-
Brad Knowles
-
Charles Marcus
-
Dragon
-
Lev Lafayette
-
Mark Sapiro
-
Matt Smith
-
Troy Knabe