Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!lll-tis!mcb From: mcb@lll-tis.arpa (Michael C. Berch) Newsgroups: news.software.b Subject: Re: Setting up LIBDIR/sys Message-ID: <21623@lll-tis.arpa> Date: Wed, 29-Jul-87 16:01:48 EDT Article-I.D.: lll-tis.21623 Posted: Wed Jul 29 16:01:48 1987 Date-Received: Fri, 31-Jul-87 05:31:58 EDT References: <2717@psuvax1.psu.edu> Reply-To: mcb@lll-tis.arpa (Michael C. Berch) Organization: Lawrence Livermore National Laboratory, Livermore CA Lines: 40 Summary: Use "expire -a" instead In <2717@psuvax1.psu.edu> ehrlich@psuvax1.psu.edu.UUCP (Dan Ehrlich) writes: > I am trying to set up our sys file so that articles posted to certain > news groups are saved away for safe keeping. Many moons ago (August > 1982) Allan Watt posted a shell script (savesource) that could be used > to do this. Below are the entries in question from the sys file and > even though new articles have arrived for comp.sources.unix, nothing > was saved. I have checked the file protections on the directories, > etc, and they all seem to be correct. If anyone has any ideas I would > appreciate hearing from you. Thanks in advance. Rather than messing up the sys file, you might want to consider using "expire -a" to archive (instead of delete) articles in specific groups. We like to keep the sources and bugs groups indefinitely, too, and the nightly expire script includes the following: set archive="comp.sources.amiga,comp.sources.atari.st,comp.sources.bugs,comp.sources.games,comp.sources.mac,comp.sources.misc,comp.sources.unix,comp.bugs.4bsd.ucb-fixes" set EXPLOG=expire.log (time expire -a -e21 -v2 -n $archive) >>& $EXPLOG (time expire -e21 -v2) >>& $EXPLOG By default expire -a saves the articles in the usual tree format in the directory /usr/spool/oldnews. MUCH better than running a special "save" program every time an article comes in. I suppose it is trivially less "safe" than saving them when they're posted (e.g., something could happen to them during the 2-3 weeks that they're in the normal spool directory, but it's a LOT less hassle. But, if you don't run expire (:-) and insist on using the sys file lines in the quoted article, all you need to do is add "world" to the newsgroup/distribution field in the sys entry, e.g.: < BUGS4BSD:comp.bugs.4bsd::/usr/new/lib/news/savesource /usr/spool/news/savedir/comp/bugs/4bsd > BUGS4BSD:world,comp.bugs.4bsd::/usr/new/lib/news/savesource /usr/spool/news/savedir/comp/bugs/4bsd ----- Michael C. Berch News/mail admin - lll-tis systems ARPA: mcb@lll-tis.arpa UUCP: {ames,ihnp4,lll-crg,lll-lcc,mordor}!lll-tis!mcb