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:
|
|