Article View: news.software.nntp
Article #59690Re: newsx and innd - hopefully lost ;-(
From: A. L. Meyers
Date: Fri, 26 Jul 2002 12:20
Date: Fri, 26 Jul 2002 12:20
113 lines
6717 bytes
6717 bytes
remco@remco.hn.org (Remco Blaakmeer) writes: > On Thu, 25 Jul 2002 20:58:33 GMT, "A. L. Meyers" > <nospam.look@replyto.because.this.is.invalid> wrote: >> >> Thanks, Miow, from woof-woof, a sad bloodhound who doesn't give up so >> easily. Made some progress today. Installed newsx instead of suck, as I >> couldn't get suck to cooperate with inn and Eric's instructions say >> newsx and inn go more easily together, which is true. >> >> Ran into new snags, however. Eric's example bundles 40 news messages in >> each downloaded file but rnews -U did not like these files and refused >> to despool them, dumping core. > [snip] > > I am using newsx with inn. Perhaps some words about my own setup will > help you. > > In <pathetc in inn.conf>/newsfeeds, I have configured outgoing feeds for > every news server that newsx is supposed to fetch news from and sends > news to. These feeds are configured to create a batch file with storage > tokens. The entries in the newsfeeds file look like this: > > <sitename>/<pathhost of site>[,<other pathhost> ...]\ > :<newsgroups pattern> > :Tf,Wf: > > I have chosen to have the sitename equal to the full qualified domain > name of the news server. Its pathhost is not always equal to this. You > can find the pathhost as the first host in de Path header in any article > on that news server. > > When newsx runs, it will read the newsgroup pattern and only fetch > groups that are in your active file and match the group pattern. > > No entry in incoming.conf is needed. This file is only used for allowing > regular feeds to your server. > > The batch file that's created by inn, is stored in <pathoutgoing in > inn.conf>. Make sure this directory is passed to newsx with the --batch > option, or newsx won't be able to find it. On my system (Debian), this > is done by default by the script /usr/lib/news/bin/newsx , which calls > /usr/lib/news/bin/newsx.real with the right opions. > > In a file that newsx calls the host active file, it keeps a record of > which articles have been fetched from which groups. This file can most > likely be found in /var/spool/news/in.hosts and is created automatically > the first time newsx runs for a certain site. You may have noticed newsx > complaining about this file not existing when you ran newsx for the > first time, but that's normal. > > Instead of running rnews -U, I run newsx with the --rnews option. This > way, newsx will pipe all fetched articles directly into rnews. > Especially when multiple instances of newsx are fetching news from > different sites at the same time, this prevents some problems I > encountered with rnews -U. > > Recently, I have created configuration files for newsx instead of using > long command lines. My /etc/newsx.conf looks like this: > > --rnews > -u > --forget-inactive > > In /var/spool/news/in.hosts , I have configuration files with server > specific options. These are named <sitename>.conf and contain options > like -a <password file> . > > I run newsx from cron at regular intervals. It's run as user news. The > only option I give newsx is the sitename. Because the sitename is equal > to the server's hostname, the hostname can be omitted. > > When you run newsx for the first time for a give site, it may be wise to > use one of the -z, -Z, -X or --maxart options. See the newsx manual for > their meaning. Especially if the site has a large retention time, the > first newsx run can literally take hours to complete if you let newsx > just fetch all articles. > > If I haven't forgotten anything, this is how simple it is to set up > newsx with inn. Setting up inn itself is a whole other story, of > course. Thanks, Remco. Everything seems to work except posting news. The news does NOT go outside localhost with newsx, but shows up in the article spool on localhost. Here is the message I get from newsx: there is no /usr/local/news/spool/inhosts/news.ip-plus.net.conf, just ignore newsx 1.4pl6 Fri Jul 26 13:41:28 2002 server: news.ip-plus.net, spool: news.ip-plus.net reading /usr/local/news/etc/newsfeeds found entry for news.ip-plus.net in /usr/local/news/etc/newsfeeds reading /usr/local/news/db/active connecting to nntp server at news.ip-plus.net <- 200 news.ip-plus.net InterNetNews NNRP server INN 2.3.0 ready (posting ok). OK, can post reading API @0500000040F1000000010000000000000000@ newsx: can't find article "@0500000040F1000000010000000000000000@": Invalid retrieve request newsx cannot find the article to post, although it is listed in the outgoing spool. How can I fix this? Then I will be at last "up and running". Lucien -- If you receive this by error, please delete it and inform the sender. PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA B4CC 6DC7 FF78 C76E FB15 To Big Brother Echelon from "spook": assassination $400 million in gold bullion Rumsfeld bomb Iraq Somalia
Technical Details
Message-ID:
<87u1mmisui.fsf@landhaus.consult-meyers.com>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!not-for-mailReferences:
<87r8hxm9oo.fsf@landhaus.consult-meyers.com> <slrnajn1ba.2ud.mdalene@pinkrose.local.net> <yladok1dkg.fsf@windlord.stanford.edu> <slrnajpnnq.enn.mdalene@pinkrose.local.net> <ylwurnuhet.fsf@windlord.stanford.edu> <MPG.17a7ea496e3553f698968e@jul-solserv> <87znwgkhhu.fsf@nomad.consult-meyers.com> <goN%8.2845$eb.1920@nwrddc04.gnilink.net> <87it33pls6.fsf_-_@nomad.consult-meyers.com> <ahpur7$n6d$1@remco3.remconet>Show Full Headers
Complete Article Headers
Message-ID: <87u1mmisui.fsf@landhaus.consult-meyers.com> Subject: Re: newsx and innd - hopefully lost ;-( Date: Fri, 26 Jul 2002 14:20:05 +0200 From: A. L. Meyers <nospam.look@replyto.because.this.is.invalid> References: <87r8hxm9oo.fsf@landhaus.consult-meyers.com> <slrnajn1ba.2ud.mdalene@pinkrose.local.net> <yladok1dkg.fsf@windlord.stanford.edu> <slrnajpnnq.enn.mdalene@pinkrose.local.net> <ylwurnuhet.fsf@windlord.stanford.edu> <MPG.17a7ea496e3553f698968e@jul-solserv> <87znwgkhhu.fsf@nomad.consult-meyers.com> <goN%8.2845$eb.1920@nwrddc04.gnilink.net> <87it33pls6.fsf_-_@nomad.consult-meyers.com> <ahpur7$n6d$1@remco3.remconet> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.177.105.133!news.mailgate.org!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!not-for-mail Newsgroups: news.software.nntp Supersedes: <87y9byiu9p.fsf@landhaus.consult-meyers.com> Organization: Meyers Consulting http://www.consult-meyers.com Lines: 112 Reply-To: A. Lucien Meyers <a.l.meyers@consult-meyers.com> NNTP-Posting-Host: megazh-d-38.agrinet.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: rex.ip-plus.net 1027685998 14285 212.28.158.38 (26 Jul 2002 12:19:58 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Fri, 26 Jul 2002 12:19:58 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Key: sha1:Uro6JkcVb8xTPbu3lpa9Fvfz4lQ= Cancel-Lock: sha1:fqGJoFu8+6lRl7a3p8QN1/LdpfU=