Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

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

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

Print Reply
Subject:
Re: How to do mass subscription deletions
From:
Paul Russell <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Fri, 3 Apr 2009 11:46:08 -0400
Content-Type:
text/plain
Parts/Attachments:
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

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV