LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Måns Nilsson <[log in to unmask]>
Fri, 7 Apr 2006 22:32:05 +0200
text/plain (34 lines)
--On den 20 mars 2006 12.02.53 -0500 Tim Casten <[log in to unmask]> wrote:

> Hello LISTSERV,
> 
>       is there a command i can send to listserv that will return me
>       all the lists and current subscribers addresses.
> 
>       review * does not work
> 
>       or is there a command that will return every email address
>       subscribed to lists on the server.
> 
>       i really dont want to go thru typing the review command for
>       every list.

Get the list of lists: 

LISTS 

parse the result with awk or similar, and output a mail like so:

awk ' BEGIN {printf "\n//JOB PW=mysecret\n"};
{ print "review $1" }; # assuming listname is the first field
END { printf "//EOJ\n"}

or so; I'm offline so might be a fair bit off on the details, but the gist
of it should be right... 
-- 
Måns Nilsson                     Systems Specialist
+46 70 681 7204   cell                       KTHNOC
+46 8 790 6518  office                  MN1334-RIPE

Let me do my TRIBUTE to FISHNET STOCKINGS ...

ATOM RSS1 RSS2