🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18187

INN 1.5.1 bug (?) with WANT_TRASH and poison character

#18187
From: Anne Bennett
Date: Tue, 03 Jun 1997 00:00
77 lines
3681 bytes

I can't seem to make "newsfeeds" do the right thing, so either I'm
misunderstanding the syntax, or there's a bug in INN 1.5.1.  The
tricky part seems to be related to the fact that we have WANT_TRASH
set to DO, and we don't exclude junk in the ME line, since we want our
downstream sites to be fed independently of which groups we choose to
carry for local consumption; this seems to affect to use of newsgroup
exclusions.

A neighbouring site recently asked me to avoid feeding him his local
geographical newsgroups (call them "geog.*"), so I dutifully added
"!geog.*" to his feed line.  It seems that this did not cure the
problem, so I ran a couple of tests to find out what might be the
matter (after getting someone else to read my newsfeeds line to
eliminate the possibility of the problem being a typo).

Basically, I set up a file feed to collect information, and then
telnetted to my server's nntp port and manually fed it some articles
with IHAVE.  My two test articles were for the newsgroups
"alt.phooey.this.is.a.test" and "geog.general", neither of
which exists in my active file.  I wanted my test feed to get the
"alt" article anyway, but not the "geog" article, which I excluded
with the poison marker "@".

TEST 1
------

ME:*,!clari.*,!control*
test:!junk,@geog.*:Tf,WnsDgN:/news/log/TEST

(neither of my test articles as per test 2 below gets into the feed)

TEST 2
------

ME:*,!clari.*,!control*
test:@geog.*:Tf,WnsDgN:/news/log/TEST

path-in-spool sending-host          dist (1)  (2)
junk/40970600 localhost.concordia.ca can junk geog.general
junk/40970656 localhost.concordia.ca can junk alt.phooey.this.is.a.test

(1) "g": newsgroup article is in; if crossposted, first group this
    site gets.
(2) "N": value of the newsgroups header



So, in the first case, excluding "junk" seems to exclude all articles
for groups I don't carry; this is definitely not what I want.  I am
also a bit surprised, since I had assumed (without reading the code)
that articles would be fed out based on the contents of the Newsgroups
line, which clearly is not the case.

In the second case, I left "junk" in, and the "poison" entry had no
effect.  It is as though the newsgroups list held internally is being
trimmed to the subset of newsgroups which are carried locally, and only
this subset (possibly including "junk") can be used to control the
article's destination.  I did try to read the source, but it's rather
large so I decided to ask the knowledgeable folks here.

Am I correct in my assumption that the newsgroups list as held
internally is trimmed in this way?  If so, am I correct that this is
what is causing my difficulty in tuning my outgoing feed?  And
finally, is this a bug?  Can it reasonably be fixed, or it is so
intertwined with the design of the system that it can't be changed
easily?



Anne.
--
Ms. Anne Bennett          anne@alcor.concordia.ca            (514) 848-7606
Computing Services,   Concordia University,   Montreal QC,   Canada H3G 1M8

Technical Details
Message-ID: <5n1m5n$3d5$1@newsflash.concordia.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5n1m5n$3d5$1@newsflash.concordia.ca>
Subject: INN 1.5.1 bug (?) with WANT_TRASH and poison character
Date: Tue, 03 Jun 1997 00:00:00 +0000
From: anne@alcor.concordia.ca (Anne Bennett)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 245880668
Organization: Concordia University, Montreal, Canada
Reply-To: Anne Bennett <anne@alcor.concordia.ca>
NNTP-Posting-User: anne
Newsgroups: news.software.nntp