Thread View: news.software.nntp
5 messages
5 total messages
Started by Maurizio Codogno
Sat, 13 May 2000 00:00
HOW? Passing groups through
Author: Maurizio Codogno
Date: Sat, 13 May 2000 00:00
Date: Sat, 13 May 2000 00:00
14 lines
941 bytes
941 bytes
If I have an ancient (1.x) INN, and there are some groups I don't want to show to my users, but that should be forwarded to my peers, which is the most effective thing to do? Flag j in ~news/etc/active should accomplish it, but people can see the *name* of the group, even if there are no articles, and this is no good (needless to say, people who asked me this are concerned with porn groups :-) ) thanks and ciao, .mau.
Re: HOW? Passing groups through
Author: Andrew Gierth
Date: Sat, 13 May 2000 00:00
Date: Sat, 13 May 2000 00:00
21 lines
1610 bytes
1610 bytes
>>>>> "Maurizio" == Maurizio Codogno <mau@beatles.cselt.it> writes: Maurizio> If I have an ancient (1.x) INN, and there are some groups I Maurizio> don't want to show to my users, but that should be Maurizio> forwarded to my peers, which is the most effective thing to Maurizio> do? Maurizio> Flag j in ~news/etc/active should accomplish it, but people Maurizio> can see the *name* of the group, even if there are no Maurizio> articles, and this is no good compile with WANT_TRASH and feed the junk group to your peers? (and presumably forbid the junk group to your readers in nnrp.access) That doesn't allow you to be selective, but it does mean that any traffic you're sent in groups that you don't carry will be passed on. -- Andrew.
Junk group (Was Re: HOW? Passing groups through)
Author: Tim Pennick
Date: Mon, 15 May 2000 00:00
Date: Mon, 15 May 2000 00:00
34 lines
2354 bytes
2354 bytes
> From: Andrew Gierth <andrew@erlenstar.demon.co.uk> >>>>>> "Maurizio" == Maurizio Codogno <mau@beatles.cselt.it> writes: > > Maurizio> If I have an ancient (1.x) INN, and there are some groups I > Maurizio> don't want to show to my users, but that should be > Maurizio> forwarded to my peers, which is the most effective thing to > Maurizio> do? > > Maurizio> Flag j in ~news/etc/active should accomplish it, but people > Maurizio> can see the *name* of the group, even if there are no > Maurizio> articles, and this is no good > >compile with WANT_TRASH and feed the junk group to your peers? >(and presumably forbid the junk group to your readers in nnrp.access) I've been trying to find a way of doing this for ages as I want to pass on all the articles I don't carry on my live server (INN 2.1), to my test machine (INN 2.2.2) to test out filtering under load. Having read your response I thought I'd give it a go, but without success. I set "wanttrash" to true, and aded "junk" to the newsfeeds entry feeding my test server, but I'm not seeing any extra articles offered. (I ran "ctlinnd reload newsfeeds"). I'm not really clear on the use of "junk" as a newsgroup: In my newsfeeds file I have !junk in my "ME" entry. Is this cancelled out if I put "junk" in the entry for the machine I want to feed the trash groups to? Should the entry be "junk.*" rather than just "junk"? Is it sufficient to set wanttrash to true in inn.conf, or do I have to recompile? I still have "remembertrash set to true. Is this significant? Regards and thanks for help Tim Pennick
Re: HOW? Passing groups through
Author: Kjetil Torgrim Homme
Date: Mon, 15 May 2000 00:00
Date: Mon, 15 May 2000 00:00
12 lines
1042 bytes
1042 bytes
[Maurizio Codogno] > If I have an ancient (1.x) INN, and there are some groups I don't > want to show to my users, but that should be forwarded to my > peers, which is the most effective thing to do? !name.of.group in nnrp.access will do the trick, I think. Kjetil T.
Re: Junk group (Was Re: HOW? Passing groups through)
Author: Andrew Gierth
Date: Mon, 15 May 2000 00:00
Date: Mon, 15 May 2000 00:00
73 lines
3923 bytes
3923 bytes
>>>>> "Tim" == Tim Pennick <tpennick@axion.bt.co.uk> writes: Tim> I've been trying to find a way of doing this for ages as I want Tim> to pass on all the articles I don't carry on my live server (INN Tim> 2.1), to my test machine (INN 2.2.2) to test out filtering under Tim> load. Having read your response I thought I'd give it a go, but Tim> without success. Tim> I set "wanttrash" to true, and aded "junk" to the newsfeeds Tim> entry feeding my test server, but I'm not seeing any extra Tim> articles offered. (I ran "ctlinnd reload newsfeeds"). I'm not Tim> really clear on the use of "junk" as a newsgroup: In my Tim> newsfeeds file I have !junk in my "ME" entry. Is this cancelled Tim> out if I put "junk" in the entry for the machine I want to feed Tim> the trash groups to? Should the entry be "junk.*" rather than Tim> just "junk"? Is it sufficient to set wanttrash to true in Tim> inn.conf, or do I have to recompile? I still have Tim> "remembertrash set to true. Is this significant? To try and explain how it works: "junk" is a pseudo-newsgroup which is used for articles that don't match any newsgroup listed in the active file, or which match 'j' newsgroups. If wanttrash is false, then articles which match no group in active are rejected and not stored, so the junk group isn't used unless you have 'j' groups (or someone posts directly to it, in which case it behaves like a normal group). The junk group must always exist though (innd won't start if it is missing, and will crash if you somehow manage to remove it). If wanttrash is true, then articles which match no group in active are treated exactly as though they matched the junk group. They get logged with 'j' entries in the news log, so you can check that they're being accepted and what feeds they're being sent to by looking there. For INN 2.x you don't need to recompile to change this, for 1.x it's a compile-time flag. Despite the names, "wanttrash" and "remembertrash" have NOTHING to do with each other. The first should have been called "wantjunk" instead, IMO. As for newsfeeds entries: in newsfeeds, "junk" (named exactly that, no dots) is treated exactly the same as any other newsgroup. In most cases you don't want to feed it out, so it's common to see "*,!junk,!control*" as a default subscription. Note that "*" matches "junk". If you specify newsgroup patterns in the ME entry, then they behave simply as though they are prefixed to all the individual site entries. For example, if you have: ME:*,!junk,!control*:: siteA:!alt.*:... siteB:junk:... siteC:*:... then that is equivalent to: siteA:*,!junk,!control*,!alt.*:... siteB:*,!junk,!control*,junk:... siteC:*,!junk,!control*,*:... (which is exactly the same as siteC:*:...) When a newsgroup is matched against the site subscription, it's the last match that wins. So in this example siteB and siteC would get fed the junk group and siteA would not. -- Andrew.
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