🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16921

Re: Newsserver with Leafnode

#16921
From: Christopher B. Browne
Date: Sat, 12 Apr 1997 00:00
38 lines
2182 bytes
On Mon, 07 Apr 1997 17:05:34 -0700, Bart Haezeleer <ping0621@ping.be> posted:
>Can anyone help me out to setup a newsserver for a small LAN
>with a slow (28k8 line to internet) ?
>
>How do I have to setup the selected groups ?

You need to have a file (leafnode searches for the name; all you need
do is "touch" it) in the directory /var/spool/news/interesting.groups
for each newsgroup that you want to load.

I've used the following shell script to do the job; note that I made
/var/spool/news/interesting.groups writable by user cbbrowne.  Your
milage may vary, insofar as you may want this to be:
a) Owned by root (not too likely though)
b) Owned by news (and probably run the script as root)
c) Owned by some other user and/or world writable.

Anyway, without further ado...
--- cut here ---
#!/bin/ksh
# $Id: fixgroups,v 1.2 1997/03/16 19:16:55 cbbrowne Exp $
# This checks through my .newsrc file, and makes sure that all newsgroups 
# in my .newsrc are put on the "interesting" list
cd /var/spool/news/interesting.groups
touch `grep : /home/cbbrowne/.newsrc | cut -d : -f 1 `
chmod a+w `grep : /home/cbbrowne/.newsrc | cut -d : -f 1 `
--- cut here ---

Hope this helps...
-- 
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
PGP Fingerprint: 10 5A 20 3C 39 5A D3 12  D9 54 26 22 FF 1F E9 16
URL: <http://www.conline.com/~cbbrowne/>
Linux: When one country worth of OS developers just isn't enough...


Technical Details
Message-ID: <slrn5ktj3s.5pd.cbbrowne@knuth.brownes.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <33498BCE.7713@ping.be>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5ktj3s.5pd.cbbrowne@knuth.brownes.org>
Subject: Re: Newsserver with Leafnode
Date: Sat, 12 Apr 1997 00:00:00 +0000
From: cbbrowne@news.brownes.org (Christopher B. Browne)
References: <33498BCE.7713@ping.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 235019026
Distribution: inet
Organization: Chris Browne's Apartment
Reply-To: cbbrowne@unicomp.net
Newsgroups: comp.os.linux.setup,comp.os.linux.misc,comp.os.networking,news.software.nntp