*BSD News Article 52639


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!news.ping.at!kukuruz!kukuruz!not-for-mail
From: cm@kukuruz.ping.at (christian mock)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Nobody Knows!!
Date: 12 Oct 1995 20:39:17 +0100
Organization: private
Lines: 53
Message-ID: <45jqt5$efk@kukuruz.ping.at>
References: <45h6ee$i52@moon.igcom.net>
NNTP-Posting-Host: localhost.ping.at

In article <45h6ee$i52@moon.igcom.net>,
David Bauman <david@terra.igcom.net> wrote:

> It seems not even BSDI tech support can get me a straight answer on this 
> problem. Its seems simple enough for someone who has done this, beacuse I 
> can imagine this has been done before. 

it seems your problem should be resolvable by RTFM, probably by buying
'managing uucp and usenet' by O'reilly -- a very good book. anyways: 

> I want 2 newsgroups to batch for a dial-in uucp client. Lets say
> comp.unix.bsd.bsdi.misc and info.bsdi.users. What do I put in the newsfeeds
> file to have these incoming groups(via nntp) batch in the users UUCP 
> directory? If anyone answers this, please dont give me one of the 
> newsfeeds examples, becuase it doesnt work the way I need it to work.

you want an example, or you don't? at work (BSDI NNTP server serving 100+
UUCP sites dialing into a second machine), it looks like: 

ME:!*::

so by default the sites don't get any news, and

site/site.do.main\
	:comp.unix.bsd.bsdi.misc,info.bsdi.users\
	:Tf,Wfb:

so that 'site' only gets those two groups, written into a batch file
~news/out.going/site. 

regularily, 

/usr/lib/news/bin/sendbatch -c site > /dev/null

is invoked (in the standard setup), that one fetches the article paths out
of the batch file, creates batches, and feeds them to uux. 

at work, the setup is a bit different, I basically rewrote sendbatch in
perl adding a few things, the most important for your setup is that
instead of using 'batcher | uux sitename!rnews' it does 'batcher | rsh
dialin-host "uux sitename!rnews"' or the like. of course, your news
account on the dialin-host need a .rhosts file allowing this. 

then, you also need to build rnews on your dialin machine and have it 
connect to your news server, but that's trivial.


(why don't I call this 'consulting' and charge for it?)

ciao,

cm.