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

Bill Landry billl at inetmsg.com
Wed Sep 20 16:35:02 CEST 2006


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

> On 9/20/06, Bill Landry <billl at inetmsg.com> wrote:
>> Is there a simple way to output to a file all lists with each lists
>> associated member addresses?  I know I can use:
>>
> snip
>>
>> for each list, but is there a way to do this in one fell swoop, without
>> having to run through each member list individually?
> You can do it with some simple shell scripting:
>
> for i in `bin/list_lists -b`; do bin/list_members $i; done

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

List-B
e-mail-4
e-mail-5
e-mail-6

List-C
e-mail-7
e-mail-8
e-mail-9

Bill 




More information about the Mailman-Users mailing list