[Mailman-Users] number of subscribers

Mark Sapiro mark at msapiro.net
Mon Oct 4 22:57:11 CEST 2010


Con Wieland wrote:

>Does anybody already have a script to get the total number of  
>subscribers across all the lists on a system?


If you want the total number of unique addresses in all your lists, you
can get that with

  bin/find_member . | grep "found in:" | wc -l

If you want the sum over all lists of the number of members in each
list, you can do

(for l in `bin/list_lists --bare`; do bin/list_members $l; done)| wc -l

-- 
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