Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!inco!mack From: mack@inco.UUCP (Dave Mack) Newsgroups: news.software.b Subject: Re: News software (was: Thoughts on the new-group creation process) Message-ID: <5683@inco.UUCP> Date: 12 Oct 89 17:28:24 GMT References: <5654@inco.UUCP> <457@hades.OZ> Reply-To: mack@inco.UUCP (Dave Mack) Organization: McDonnell Douglas Electronic Systems Co. McLean VA Lines: 56 In article <457@hades.OZ> greyham@hades.OZ (Greyham Stoney) writes: >in article <5654@inco.UUCP>, mack@inco.UUCP (Dave Mack) says: >> ......... There may be a couple of other exceptions as well, but in >> general, an article which has no valid newsgroups will be junked and >> not be sent to other sites. > >Oh.... yeah?. We run Bnews (I think) and man inews says (talking about >inews -p): > [quoting inews man page:] > If the article fails those checks, it is installed in news- > group junk on the local machine. In any event, inews will > ^^^^^^^^^^^^^^^^^^^^^^^^ > then transmit the article to all systems that match in the > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > sys file and are not mentioned in the Path: field of the > ^^^^^^^^ > just-posted message. The details of this transmission are > determined by the contents of the sys file. > > Hmmmm? > Greyham. Sorry, I didn't look at the man page. I read the code, which says, in part (inews.c/patchlevel17:insert()): ... is_invalid = ngfcheck(username, mode == PROC, header.approved[0] != '\0'); ... if (is_invalid) { logerr("%s: No valid newsgroups found, moved to junk", header.nbuf); if (localize("junk")) savehist(histline); exitcode = 1; goto writeout; } ... writeout: ... if(exitcode == 0) { ... broadcast(mode==PROC); ... } xxit((mode == PROC && filename[0] == '\0') ? 0 : (exitcode < 0 ? 0 : exitcode)); } All of this is ifndef NFSCLIENT, of course. -- Dave Mack McDonnell Douglas Electronic Systems uunet!inco!mack, inco%mack@uunet.uu.net (703)883-3911 All opinions expressed are my own and do not reflect those of MDESC. Ever.