Thread View: news.software.nntp
20 messages
20 total messages
Started by RFI Admin
Thu, 19 Aug 2004 18:55
suck/inn question
Author: RFI Admin
Date: Thu, 19 Aug 2004 18:55
Date: Thu, 19 Aug 2004 18:55
22 lines
1651 bytes
1651 bytes
I have innd running fine, and I just installed suck (fedora 1 platform). I can connect using get.news.inn and populate newgroups listed in sucknewsrc with articles. I can also connect to innd as a client and receive those articles. It is my understanding that suck can be triggered by innd to get articles from newsgroups when a remote user tries to connect to that particular newsgroup. Otherwise, no articles are maintained for that newsgroup by inn. How can newsgroups become populated with articles automatically? For instance, if a client requests alt.gambling how does alt.gambling get into sucknewsrc, and how does get.news.inn exceute? I really want this to be as automatic as possible. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
Re: suck/inn question
Author: bobyetman
Date: Thu, 19 Aug 2004 20:48
Date: Thu, 19 Aug 2004 20:48
27 lines
2516 bytes
2516 bytes
Suck out of the box can't do that. What suck can do is automatically get articles in your inn active list. If my memory serves me, someone wrote a couple of scripts to do what you want a while back, but I don't remember whom. What would have to happen is something would add the requested group to your active list, which suck would then pick up (see the -A option). > On Thu, 19 Aug 2004 11:55:31 -0700 "RFI Admin" <rfi@ruralfree.net> said: > I have innd running fine, and I just installed suck (fedora 1 platform). I > can connect using get.news.inn and populate newgroups listed in sucknewsrc > with articles. I can also connect to innd as a client and receive those > articles. > It is my understanding that suck can be triggered by innd to get articles > from newsgroups when a remote user tries to connect to that particular > newsgroup. Otherwise, no articles are maintained for that newsgroup by inn. > How can newsgroups become populated with articles automatically? For > instance, if a client requests alt.gambling how does alt.gambling get into > sucknewsrc, and how does get.news.inn exceute? > I really want this to be as automatic as possible. > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004 -- Bob Yetman(bobyetman@comcast.net)
Re: suck/inn question
Author: RFI Admin
Date: Thu, 19 Aug 2004 21:11
Date: Thu, 19 Aug 2004 21:11
21 lines
1373 bytes
1373 bytes
Thanks, I'm trying to find custom scripts now. At least I know what these programs are capable of now. I wish someone would document INN and suck better. >What would have > to happen is something would add the requested group to your active list, which suck > would then pick up (see the -A option). --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
Re: suck/inn question
Author: RFI Admin
Date: Thu, 19 Aug 2004 21:24
Date: Thu, 19 Aug 2004 21:24
18 lines
1545 bytes
1545 bytes
It appears that the custom script I need is mksucknewsrc, which is included as part of the MyNews script collection. Here is a description of those scripts: http://www.ragnet.demon.co.uk/mynews/news.html#ch-4 The scripts were specifically written for use with freebsd, but it is likely that they can be made to work with redhat products with minor path changes. I'll let you know how it works. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
Re: suck/inn question
Author: RFI Admin
Date: Thu, 19 Aug 2004 22:23
Date: Thu, 19 Aug 2004 22:23
16 lines
1385 bytes
1385 bytes
Nope! MyNews really does need freebsd. It would take a MAJOR overhaul to retrofit MyNews to redhat. I'm going to work on the sp4si script package: http://www.lamepage.de/linux/news/sp4si_en.html Hopefully this will do what I need. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004
Re: suck/inn question
Author: Frank Slootweg
Date: Fri, 20 Aug 2004 11:10
Date: Fri, 20 Aug 2004 11:10
52 lines
3354 bytes
3354 bytes
RFI Admin <rfi@ruralfree.net> wrote: > Nope! MyNews really does need freebsd. It would take a MAJOR overhaul to > retrofit MyNews to redhat. > > I'm going to work on the sp4si script package: > > http://www.lamepage.de/linux/news/sp4si_en.html > > Hopefully this will do what I need. AFAICT, these scripts still depend on the as-yet-unsucked group to be in some user's .newsrc file. If you intend to use this only for yourself (and any other *clueful* *local* (to the scripts) users), then it may work. But is you intend to use it for *general* use - i.e. also for non-clueful or/and non-local or/and non-.newsrc - users, then I can't see it possibly working. I.e. how do you access a remote (to the scripts) .newsrc file? How do you handle a newsreader which does not *use* a .newsrc file (i.e. Outlook Express)? How do you prevent a user from unsubscribing when he sees the group which he just subscribed to is empty? FWIW, at my ex-employer I made some scripts which *did* handle the general case. But these scripts a highly customized, (probably) low quality and not readily available (but I can still un-archive them if really 'needed'). Perhaps it is best to describe the *techniques* I used, so you can make your own scripts if you want: - I *had* 'all' groups (i.e. in active), but only sucked/fed a few of them. - All non-sucked/fed groups had a dummy article in them which said that this group was not carried, but that reading the article would trigger them to be carried (and gave the user a way out in case he didn't want the group after all). Getting these dummy articles to not 'escape' to the outside was the 'difficult' part. That was solved by putting a dummy name in the Path: and excluding that path in the newsfeeds entries. - Every so often a script ran which examined the news.notice logfile for unsucked-but-now-read groups and add those to sucknewsrc. The script also kept last-read timestamps for all the sucked groups. - Every so often another script ran which checked the last-read timestamps and removed any groups which were not read for X days from sucknewsrc. I hope this helps. Please feel free to ask any questions.
Re: suck/inn question
Author: ruud
Date: Fri, 20 Aug 2004 11:33
Date: Fri, 20 Aug 2004 11:33
15 lines
1722 bytes
1722 bytes
RFI Admin wrote: > > How can newsgroups become populated with articles automatically? For > instance, if a client requests alt.gambling how does alt.gambling get into > sucknewsrc, and how does get.news.inn exceute? I only see this on Dnews, with INN i use this script from cron every 5 minutes: http://www.nl-netwerken.com/linux/news_suck_en_post Just edit the newsserver you want to suck from and don't forget to check the path's. -- Gr. Ruud http://www.nl-netwerken.com
Re: suck/inn question
Author: Frank Slootweg
Date: Fri, 20 Aug 2004 12:14
Date: Fri, 20 Aug 2004 12:14
22 lines
1772 bytes
1772 bytes
ruud <ruud@localhost.invalid> wrote: > RFI Admin wrote: > > > > > How can newsgroups become populated with articles automatically? For > > instance, if a client requests alt.gambling how does alt.gambling get into > > sucknewsrc, and how does get.news.inn exceute? > > I only see this on Dnews, with INN i use this script from cron every 5 > minutes: > http://www.nl-netwerken.com/linux/news_suck_en_post > Just edit the newsserver you want to suck from and don't forget to check the > path's. That is just a customized version of get.news.inn, which the OP (said he) is already using. Note that the *real* question (which you quoted above) is: "how does alt.gambling get [*automatically*] into sucknewsrc?". > -- > Gr. Ruud > http://www.nl-netwerken.com
Re: suck/inn question
Author: ruud
Date: Fri, 20 Aug 2004 12:29
Date: Fri, 20 Aug 2004 12:29
16 lines
1751 bytes
1751 bytes
Frank Slootweg wrote: > Note that the *real* question (which you quoted above) is: "how does > alt.gambling get [*automatically*] into sucknewsrc?". Like this: suck news.nntp.com -bp -dd /etc/news/ -HF /var/lib/news/history -u -U username -P password -hl localhost -A -c After localhost, you put the -A parameter so a control newgroup message will automaticly added to the sucknewsrc file. -- Gr. Ruud http://www.nl-netwerken.com
Re: suck/inn question
Author: Frank Slootweg
Date: Fri, 20 Aug 2004 13:08
Date: Fri, 20 Aug 2004 13:08
27 lines
2285 bytes
2285 bytes
ruud <ruud@localhost.invalid> wrote:
> Frank Slootweg wrote:
>
> > Note that the *real* question (which you quoted above) is: "how does
> > alt.gambling get [*automatically*] into sucknewsrc?".
>
> Like this:
>
> suck news.nntp.com -bp -dd /etc/news/ -HF /var/lib/news/history -u -U
> username -P password -hl localhost -A -c
>
> After localhost, you put the -A parameter so a control newgroup message will
> automaticly added to the sucknewsrc file.
You still don't get it! The OP posted and you quoted, but apparently
did not read/understand:
OP> How can newsgroups become populated with articles automatically? For
OP> instance, if a client requests alt.gambling how does alt.gambling
OP> get into sucknewsrc, and how does get.news.inn exceute?
I.e. the group must be added when someone *subscribes* to it and
*tries* to *read* it ("a client requests ..."), *not* when a
non-existing group gets newgroup-ed. Even if you did not spot what
"client" means, later references, for example mine, but indirectly also
the OPs (to .newsrc files) make it very clear that "client" means
client *program*, i.e. newsreader, not person/'customer'.
Re: suck/inn question
Author: RFI Admin
Date: Fri, 20 Aug 2004 15:28
Date: Fri, 20 Aug 2004 15:28
18 lines
1881 bytes
1881 bytes
What I need is an INN/Suck/(or whatever) solution that gives the appearance that it is a fully operating news server, when it simply relays news feeds from a news server. This should be possible without storing articles from unused newsgroups (or perhaps without storing any articles) and without consuming outrageous amounts of bandwidth through heavy peering. There really seems to be a need for something like this. Peering news server are so rediculously resource intensive. An efficient suck-like interface would really streamline the newsgroup industry. In this day & age I'm surprised that efficiency isn't a priority. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 8/19/2004
Re: suck/inn question
Author: Frank Slootweg
Date: Fri, 20 Aug 2004 17:01
Date: Fri, 20 Aug 2004 17:01
15 lines
2120 bytes
2120 bytes
RFI Admin <rfi@ruralfree.net> wrote: > What I need is an INN/Suck/(or whatever) solution that gives the appearance > that it is a fully operating news server, when it simply relays news feeds > from a news server. This should be possible without storing articles from > unused newsgroups (or perhaps without storing any articles) and without > consuming outrageous amounts of bandwidth through heavy peering. > > There really seems to be a need for something like this. Peering news server > are so rediculously resource intensive. An efficient suck-like interface > would really streamline the newsgroup industry. In this day & age I'm > surprised that efficiency isn't a priority. While I have no experience with *that* piece of software, it looks like you are describing "nntpcache" (or some very similar name). Perhaps you should Google for that term or/and others can give pointers.
Re: suck/inn question
Author: Jeffrey M. Vinocur
Date: Fri, 20 Aug 2004 17:51
Date: Fri, 20 Aug 2004 17:51
25 lines
2300 bytes
2300 bytes
In article <41262e60$0$42413$18b6e80@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> wrote: >RFI Admin <rfi@ruralfree.net> wrote: >> What I need is an INN/Suck/(or whatever) solution that gives the appearance >> that it is a fully operating news server, when it simply relays news feeds >> from a news server. This should be possible without storing articles from >> unused newsgroups (or perhaps without storing any articles) and without >> consuming outrageous amounts of bandwidth through heavy peering. >> >> There really seems to be a need for something like this. Peering news server >> are so rediculously resource intensive. An efficient suck-like interface >> would really streamline the newsgroup industry. In this day & age I'm >> surprised that efficiency isn't a priority. > > While I have no experience with *that* piece of software, it looks >like you are describing "nntpcache" (or some very similar name). Perhaps >you should Google for that term or/and others can give pointers. Actually, "leafnode" sounds exactly like what the OP was requesting... -- Jeffrey M. Vinocur jeff@litech.org
Re: suck/inn question
Author: Frank Slootweg
Date: Fri, 20 Aug 2004 19:30
Date: Fri, 20 Aug 2004 19:30
31 lines
2829 bytes
2829 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: > In article <41262e60$0$42413$18b6e80@news.wanadoo.nl>, > Frank Slootweg <this@ddress.is.invalid> wrote: > >RFI Admin <rfi@ruralfree.net> wrote: > >> What I need is an INN/Suck/(or whatever) solution that gives the appearance > >> that it is a fully operating news server, when it simply relays news feeds > >> from a news server. This should be possible without storing articles from > >> unused newsgroups (or perhaps without storing any articles) and without > >> consuming outrageous amounts of bandwidth through heavy peering. > >> > >> There really seems to be a need for something like this. Peering news server > >> are so rediculously resource intensive. An efficient suck-like interface > >> would really streamline the newsgroup industry. In this day & age I'm > >> surprised that efficiency isn't a priority. > > > > While I have no experience with *that* piece of software, it looks > >like you are describing "nntpcache" (or some very similar name). Perhaps > >you should Google for that term or/and others can give pointers. > > Actually, "leafnode" sounds exactly like what the OP was > requesting... But does leafnode have a *automatic*, *dynamic*, suck mechanism, i.e. that a group is *automatically* sucked when one *enters* it (where "it" is a currently unsucked and probably empty group (or at least a group with no new articles)) and *automatically* stops sucking when a group is not read for X days? I doubt it. AFAIK, leafnode is more like Hamster (on Windows) and, AFAIK, does not have this functionality. That is why, at the time, I created my scripts to add this functionaly to INN+suck.
Re: suck/inn question
Author: Maurice Janssen
Date: Fri, 20 Aug 2004 20:07
Date: Fri, 20 Aug 2004 20:07
24 lines
2356 bytes
2356 bytes
Frank Slootweg wrote: > But does leafnode have a *automatic*, *dynamic*, suck mechanism, i.e. >that a group is *automatically* sucked when one *enters* it (where "it" >is a currently unsucked and probably empty group (or at least a group >with no new articles)) and *automatically* stops sucking when a group is >not read for X days? I doubt it. AFAIK, leafnode is more like Hamster >(on Windows) and, AFAIK, does not have this functionality. Google -> fill in 'leafnode' -> I'm feeling lucky -> halfway down the first page: ============ quote ============ Only groups that someone has been reading in the past week are fetched from the upstream NNTP server. When someone stops reading a group, fetch will stop reading that group a week later, and when someone starts reading a group, fetch will grab all the articles it can in that group the next time it runs. This means that you only store articles from those newsgroups you are really interested in. ========= end quote =========== That wasn't too hard, was it? -- Maurice mauricej (at) xs4all (dot) nl
Re: suck/inn question
Author: Jeffrey M. Vinocur
Date: Fri, 20 Aug 2004 22:35
Date: Fri, 20 Aug 2004 22:35
20 lines
1868 bytes
1868 bytes
In article <41265150$0$42413$18b6e80@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> wrote: >Jeffrey M. Vinocur <jeff@litech.org> wrote: > >> Actually, "leafnode" sounds exactly like what the OP was >> requesting... > > But does leafnode have a *automatic*, *dynamic*, suck mechanism, i.e. >that a group is *automatically* sucked when one *enters* it (where "it" >is a currently unsucked and probably empty group (or at least a group >with no new articles)) and *automatically* stops sucking when a group is >not read for X days? I doubt it. Err, I promise I wouldn't have said "exactly" if I didn't mean it. Really. Go check out leafnode. -- Jeffrey M. Vinocur jeff@litech.org
Re: suck/inn question
Author: RFI Admin
Date: Sat, 21 Aug 2004 00:06
Date: Sat, 21 Aug 2004 00:06
25 lines
2105 bytes
2105 bytes
>it looks > like you are describing "nntpcache" (or some very similar name). Perhaps > you should Google for that term or/and others can give pointers. I spent a good part of the afternoon on nntpcache. It doesn't appear that this software has been maintained for about 2 years. They seemed to have run into a problem with the compile that they were never able to fix (problem with newer gcc compilers). I get it to compile and install but the process dies immediately after starting, giving a particular error. There are some theories out there, but none offer a workable solution. At this point I don't hold-out a lot of hope that I'm going to get nntpcache operational on a contemporary Linux installation. I didn't really want to go with leafnode because it isn't recommended for a large subscribership and it doesn't look like it supports pam authentication. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 8/19/2004
Re: suck/inn question
Author: Jeffrey M. Vinocur
Date: Sat, 21 Aug 2004 01:16
Date: Sat, 21 Aug 2004 01:16
15 lines
1608 bytes
1608 bytes
In article <2onhvcFcptvvU1@uni-berlin.de>, RFI Admin <rfi@ruralfree.net> wrote: > >At this point I don't hold-out a lot of hope that I'm going to get nntpcache >operational on a contemporary Linux installation. If you look on http://www.newsreaders.com/unix/servers.html, there are a couple of options for caching servers. I don't know much about the differences between them. Perhaps that will help. -- Jeffrey M. Vinocur jeff@litech.org
Re: suck/inn question
Author: Frank Slootweg
Date: Sat, 21 Aug 2004 08:26
Date: Sat, 21 Aug 2004 08:26
24 lines
2343 bytes
2343 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: > In article <41265150$0$42413$18b6e80@news.wanadoo.nl>, > Frank Slootweg <this@ddress.is.invalid> wrote: > >Jeffrey M. Vinocur <jeff@litech.org> wrote: > > > >> Actually, "leafnode" sounds exactly like what the OP was > >> requesting... > > > > But does leafnode have a *automatic*, *dynamic*, suck mechanism, i.e. > >that a group is *automatically* sucked when one *enters* it (where "it" > >is a currently unsucked and probably empty group (or at least a group > >with no new articles)) and *automatically* stops sucking when a group is > >not read for X days? I doubt it. > > Err, I promise I wouldn't have said "exactly" if I didn't mean > it. Really. Go check out leafnode. I 'read' a small level of uncertainty in your wording. Of course not in your knowledge of leafnode, but whether leafnode would fit the OP's needs. Hence my response with *my* interpretation of the OP's needs (and my doubts about leafnode). But I stand corrected, by both you and Maurice, on what leafnode can do.
Re: suck/inn question
Author: Frank Slootweg
Date: Sat, 21 Aug 2004 08:26
Date: Sat, 21 Aug 2004 08:26
36 lines
2957 bytes
2957 bytes
Maurice Janssen <this@is.invalid> wrote: > Frank Slootweg wrote: > > But does leafnode have a *automatic*, *dynamic*, suck mechanism, i.e. > >that a group is *automatically* sucked when one *enters* it (where "it" > >is a currently unsucked and probably empty group (or at least a group > >with no new articles)) and *automatically* stops sucking when a group is > >not read for X days? I doubt it. AFAIK, leafnode is more like Hamster > >(on Windows) and, AFAIK, does not have this functionality. > > Google -> fill in 'leafnode' -> I'm feeling lucky -> halfway down the > first page: > > ============ quote ============ > Only groups that someone has been reading in the past week are fetched > from the upstream NNTP server. When someone stops reading a group, fetch > will stop reading that group a week later, and when someone starts > reading a group, fetch will grab all the articles it can in that group > the next time it runs. This means that you only store articles from > those newsgroups you are really interested in. > ========= end quote =========== Thanks for the info. I learned something which I didn't know. Which is good. Which is not so good is: > That wasn't too hard, was it? No offense, but exactly which part of my question (mark) didn't you understand? I asked a question. Isn't that what Usenet is about? And no, I didn't do any research for the simple reason that I was not the one with the problem/original_question. I don't feel oblidged to research everything which is said on Usenet, 'even' not when it is said by Jeffrey. So I think you should just have posted the quote and the URL to it.
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