Path: utzoo!utgpu!water!watmath!uunet!ukma!david From: david@ms.uky.edu (David Herron -- Resident E-mail Hack) Newsgroups: unix-pc.general Subject: Re: shutting off 'uux succeeded' mail messages in news Message-ID: <7980@e.ms.uky.edu> Date: 5 Jan 88 00:16:09 GMT References: <514@spdcc.COM> Reply-To: david@ms.uky.edu (David Herron -- Resident E-mail Hack) Organization: U of Kentucky, Mathematical Sciences Lines: 55 I recently ran into exactly that problem with a site we started feeding in Cincinatti .. they told me to add "-n" to the uux arguments and that would stop ALL messages from their uux. Specifically: #! /bin/sh # # SendBatch-g -- the 'g' portion of sending stuff out # # 'g' is a UUCP only machine, so it handles all the uucp connections. . /usr/lib/news/PROFILE cd ${LIBDIR}/outnews # UUCP # # very simply add the neighbors' name to the list for rmt in cbosgd uunet ukecc ukmk2 rayssd acp spca6; do if test ${rmt} = spca6; then n=-n else n= fi for f in ${rmt}.cmd.out.*; do if test -f $f -a -r $f; then if test \ ${rmt} = cbosgd -o \ ${rmt} = uunet -o \ ${rmt} = ukecc -o \ ${rmt} = rayssd -o \ ${rmt} = spca6 then ( echo '#! cunbatch' compress -c $f ) | \ if uux - $n -z -r ${rmt}!rnews; then rm -f $f fi else if uux - $n -z -r ${rmt}!rnews <$f; then rm -f $f fi fi fi done done -- <---- David Herron -- The E-Mail guy <---- or: {rutgers,uunet,cbosgd}!ukma!david, david@UKMA.BITNET <---- <---- Winter health warning: Remember, don't eat the yellow snow!