Path: utzoo!utstat!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: news.software.b Subject: Re: sending through an extra system Keywords: inews send Message-ID: <1990Jul11.184638.4465@smsc.sony.com> Date: 11 Jul 90 18:46:38 GMT References: <26422@edsews.eds.com> Sender: news@smsc.sony.com (Usenet News System) Reply-To: dce@smsc.sony.com (David Elliott) Distribution: usa Organization: Sony Microsystems, San Jose, CA Lines: 56 |> I thought about perhaps using a uusend, although I don't know much |> about running uucp over tcp/ip (although I've heard it can be done). |> The problem here is I don't know if a uux can be made to work over |> multiple hops. I figure there's got to be a fairly simple way to |> do this. Maybe cnews has an easier method. Ideas/solutions would |> be appreciated. This may or may not help you. We use MIPS as our news feed. Originally, we had our news machine talking directly to them over the phone, but then we added a new machine as an Internet gateway. We decided that we didn't want to use that machine as our news machine, but we did want to use it for news transfer. For security purposes, we don't allow rsh or smtp connections between our Internet gateway and our internal network, so we use UUCP over TCP/IP for mail and news forwarding (TCP/IP UUCP is very easy to set up). So, on our news machine (sonyusa), I changed the "mips" entry in the news/sys file to sonygate:comp,news,sci,rec,misc,soc,talk,alt,gnu,ca,ba,to.mips/all:L:uux - -z sonygate!netnews On sonygate (our Internet gateway), the command /bin/netnews is the shell script: #!/bin/sh PATH=/bin:/usr/bin:/usr/ucb # For debugging # date >> /tmp/netnews.out exec uux - -z mips!rnews This required adding "netnews" to /usr/lib/uucp/L.cmds. For incoming news, /bin/rnews is the shell script: #!/bin/sh PATH=/bin:/usr/bin:/usr/ucb #For tracing batches #date >> /tmp/rnews.in exec uux - -r -z -gd sonyusa!rnews So, news coming in from mips is sent on to sonyusa!rnews, and news coming from sonyusa is sent to sonygate!netnews which relays it to mips!rnews. ...David Elliott ...dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce ...(408)944-4073 ..."You know my motto: Forgive and uh... the other thing."