[Mailman-Users] Output to file all lists and associated member addresses

Bill Landry billl at inetmsg.com
Wed Sep 20 17:12:12 CEST 2006

----- Original Message ----- 
From: "Patrick Bogen" <pdbogen at gmail.com>

> On 9/20/06, Bill Landry <billl at inetmsg.com> wrote:
>> Thanks Patrick, that certainly gives me a listing of all of the member
>> e-mail address for every list, but does not associate them with the
>> particular list they apply to.  I was looking for an output like:
>> List-A
>> e-mail-1
>> e-mail-2
>> e-mail-3
> for i in `bin/list_lists -b`; do echo $i; bin/list_members $i; done

Thanks Patrick!  This worked perfectly:

for i in `bin/list_lists -b`; do echo $i >> master-list.txt; 
bin/list_members $i >> master-list.txt; echo >> master-list.txt; done


More information about the Mailman-Users mailing list