[news.sysadmin] news forwarding

samperi@dasys1.UUCP (Dominick Samperi) (11/24/87)

Is it possible to have a system (with limited disk space) receive a full
news feed in compressed/batched format, and then simply pass it on to
another system (with lots of disk space), without unbatching it and posting
it locally? Any pointers would be greatly appreciated.

-- 
	Dominick Samperi, Manhattan College, New York, NY
		...!ihnp4!cmcl2!manhat!samperi
		...!ihnp4!cmcl2!phri!dasys1!samperi

mark@ems.Ems.MN.ORG (Mark H. Colburn) (11/25/87)

In article <2054@dasys1.UUCP> samperi@dasys1.UUCP (Dominick Samperi) writes:
>Is it possible to have a system (with limited disk space) receive a full
>news feed in compressed/batched format, and then simply pass it on to
>another system (with lots of disk space), without unbatching it and posting
>it locally? Any pointers would be greatly appreciated.

	Shane McCarron (ahby@meccts.mn.org) and I (mark@ems.mn.org) are
	currently working on just such a beast.  The code is done, and is
	going through some testing.  I have just finished fixing, what I
	think, is the last bug.  We will be testing it here in MN before
	sending it to Rick for inclusion in the Official News Patches.

	Suprisingly enough, we call the modification PASSBATCH and it
	does just what you ask for.  It will only work on full feeds
	and requires that a new key letter ('P') be put into the sys file
	for the sites which you are passing batches to.

	To give credit where credit is due, it was Shane's idea, I
	am just implementing it 'cause he is awfully busy right now :-)


-- 
Mark H. Colburn    DOMAIN: mark@ems.MN.ORG 
EMS/McGraw-Hill      UUCP: ihnp4!meccts!ems!mark      AT&T: (612) 829-8200

dws@cseg.UUCP (David W. Summers) (11/26/87)

In article <2054@dasys1.UUCP>, samperi@dasys1.UUCP (Dominick Samperi) writes:
> Is it possible to have a system (with limited disk space) receive a full
> news feed in compressed/batched format, and then simply pass it on to
> another system (with lots of disk space), without unbatching it and posting
> it locally? Any pointers would be greatly appreciated.
> 
> -- 
> 	Dominick Samperi, Manhattan College, New York, NY
> 		...!ihnp4!cmcl2!manhat!samperi
> 		...!ihnp4!cmcl2!phri!dasys1!samperi

Yes,  That's what I'm doing here!  I receive news nightly on my machine, but
since I have a lowly 20 Megs of disk space there is no way I could run news on
my machine.  What I did was to create a shell script called 'rnews' which turns
right around and forwards the news on to the big system that I feed.  An
example which feeds two other machines (more general purpose than just one) is
as follows:

#This routine intercepts NetNews batches and mails them to uafuts!smods
#and cseg!netnews
tee temp | uux - -r cseg\!rnews
cat temp | uux - -r uafuts\!/sysdevl/smods/usenet/bin/rnews
rm temp

This is the easiest way that I found to do it...There might be better ways.

                       - David Summers
			 ..!rutgers!pbox!romed!actsn!david
                         ..!rutgers!pbox!romed!actsn!cseg!dws

dave@lsuc.UUCP (11/29/87)

In article <1597@ems.Ems.MN.ORG> mark@ems.Ems.MN.ORG (Mark H. Colburn) writes:
>In article <2054@dasys1.UUCP> samperi@dasys1.UUCP (Dominick Samperi) writes:
>>Is it possible to have a system (with limited disk space) receive a full
>>news feed in compressed/batched format, and then simply pass it on to
>>another system (with lots of disk space), without unbatching it and posting
>>it locally? Any pointers would be greatly appreciated.
>
>	Shane McCarron (ahby@meccts.mn.org) and I (mark@ems.mn.org) are
>	currently working on just such a beast...
>	Suprisingly enough, we call the modification PASSBATCH and it
>	does just what you ask for.  It will only work on full feeds
>	and requires that a new key letter ('P') be put into the sys file
>	for the sites which you are passing batches to.

As a hack, why not simply have a script on your passing
site which just shovels the data back into the uucp queue?
Call it cunbatch, and the feeding site can treat the passing
site as a normal feed.  The only caveat is that the ultimate
target site would get Path: target!feed!... on postings, with
the passing site not showing up. So if target doesn't talk to
feed or run smail, replies through the Path: header might fail.
You could always hack inews on target to get around this.

But this saves you having to run any news software on the passing site.

David Sherman
The Law Society of Upper Canada
Toronto
-- 
{ uunet!mnetor  pyramid!utai  decvax!utcsri  ihnp4!utzoo } !lsuc!dave
Pronounce it ell-ess-you-see, please...

zeeff@b-tech.UUCP (Jon Zeeff) (11/30/87)

In article <2054@dasys1.UUCP> samperi@dasys1.UUCP (Dominick Samperi) writes:
>Is it possible to have a system (with limited disk space) receive a full
>news feed in compressed/batched format, and then simply pass it on to
>another system (with lots of disk space), without unbatching it and posting
>it locally? Any pointers would be greatly appreciated.

Sure.  Replace rnews on the pass through system with a small program along
the lines of

main()
{
system("uux - othersys!rnews");
}
 
 
 
 


-- 
Jon Zeeff           		Branch Technology,
uunet!umix!b-tech!zeeff  	zeeff%b-tech.uucp@umix.cc.umich.edu