🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #924

Re: Using one config.h for multiple (same) boxes

#924
From: Kim F. Storm
Date: Thu, 20 Sep 1990 18:14
28 lines
1983 bytes
rosenblg@cmcl2.NYU.EDU (Gary J. Rosenblum) writes:

>Here's the scenario: I have an ultrix box that I use as the nntp server,
>and two others which are nntp clients.  In config.h I define NNTP; 
>however when reading news on the server, after choosing articles nn tries
>to connect via nntp to itself (and I get a failure message, since my default
>is no outside access).

I think Gary has got this running by now, but let me just clarify how
nn and nnmaster operates when they are running on the NNTP server host
itself (and thus have direct access to the spool directories etc).

To determine whether they are running on the nntp server, nn and nnmaster
will simply compare the host name in the nntp_server file with the
host name returned by gethostname, so to have them bypass NNTP, these
should be identical.

Now, if they for some reason are different, and you later modify them
to be identical, you will have problems accessing articles in the 
database since there is a little additional processing performed by nn
when accessing articles via NNTP because a few fields in the database
are not filled by nnmaster when it is running via NNTP.  So if the
nnmaster is switched from running via NNTP to a local feed, the
database must be rebuilt.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <673@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <46969@cmcl2.NYU.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <673@texas.dk>
Subject: Re: Using one config.h for multiple (same) boxes
Date: Thu, 20 Sep 1990 18:14:53 +0000
From: storm@texas.dk (Kim F. Storm)
References: <46969@cmcl2.NYU.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Keywords: nntp
Organization: Texas Instruments, Denmark
Lines: 28
Posted: Thu Sep 20 19:14:53 1990