[news.software.b] Unable to feed subset of news to other sites

system@asuvax.UUCP (Marc Lesure) (02/25/88)

We are having a problem sending a subset of news to other sites.  Our sys
file has this format:

	asuvax:all::
	sitea:all:F:/usr/spool/batch/sitea
	siteb:all,!comp:F:/usr/spool/batch/siteb
	sitec:comp:F:/usr/spool/batch/sitec

sitea will receive all the news, siteb will receive all but comp, and sitec
does not recieve anything.  If I change sitec sys line to:

	sitec:all,!rec,!misc,!soc,!news,...:F:/usr/spool/batch/sitec
	(where ... is everything but comp)

sitec then receives comp.  We're running 2.11 patchlevel 14 and receive
our news compressed and batched.  Any ideas on what the problem is???

-------------------------------------------------
Marc Lesure
System Manager
Engineering Computer Center
Arizona State University
Tempe, Arizona

UUCP:		...!ihnp4!noao!asuvax!lesure
ARPA/CSNET:  	lesure@asu.edu

dean@ndmath.UUCP (Dean Alvis) (02/26/88)

In article <224@asuvax.UUCP>, system@asuvax.UUCP (Marc Lesure) writes:
> 	sitec:comp:F:/usr/spool/batch/sitec
> sitea will receive all the news, siteb will receive all but comp, and sitec
> does not recieve anything.  If I change sitec sys line to:
> [...]

The second field of the "sys" line is used to match distributions as well
as newsgroups, which I found out recently to my chagrin. If you include "all"
in this field, beware that articles with "local" distribution may also be
broadcast. I would suggest something along the lines of:

	sitec:world,na,usa,comp:F:/usr/spool/batch/sitec

dean
-- 
dean@ndmath.UUCP
Dean Alvis, Math. Dept., Univ. of Notre Dame, Notre Dame IN, 46556

heiby@falkor.UUCP (Ron Heiby) (02/26/88)

Marc Lesure (system@asuvax.UUCP) writes:

> We are having a problem sending a subset of news to other sites.  Our sys
> file has this format:
> 
> 	asuvax:all::
> 	sitea:all:F:/usr/spool/batch/sitea
> 	siteb:all,!comp:F:/usr/spool/batch/siteb
> 	sitec:comp:F:/usr/spool/batch/sitec

The problem you are asking about (sitec) is because you are not including
any "distributions".  By default, an article has a distribution of "world",
so you must include "world" in the sys entry.  In addition, you will soon
see problems in your use of "all" in sites you feed.  "all" includes the
to.site groups that are intended to go to only a single site.  If you ever
set up an ihave/sendme link, the ihave and the sendme messages will go to
both sitea and siteb, even if they are intended for only your site and some
siteD.  Here's what I'd suggest:
	ME:world,na,usa,to,\
		alt,comp,misc,news,rec,sci,soc,talk::
	sitea:world,na,usa,to.sitea,\
		comp,misc,news,rec,sci,soc,talk:F
	siteb:world,na,usa,to.siteb,\
		misc,news,rec,sci,soc,talk:F
	sitec:world,na,usa,to.sitec,\
		comp:F
	sited:world,na,usa,to.sited,\
		comp,!comp.sys.ibm,\
		alt,!alt.flame:F
Note that continuation lines are possible.  Also, the batch file paths
that you gave explicitly are the default (assuming you built your news
with BATCHDIR as /usr/spool/batch), so they aren't needed.  Also, I've
added a sited, which gets all of comp except comp.sys.ibm and its sub-
groups and gets all of alt except alt.flame.  You should add any local
distribution (like "chi" or "nj" or "ba") to the entries as appropriate
and take out "na" or "usa" for sites that are not in North America or
the U.S.A.
-- 
Ron Heiby, heiby@mcdchg.UUCP	Moderator: comp.newprod & comp.unix
"Intel architectures build character."