Great Circle Associates Majordomo-Users
(September 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Deleting a list
From: "Joe R. Jah" <jjah @ cloud . ccsf . cc . ca . us>
Date: Fri, 29 Sep 2000 15:23:51 -0700 (PDT)
To: mjn <mjn @ umn . edu>
Cc: Mike Thrift <webmaster @ allwellco . com>, majordomo-users @ GreatCircle . COM
In-reply-to: <Pine.SOL.4.20.0009291551330.19732-100000@garnet.tc.umn.edu>

On Fri, 29 Sep 2000, mjn wrote:

> Date: Fri, 29 Sep 2000 15:52:50 -0500 (CDT)
> From: mjn <mjn@umn.edu>
> To: Mike Thrift <webmaster@allwellco.com>
> Cc: majordomo-users@GreatCircle.COM
> Subject: Re: Deleting a list
> 
> > I am new to majordomo and have run into some problems after messing with
> > some files, I was wondering if anybody could let me know how I could
> > delete a list so I can start from scratch.
> > 
> 
> Delete all entries for the list in /etc/aliases
> rm /path/to/majordomo/lists/listname*

Dangerous!  What if he has the following lists:

	dud
	dudool
	dudoolidoo

If he executes the above command for the list 'dud' he would remove the
other lists too;(

A safer pair of commands would be:

rm /path/to/majordomo/lists/listname
rm -r /path/to/majordomo/lists/listname.*

The second command would take care of the default archives as well.

> That should do it.  You'll need to delete the appriate digest and archive
> files as well, if that is applicable.

The safest and most efficient way of doing it is to write a script to
remove the aliases and files and all, so every time you run the script,
all you need to do is give it a listname; the script does the rest;) 
Better yet, write a multipurpose script to create lists, remove lists,
rename list, etc.

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        jjah@cloud.ccsf.cc.ca.us




Follow-Ups:
References:
Indexed By Date Previous: Re: Deleting a list
From: mjn <mjn@umn.edu>
Next: Re: The future of Majordomo
From: Rich Kulawiec <rsk@magpage.com>
Indexed By Thread Previous: Re: Deleting a list
From: mjn <mjn@umn.edu>
Next: Re: Deleting a list -- scripts
From: Alvin Oga <alvin@planet.fef.com>

Google
 
Search Internet Search www.greatcircle.com