Thread View: news.software.nntp
2 messages
2 total messages
Started by Anne Bennett
Tue, 03 Jun 1997 00:00
INN 1.5.1 bug (?) with WANT_TRASH and poison character
Author: Anne Bennett
Date: Tue, 03 Jun 1997 00:00
Date: Tue, 03 Jun 1997 00:00
77 lines
3681 bytes
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
Re: INN 1.5.1 bug (?) with WANT_TRASH and poison character
Author: Jeff Garzik
Date: Tue, 03 Jun 1997 00:00
Date: Tue, 03 Jun 1997 00:00
31 lines
1826 bytes
1826 bytes
Anne Bennett wrote: > 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. The problem, I believe, is that there is a different between a newsgroup's Newsgroup: header and where inn actually files it. If an article's newsgroups: are not in the active file, or there is an active file line with a "=" in the 4th field, then that article is filed somewhere other than its correct newsgroup (e.g. it's filed in /var/news/spool/articles/junk). When you try to feed that article somewhere, it is now considered part of "junk", since that's where it was filed. So in order to send that article you have to send all of junk. Just add the groups your feeds want (e.g. geog.*) to the active file, with the 'j' flag. -- Jeff Garzik News Administrator, Spinne, Inc. http://www.spinne.com/usenet/
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