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
Paul Russell <[log in to unmask]>
Fri, 3 Apr 2009 11:46:08 -0400
text/plain (40 lines)
On 4/3/2009 11:25, Stan Horwitz wrote:
> Hi everyone;
>
> I am working on a perl script that generates directives to delete hundreds
> of subscriptions at a time. I want to run this script each time we delete
> old email accounts. I have a list of subscriptions to delete from lists on
> the Listserv that I manage. My perl script parses this list from a text file
> on my Listserv server and it generates an output file with lines in the
> following format:
>
> Quiet del * addr pw=xxxxx
>
> This script then emails the file to [log in to unmask] from an
> address that is designated in go.user as a postmaster.
>
> This works, but I get lots of confirmation requests.
>
> What I want is a way to tell listserv to just delete the subscriptions from
> all the lists on my server regardless of how each list is configured and
> without issuing a confirmation request.
>
> Is this possible? If so, how do I do it?
>

OK BEGIN
quiet del * addr-1 pw=xxx
quiet del * addr-2 pw=xxx
...
quiet del * addr-n pw=xxx
OK END

This will result in a single command confirmation request for everything
between 'OK BEGIN' and 'OK END'.

--
Paul Russell, Senior Systems Administrator
OIT Messaging Services Team
University of Notre Dame
[log in to unmask]

ATOM RSS1 RSS2