Thread View: news.software.nntp
25 messages
25 total messages
Started by Dirk Groeneveld
Thu, 01 Feb 2001 20:01
"pulling" news
Author: Dirk Groeneveld
Date: Thu, 01 Feb 2001 20:01
Date: Thu, 01 Feb 2001 20:01
10 lines
1141 bytes
1141 bytes
Hi! I want to have a group on my server that is not being fed to it. I know about tools like suck, but I have got an anicent 2.0 inn and don't know which tools work with it. I also don't know what distinguishes one tool form another, which one is best, and which one is (was) shipped with inn 2.0. Thanks for your help, Dirk
Re: "pulling" news
Author: Pulmonary Meowbot
Date: Fri, 02 Feb 2001 03:14
Date: Fri, 02 Feb 2001 03:14
28 lines
2111 bytes
2111 bytes
Dirk Groeneveld <dirk.groeneveld@gmx.de> wrote: > Hi! > I want to have a group on my server that is not being fed to it. > I know about tools like suck, but I have got an anicent 2.0 inn and don't > know which tools work with it. 2.0 isn't _that_ ancient. The suckazoid programs have options to work with the various versions of news, and they can speak nntp to your machine if need be. > I also don't know what distinguishes one tool form another, It is mostly the interface that differs. They all seem to have way too many features. > which one is best, Either newsx or suck should take care of you well. Which is better really comes down to personal preferences. (newsx is a bit more automated and easier to set up, while suck is a bit more malleable if you want to play with goofy custom things.) > and which one is (was) shipped with inn 2.0. IIRC 2.0 only came with nntpget, which requires newnews and therefore often cannot be used.
Re: "pulling" news
Author: Terrance Richard Boyes
Date: Sun, 04 Feb 2001 18:40
Date: Sun, 04 Feb 2001 18:40
31 lines
2712 bytes
2712 bytes
Dirk Groeneveld <dirk.groeneveld@gmx.de> wrote: > Pulmonary Meowbot wrote: >> Dirk Groeneveld <dirk.groeneveld@gmx.de> wrote: >> > I want to have a group on my server that is not being fed to it. >> > I know about tools like suck, but I have got an anicent 2.0 inn and >> > don't know which tools work with it. >> Either newsx or suck should take care of you well. Which is better >> really comes down to personal preferences. (newsx is a bit more >> automated and easier to set up, while suck is a bit more malleable if >> you want to play with goofy custom things.) > OK, I'm using suck now and am pretty troubled with it. My sucknewsrc looks > like this: > z-netz.netzwerke.allgemein -1 > news.software.nntp -1 > # baynet.test -1 Change the -1 to 0. > He doesn't even try do download something, does he? > How do I make it work? I read the manpages, didn't help... Try looking at the samples. -- <URL:http://www.pierrot.co.uk/> Team AMIGA Action is character, right? What a person *does is what he is, not what he says. - Syd Field
Re: "pulling" news
Author: Dirk Groeneveld
Date: Sun, 04 Feb 2001 18:54
Date: Sun, 04 Feb 2001 18:54
41 lines
2309 bytes
2309 bytes
Pulmonary Meowbot wrote: > Dirk Groeneveld <dirk.groeneveld@gmx.de> wrote: > > I want to have a group on my server that is not being fed to it. > > I know about tools like suck, but I have got an anicent 2.0 inn and > > don't know which tools work with it. > Either newsx or suck should take care of you well. Which is better > really comes down to personal preferences. (newsx is a bit more > automated and easier to set up, while suck is a bit more malleable if > you want to play with goofy custom things.) OK, I'm using suck now and am pretty troubled with it. My sucknewsrc looks like this: z-netz.netzwerke.allgemein -1 news.software.nntp -1 # baynet.test -1 My command is this one: suck news.cs.tu-berlin.de And the result is this: Official host name: news.cs.tu-berlin.de Address: 130.149.17.10 Connected to news.cs.tu-berlin.de 201 cs.tu-berlin.de InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (no posting). 201 cs.tu-berlin.de InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (no posting). Skipping Line: # baynet.test -1 0 Messages to download, 0 dupes removed Total Messages to Download: 0 No articles. Closed connection to news.cs.tu-berlin.de He doesn't even try do download something, does he? How do I make it work? I read the manpages, didn't help... Dirk
Re: "pulling" news
Author: Frank Slootweg
Date: Mon, 05 Feb 2001 10:34
Date: Mon, 05 Feb 2001 10:34
57 lines
3126 bytes
3126 bytes
Terrance Richard Boyes <tez@pierrot.co.uk> wrote:
[deleted]
> Try looking at the samples.
I think that Terrance means "Look at the examples in the suck 'sample'
directory.".
More specifically, look at the sample/get.news.innxmit example.
Despite it's name, this script does *not* use innxmit, but rpost(1) (but
it *is* for INN).
Looking at your log, I think the "(no posting)" response from INN
might be a problem.
Anyway, here is a normal log:
Attempting to connect to news.cup.hp.com
Using Port 119
Official host name: web1.cup.hp.com
Alias news.cup.hp.com
Address: 15.75.208.49
Connected to web1.cup.hp.com
200 news.cup.hp.com InterNetNews server INN 1.7.2 08-Dec-1997 ready
200 news.cup.hp.com InterNetNews NNRP server INN 1.7.2 08-Dec-1997 ready (posting ok).
comp.mail.mutt - 5 articles 4763-4767
comp.emulators.ms-windows.wine - 22 articles 16038-16059
alt.usenet.offline-reader - 1 articles 39872-39872
comp.os.msdos.apps - 1 articles 3122-3122
comp.os.msdos.misc - 6 articles 11635-11640
rec.travel.australia+nz - 22 articles 18861-18882
comp.mail.misc - 8 articles 10250-10257
comp.mail.sendmail - 47 articles 48620-48666
comp.os.linux.advocacy - 201 articles 166511-166711
comp.security.firewalls - 25 articles 55938-55962
comp.unix.programmer - 2 articles 29405-29406
fr.comp.applications.emacs - 2 articles 349-350
comp.os.linux.setup - 71 articles 122457-122527
comp.os.linux.x - 42 articles 40752-40793
Elapsed Time = 0 mins 16.31 seconds
455 Articles to download
Deduping Elapsed Time = 0 mins 0.01 seconds
Deduped, 452 items remaining, 3 dupes removed.
Processing History Database Elapsed Time = 0 mins 0.03 seconds
Processed history, 0 dupes removed
Total articles to download: 452
451 0.0 BPS 450 1954.1 BPS 449 2918.5 BPS
[...]
0 2390.5 BPS
971953 Bytes received in 6 mins 46.05 secs, BPS = 2393.7
Closed connection to news.cup.hp.com
Posting Messages to localhost
452 Messages Posted
Elapsed Time = 1 mins 32.19 seconds
Cleaning up after myself
Downloaded Articles
You can hang up the modem now
Re: "pulling" news
Author: Noal McDonald
Date: Wed, 07 Feb 2001 18:56
Date: Wed, 07 Feb 2001 18:56
25 lines
2094 bytes
2094 bytes
tez@pierrot.co.uk (Terrance Richard Boyes) wrote: > Can not open /usr/news/db/history, Skipping Did you check to make sure that /usr/news is a link to ~news? I ran into that problem and found it was an easy fix. I'm a newbie mucking my way through trying to get Suck and INN to work toegether and I keep running into problem after problem as well. If someone had a step by step "how to" on setting up a simple configuration of a news server usnign INN and Suck that didn't constantly refer you to other documentation, it would be a tremendous help. Sendmail is a piece of cake in comparison. Noal McDonald -- "I was probably pretty young, when I realised that I had come from what you might call a family, a clan, a race, maybe even a species, of pure sons of bitches." --Faulkner, "The Mansion" Sent via Deja.com http://www.deja.com/
Suck & documentation (was Re: "pulling" news)
Author: bobyetman
Date: Wed, 07 Feb 2001 20:55
Date: Wed, 07 Feb 2001 20:55
20 lines
2058 bytes
2058 bytes
Hi there; I'm the maintainer of suck. In my 5+ years experience with suck. most of the problems setting up suck are due to generic INN problems. Suck is just another news reader, as far as Inn is concerned. That being said, I realize that there is no step by step guide for Inn & Suck. Suck is used with other NNTP servers besides Inn, and I don't have the time to write/maintain docs for all the various NNTP servers. I've asked multiple times for someone who knows Inn well to write such a beast, but no volunteers. Off the suck home page & FAQ, (http://members.home.com/bobyetman/index.html), there are a few pointers to the most obvious problems I've seen. The biggest problem seems to be getting the newsfeed config file right. Any volunteers for writing a Inn/Suck tutorial? -- bobyetman@home.com (Robert A. Yetman)
Re: Suck & documentation (was Re: "pulling" news)
Author: Thierry Thomas
Date: Wed, 07 Feb 2001 21:56
Date: Wed, 07 Feb 2001 21:56
11 lines
1762 bytes
1762 bytes
On 07 Feb 2001 20:55:54 GMT, bobyetman@juryrig.home.com <bobyetman@juryrig.home.com> wrote: > > Any volunteers for writing a Inn/Suck tutorial? There is a very good one in french, at: <URL:http://www.linux-france.org/article/usenet/jaco/>. -- Th. Thomas, ICQ�: 8823153 Il y a s�rement des pays qui valent le coup. [MS]
Re: Suck & documentation (was Re: "pulling" news)
Author: Marco d'Itri
Date: Wed, 07 Feb 2001 23:00
Date: Wed, 07 Feb 2001 23:00
15 lines
1758 bytes
1758 bytes
bobyetman@juryrig.home.com wrote: > That being said, I realize that there is no step by step guide >for Inn & Suck. There is mine, but it's written in italian, and it should be updated: http://www.linux.it/~md/inn+suck-HOWTO.gz (You should make rnews batching the default injection method for INN, innxmit will not work with newer INN releases.) -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: Suck & documentation (was Re: "pulling" news)
Author: Noal McDonald
Date: Thu, 08 Feb 2001 04:23
Date: Thu, 08 Feb 2001 04:23
34 lines
2485 bytes
2485 bytes
>> <bobyetman@juryrig.home.com> wrote: >> Any volunteers for writing a Inn/Suck tutorial? > thierry@thomas.as wrote: > There is a very good one in french, at: > <URL:http://www.linux-france.org/article/usenet/jaco/>. Thank you for your suggestion. I ran it through babelfish to get an English version and, though the translation wasn't perfect, it appears to be fairly readable. I tried to run Marco's tutorial written in Italian through it, but for some reason it came out very garbled. There does seem to be a fair amount of documentation out there. It's just trying to piece it all together has been quite a chore. If I had the time to put it all on one web site in a single cohesive form, I might have the inclination to do so. Since this is for the company I work for, I'm probably going to have to document the entire installation and configuration process anyway. Anyway, thanks for the pointers. Regards, Noal McDonald -- "I was probably pretty young, when I realised that I had come from what you might call a family, a clan, a race, maybe even a species, of pure sons of bitches." --Faulkner, "The Mansion" Sent via Deja.com http://www.deja.com/
Re: Suck & documentation (was Re: "pulling" news)
Author: Frank Slootweg
Date: Thu, 08 Feb 2001 08:26
Date: Thu, 08 Feb 2001 08:26
21 lines
2154 bytes
2154 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: > bobyetman@juryrig.home.com wrote: [deleted] > (You should make rnews batching the default injection method for INN, > innxmit will not work with newer INN releases.) I think you mean rpost, not rnews. rnews and innxmit are 'opposites', i.e. receiving and transmitting. rpost and innxmit are both transmitting. Assuming rpost. Isn't that the case already? At least it was in suck 3.9.2. The sample script is *called* get.news.innxmit, i.e. it implies that it uses innxmit(8), but in reality it uses rpost(1). innxmit will not work with any INN release, or any News server for that matter, if you do not have permission for a real feed to that server, which, in the suck case, you normally do not have. Or do you mean that the newer INN storage methods give a 'storage token' instead of a path/file name and rpost(1) doesn't like that?
Re: Suck & documentation (was Re: "pulling" news)
Author: Andrew Gierth
Date: Thu, 08 Feb 2001 13:58
Date: Thu, 08 Feb 2001 13:58
38 lines
3066 bytes
3066 bytes
>>>>> "Frank" == Frank Slootweg <franks@neth.hp.com> writes: > Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: >> bobyetman@juryrig.home.com wrote: >> (You should make rnews batching the default injection method for INN, >> innxmit will not work with newer INN releases.) Frank> I think you mean rpost, not rnews. rnews and innxmit are Frank> 'opposites', no. Both rnews and innxmit actually do the same thing, which is to take articles and feed them into a server via NNTP. rnews expects either single articles or batch files with '#! rnews <length>' lines, whereas innxmit originally expected a list of spool filenames with one article in each file. The only other difference is that rnews defaults to feeding the local server (but can feed a remote one if necessary), and doesn't support streaming, whereas innxmit expects to feed a remote server and will attempt streaming unless told not to. But with the replacement of the traditional spool by a 'tradspool' storage method that nevertheless uses storage tokens rather than filenames to identify articles, innxmit's ability to take a list of arbitrary article files as input got lost along the wayside. Frank> innxmit will not work with any INN release, or any News Frank> server for that matter, if you do not have permission for a Frank> real feed to that server, which, in the suck case, you Frank> normally do not have. you misunderstand what suck uses innxmit for - it uses it to feed the incoming articles into the _local_ server, not to feed outgoing articles. -- Andrew.
Re: Suck & documentation (was Re: "pulling" news)
Author: Marco d'Itri
Date: Thu, 08 Feb 2001 14:08
Date: Thu, 08 Feb 2001 14:08
19 lines
2095 bytes
2095 bytes
franks@neth.hp.com wrote: >> (You should make rnews batching the default injection method for INN, >> innxmit will not work with newer INN releases.) > I think you mean rpost, not rnews. rnews and innxmit are 'opposites', No, I really mean rnews and I know what I'm talking about. The new innxmit does not understand plain file names anymore, so it can't be used to locally inject the articles downloaded by suck. > Or do you mean that the newer INN storage methods give a 'storage >token' instead of a path/file name and rpost(1) doesn't like that? This is a different problem which has to be solved with sm and an external script. -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: Suck & documentation (was Re: "pulling" news)
Author: Eric
Date: Thu, 08 Feb 2001 19:08
Date: Thu, 08 Feb 2001 19:08
23 lines
1695 bytes
1695 bytes
bobyetman@juryrig.home.com, in bericht <m2n1bymcup.fsf_-_@juryrig.home.com> schreef je toch echt: > > Hi there; > > I'm the maintainer of suck. Could you pleasepleaseplease update the information of your homepage on http://freshmeat.net ? On the German public news server belonging to 'newsportal' and a Dutch Linux-newsgroup I had to point people to your new home page, the last weeks. People in need of your prog can't find it, and people allready using it start thinking the days of suck are over... Not yet! :-) -- Eric
Re: Suck & documentation (was Re: "pulling" news)
Author: Eric
Date: Thu, 08 Feb 2001 19:13
Date: Thu, 08 Feb 2001 19:13
12 lines
1538 bytes
1538 bytes
Noal McDonald <dharzhak@my-deja.com>, in bericht <95t6vb$rfq$1@nnrp1.deja.com> schreef je toch echt: > Since this is for the company I work for, I'm probably going to have to > document the entire installation and configuration process anyway. <pssst!> Sounds like a promise, doesn't it, guys!? </pssst!> -- Eric
Re: Suck & documentation (was Re: "pulling" news)
Author: Russ Allbery
Date: Thu, 08 Feb 2001 20:13
Date: Thu, 08 Feb 2001 20:13
13 lines
1911 bytes
1911 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: > But with the replacement of the traditional spool by a 'tradspool' > storage method that nevertheless uses storage tokens rather than > filenames to identify articles, innxmit's ability to take a list of > arbitrary article files as input got lost along the wayside. It'll be back, but yeah, there are several released versions of INN that don't have this capability. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Suck & documentation (was Re: "pulling" news)
Author: bobyetman
Date: Thu, 08 Feb 2001 21:36
Date: Thu, 08 Feb 2001 21:36
12 lines
1828 bytes
1828 bytes
Actually, the default in suck (has been for some time) is an internal posting routine which uses the "IHAVE" command to post articles downloaded from the remote machine to the local machine. To post articles back up from the local to the remote, there's rpost, which uses "POST" to post em back. The filter program to rpost uses the "sm" command to translate from the storage token to the real article for Inn. -- bobyetman@home.com (Robert A. Yetman)
Re: Suck & documentation (was Re: "pulling" news)
Author: Frank Slootweg
Date: Fri, 09 Feb 2001 10:52
Date: Fri, 09 Feb 2001 10:52
58 lines
4176 bytes
4176 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
>>>>>> "Frank" == Frank Slootweg <franks@neth.hp.com> writes:
>
> > Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote:
> >> bobyetman@juryrig.home.com wrote:
> >> (You should make rnews batching the default injection method for INN,
> >> innxmit will not work with newer INN releases.)
>
> Frank> I think you mean rpost, not rnews. rnews and innxmit are
> Frank> 'opposites',
>
> no.
No offense, but what do you think the "r" (in "rnews") and "xmit"
stand for? Even the manpages agree with me! :-) But read on.
> Both rnews and innxmit actually do the same thing, which is to take
> articles and feed them into a server via NNTP. rnews expects either
> single articles or batch files with '#! rnews <length>' lines, whereas
> innxmit originally expected a list of spool filenames with one article
> in each file. The only other difference is that rnews defaults to
> feeding the local server (but can feed a remote one if necessary), and
> doesn't support streaming, whereas innxmit expects to feed a remote
> server and will attempt streaming unless told not to.
Yes, that it exactly what I meant, rnews (effectively) receives
(inputs) articles from another server and innxmit sends (outputs)
articles to another server, hence my term 'opposites'. If Marco would
have said "make batches *for* rnews", or something similar, then both
would have been send (output) methods.
Marco has explained what he meant, but, as Robert, the author of suck,
explained, Marco's point about innxmit is moot because (by default) suck
does not use innxmit but uses IHAVE.
> But with the replacement of the traditional spool by a 'tradspool'
> storage method that nevertheless uses storage tokens rather than
> filenames to identify articles, innxmit's ability to take a list of
> arbitrary article files as input got lost along the wayside.
>
> Frank> innxmit will not work with any INN release, or any News
> Frank> server for that matter, if you do not have permission for a
> Frank> real feed to that server, which, in the suck case, you
> Frank> normally do not have.
>
> you misunderstand what suck uses innxmit for - it uses it to feed the
> incoming articles into the _local_ server, not to feed outgoing
> articles.
No, I don't. You do. See above. suck(1) *can* use innxmit ("-bi"
option), but by default does not. The get.news.innxmit sample I
mentioned uses the "-bp" option which (the manual page specifically
says) uses IHAVE.
FWIW, I use suck *and* innxmit (nntpsend) on a daily basis and
sometimes use rnews and rpost, so yes, I know what I am talking about.
:-)
Re: Suck & documentation (was Re: "pulling" news)
Author: Andrew Gierth
Date: Fri, 09 Feb 2001 12:29
Date: Fri, 09 Feb 2001 12:29
65 lines
4364 bytes
4364 bytes
>>>>> "Frank" == Frank Slootweg <franks@neth.hp.com> writes:
>> Both rnews and innxmit actually do the same thing, which is to
>> take articles and feed them into a server via NNTP. rnews expects
>> either single articles or batch files with '#! rnews <length>'
>> lines, whereas innxmit originally expected a list of spool
>> filenames with one article in each file. The only other difference
>> is that rnews defaults to feeding the local server (but can feed a
>> remote one if necessary), and doesn't support streaming, whereas
>> innxmit expects to feed a remote server and will attempt streaming
>> unless told not to.
Frank> Yes, that it exactly what I meant, rnews (effectively)
Frank> receives (inputs) articles from another server
it does no such thing. rnews has no functionality to receive articles,
other than from files which are already present on the local machine.
The difference between the two is merely a matter of usage convention
rather than difference in functionality.
Frank> and innxmit sends (outputs) articles to another server, hence
Frank> my term 'opposites'.
which is nonsense - unless you've redefined "opposites" to mean "the
same thing".
Frank> If Marco would have said "make batches *for* rnews", or
Frank> something similar, then both would have been send (output)
Frank> methods.
you are still completely misunderstanding Marco's point
>> you misunderstand what suck uses innxmit for - it uses it to feed
>> the incoming articles into the _local_ server, not to feed
>> outgoing articles.
Frank> No, I don't. You do. See above. suck(1) *can* use innxmit
Frank> ("-bi" option), but by default does not. The get.news.innxmit
Frank> sample I mentioned uses the "-bp" option which (the manual
Frank> page specifically says) uses IHAVE.
do you understand why get.news.innxmit is called that? In older
versions of suck, there was no internal IHAVE mechanism, the only
choices were either to download the articles into lots of separate
files and run innxmit to inject them locally, or download them into a
batch file and use rnews to inject them locally. Hence the two sample
scripts get.news.innxmit and get.news.rnews.
suck has _never_ attempted to use innxmit for outgoing traffic. (Of
course, nothing stops one from using it independently of suck - which
is roughly what I do)
Frank> FWIW, I use suck *and* innxmit (nntpsend) on a daily basis
Frank> and sometimes use rnews and rpost, so yes, I know what I am
Frank> talking about. :-)
quit before your hole gets any deeper - I write news software
professionally, and for my own use I have written replacements for
both suck and rnews, not to mention the rnews-on-steroids that handles
the outgoing feeds for Annihilator.
--
Andrew.
Re: "pulling" news
Author: Terrance Richard Boyes
Date: Fri, 09 Feb 2001 19:44
Date: Fri, 09 Feb 2001 19:44
31 lines
2826 bytes
2826 bytes
Noal McDonald <dharzhak@my-deja.com> wrote: > tez@pierrot.co.uk (Terrance Richard Boyes) wrote: >> Can not open /usr/news/db/history, Skipping > Did you check to make sure that /usr/news is a link to ~news? The logfile above was just to show how to solve Dirk's problem, if I'd used my normal suck parameters then it wouldn't have happened :) > I ran into that problem and found it was an easy fix. I'm a newbie Yeah, though I use the -HF option. > mucking my way through trying to get Suck and INN to work toegether and > I keep running into problem after problem as well. The worst thing for me was getting the compile options right in the first place. Other than that it needs a couple of tweaks to the get.news.inn script, like using the current standard INN dirs, and passing the REMOTE_HOST. And IMO defaulting to it not using -A (since if you follow the INN docs and get the CONFIG files from ISC.ORG that's bad news). -- <URL:http://www.pierrot.co.uk/> Team AMIGA Although our information is incorrect, we do not vouch for it: Satie
Re: "pulling" news
Author: Noal McDonald
Date: Fri, 09 Feb 2001 21:03
Date: Fri, 09 Feb 2001 21:03
44 lines
2814 bytes
2814 bytes
tez@pierrot.co.uk (Terrance Richard Boyes) wrote: > Yeah, though I use the -HF option. I'll have to take a look at the man page to see what it does. >> mucking my way through trying to get Suck and INN to work >> toegether and I keep running into problem after problem >> as well. > > The worst thing for me was getting the compile options right > in the first place. Actually, that wasn't much of a problem for me. I used the "Running INN on HP/UX" web site <http://www.avalon.net/~hakehoe/inn/hpux.html> to get me started. Although, admittedly, I did make some extra basic modifications. > Other than that it needs a couple of tweaks to the get.news.inn > script, like using the current standard INN dirs, and passing > the REMOTE_HOST. Thanks. I'll take a look at these, too. In any event, I've gotten suck to pull down news now. I don't see anything that allows you to run Suck as a daemon, which might be useful, so once I get the newsuckrc file configured to only pull down the news groups that we have a legitimate business purpose for and the cron job to do it at regular intervals, I should be set there. The only major things I have left is getting news to upload to the remote server and to document the entire install & config process. Regards, Noal -- "I was probably pretty young, when I realised that I had come from what you might call a family, a clan, a race, maybe even a species, of pure sons of bitches." --Faulkner, "The Mansion" Sent via Deja.com http://www.deja.com/
Re: "pulling" news
Author: Dirk Groeneveld
Date: Fri, 09 Feb 2001 21:54
Date: Fri, 09 Feb 2001 21:54
8 lines
1222 bytes
1222 bytes
Terrance Richard Boyes wrote: > Frank Slootweg <franks@neth.hp.com> wrote: [helpful stuff] Thank you all, it works now. Dirk
Re: "pulling" news
Author: Terrance Richard Boyes
Date: Sat, 10 Feb 2001 05:07
Date: Sat, 10 Feb 2001 05:07
49 lines
3474 bytes
3474 bytes
Noal McDonald <dharzhak@my-deja.com> wrote:
> tez@pierrot.co.uk (Terrance Richard Boyes) wrote:
>> Other than that it needs a couple of tweaks to the get.news.inn
>> script, like using the current standard INN dirs, and passing
>> the REMOTE_HOST.
> Thanks. I'll take a look at these, too.
Here's mine, though note I only use it for sucking, not posting.
First make the obvious change
REMOTE_HOST=${1:-news.pixi.com}
Then just above # download messages, I've also added
# see if we have AUTHINFO for this server
AUTHINFO=""
AUTHINFO_USER=`grep ${REMOTE_HOST} ${NEWSDIR}/etc/passwd.nntp | cut -d: -f2`
if [ "${AUTHINFO_USER}" != "" ] ; then
AUTHINFO_PASS=`grep ${REMOTE_HOST} ${NEWSDIR}/etc/passwd.nntp | cut -d: -f3`
AUTHINFO="-u -U ${AUTHINFO_USER} -P ${AUTHINFO_PASS}"
fi
Of course this means the addition of an entry in passwd.nntp
if authentication is needed, and only users in the news group
can use this script if it is needed.
And I've changed the call to suck,
${SUCK} ${REMOTE_HOST} -hl ${LOCAL_HOST} -HF ${NEWSDIR}/db/history
-dt ${TMPDIR} -dm ${MSGDIR} -dd ${BASEDIR} ${AUTHINFO}
-p .${REMOTE_HOST} @${BASEDIR}/suckrc.${REMOTE_HOST}
The last bit of which allows you to have multiple hosts, each with
their own sucknewsrc.host and suckrc.host (just in case you want
different options). eg I have a suckrc.news.cis.dfn.de which
contains -k -c -a -B -bp -G -sg. If not you can lose everything
from -p onwards.
Feel free to use/adapt/improve it.
--
<URL:http://www.pierrot.co.uk/> Team AMIGA
How long does it take a DEC field service engineer to change a lightbulb?
It depends on how many bad ones he brought with him.
Re: "pulling" news
Author: Nate Dawg
Date: Sun, 11 Feb 2001 07:46
Date: Sun, 11 Feb 2001 07:46
16 lines
1566 bytes
1566 bytes
Is there wa windows 2000 compatable app that can be used to pull news? "Dirk Groeneveld" <dirk.groeneveld@gmx.de> wrote in message news:q7l169.v78.ln@colin.ursa.de... > Terrance Richard Boyes wrote: > > Frank Slootweg <franks@neth.hp.com> wrote: > [helpful stuff] > > Thank you all, it works now. > > Dirk >
Re: Suck & documentation (was Re: "pulling" news)
Author: Frank Slootweg
Date: Mon, 12 Feb 2001 10:01
Date: Mon, 12 Feb 2001 10:01
135 lines
7481 bytes
7481 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
Can you please ligthen up a little? What we have here is just a series
of *misunderstandings*, yes also on your side. I know who you are, but
that does not mean that you can't misunderstand things. Note: I did *not*
say that you are 'wrong', but just that there are misunderstandings.
Let me explain.
>>>>>> "Frank" == Frank Slootweg <franks@neth.hp.com> writes:
>
> >> Both rnews and innxmit actually do the same thing, which is to
> >> take articles and feed them into a server via NNTP. rnews expects
> >> either single articles or batch files with '#! rnews <length>'
> >> lines, whereas innxmit originally expected a list of spool
> >> filenames with one article in each file. The only other difference
> >> is that rnews defaults to feeding the local server (but can feed a
> >> remote one if necessary), and doesn't support streaming, whereas
> >> innxmit expects to feed a remote server and will attempt streaming
> >> unless told not to.
>
> Frank> Yes, that it exactly what I meant, rnews (effectively)
> Frank> receives (inputs) articles from another server
>
> it does no such thing. rnews has no functionality to receive articles,
> other than from files which are already present on the local machine.
No, not rnews by itself, but rnews(1) and innxmit(8) say:
> rnews - receive news from a UUCP connection
^^^^^^^ ^^^^
> innxmit - send Usenet articles to a remote NNTP server
^^^^ ^^
*That* was all I meant.
> The difference between the two is merely a matter of usage convention
> rather than difference in functionality.
Maybe yes, maybe no. Read on.
> Frank> and innxmit sends (outputs) articles to another server, hence
> Frank> my term 'opposites'.
>
> which is nonsense - unless you've redefined "opposites" to mean "the
> same thing".
Maybe yes, maybe no. Read on.
> Frank> If Marco would have said "make batches *for* rnews", or
> Frank> something similar, then both would have been send (output)
> Frank> methods.
>
> you are still completely misunderstanding Marco's point
Yes, I *was*, because his 'point' was *ambiguous*. You interpreted it
'correctly', but you apparently don't realize that it was ambiguous and
that there could be another interpretation which explains my
comments/questions. Let me explain:
Marco's very first posting said:
Marco> (You should make rnews batching the default injection method for INN,
Marco> innxmit will not work with newer INN releases.)
Marco did *not* say if he referred to injecting in the *local* host or
in the *remote* ('peer') host. Because suck does not use innxmit to post
to the local host, I assumed that he was talking about posting to the
remote host, and hence said that I thought he meant rpost instead of
rnews (because suck does not and 'can not' use rnews to post to the
remote host).
With regard to our rnews versus innxmit 'dispute': For posting to the
*local* host, inxxmit and rnews indeed perform a similar function, i.e.
you are 'right'. For 'posting' to the *remote* host innxmit and rnews do
perform opposite functions, because innxmit transmits articles to a
remote host and rnews receives articles from a (normally) remote host,
i.e. I am 'right'. However because the context was ambigious, I think
this was not a question of 'right' or 'wrong', but about multiple
possible interpretations and (hence) (possible) misunderstandings.
> >> you misunderstand what suck uses innxmit for - it uses it to feed
> >> the incoming articles into the _local_ server, not to feed
> >> outgoing articles.
>
> Frank> No, I don't. You do. See above. suck(1) *can* use innxmit
> Frank> ("-bi" option), but by default does not. The get.news.innxmit
> Frank> sample I mentioned uses the "-bp" option which (the manual
> Frank> page specifically says) uses IHAVE.
>
> do you understand why get.news.innxmit is called that? In older
> versions of suck, there was no internal IHAVE mechanism, the only
> choices were either to download the articles into lots of separate
> files and run innxmit to inject them locally, or download them into a
> batch file and use rnews to inject them locally. Hence the two sample
> scripts get.news.innxmit and get.news.rnews.
Yes, but in *my* *very first* posting in this thread, I had already
explained that get.news.innxmit *does not* use innxmit! That article
precedes Marco's and is in his References: header. Had you read that (my
first) article?
As to "In older versions of suck": I have suck 3.9.2 which is nearly
three years old and already uses IHAVE. Nowadays, the name
get.news.innxmit only creates confusion, and, apparently, continues to
create confusion, even after it has been explained that the ".innxmit"
part is irrelevant. Sigh!
> suck has _never_ attempted to use innxmit for outgoing traffic. (Of
> course, nothing stops one from using it independently of suck - which
> is roughly what I do)
Well, *suck* may have never attempted to do so, but *people* *have*
attempted to do so (or use other IHAVE methods) and that has been a
(somewhat) FAQ in this group, hence my comments/questions to Marco.
Also I 'happen' to use innxmit (i.e. not rpost/<whatever>) for
*outgoing* traffic, while I (partly) use suck for incoming traffic,
which also explain my comments/questions to Marco.
> Frank> FWIW, I use suck *and* innxmit (nntpsend) on a daily basis
> Frank> and sometimes use rnews and rpost, so yes, I know what I am
> Frank> talking about. :-)
>
> quit before your hole gets any deeper - I write news software
> professionally, and for my own use I have written replacements for
> both suck and rnews, not to mention the rnews-on-steroids that handles
> the outgoing feeds for Annihilator.
I hope the above shows that this was just a misunderstanding, on
*both* sides. I hope you also realize that you were needlessly harsh.
FWIW, I use/run News systems since 1984.
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