🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Gary J. Rosenblum Thu, 19 Jul 1990 07:03
Using one config.h for multiple (same) boxes
#745
Author: Gary J. Rosenblum
Date: Thu, 19 Jul 1990 07:03
11 lines
1091 bytes
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).

Am I doing something obviously wrong?

Gary J. Rosenblum	
UNIX Systems Manager			rosenblg@nyu.edu
New York University			gary@nyu.edu
Re: Using one config.h for multiple (same) boxes
#924
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads