Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!kuhub.cc.ukans.edu!anu-news!list From: munnari!csc.anu.oz.au!gih900@UUNET.UU.NET (Geoff Huston) Newsgroups: news.software.anu-news Subject: Re: Is it possible to specify "local" distribution? Message-ID: <8910152242.AA16027@uunet.uu.net> Date: 16 Oct 89 13:35:40 GMT Sender: ANU-NEWS Discussion Reply-To: Geoff Huston Lines: 53 X-cc: GIH900@uunet.UU.NET >|Is it possible, via the distribution header line, to limit news to a local site >|(say my site, for example? I know that I can set up a localy defined >|newsgroups and I assume that does not get sent outside of my site, no matter >|what (is that true?), what I want to do is limit distribution of a particular >|message in a network distributed newsgroup (control, just for kicks) to my site >|only. > > Um, unless I'm missing something, I'd say you already have the answer - >just use the "local" distribution in your post by using POST/HEADER, and >make sure in your NEWS.SYS file that "local" isn't listed in the acceptable >distributions for sending to any other nodes. Thus, the post will remain >local because noone gets the "local" distribution sent to them. You can automate this somewhat - the following is NEWS_MANAGER:NEWS_POST.DEFAULTS which contains the necessary notes to set it up Geoff Huston # NEWS_MANAGER:NEWS_POST.DEFAULTS # # This file is used to supply default values for headers for local postings. # The format of the file is: # # newsgroup name - starting in column 1 # the name may be either an exact name, a name with wildcard character (*) # or the name "default" (which matches all newsgroups). # Lists of newsgroup names are NOT supported - if you wish to define # two or more newsgroups with the same values then use wildcards if the # newsgroup names are related, or use separate entries for each newsgroup # # The lines following a newsgroup must start with a space or a tab in col 1 # and they refer to headers for that newsgroup. # # NEWS will search for the first successful match for a newsgroup, then apply # the headers as given. Therefore "default", if used, must be at the end of # the file. # # NEWS V5.7 supports only two default headers: # Distribution: # Followup-To: # e.g.: aus.general Followup-To: aus.followup Distribution: aus aus.wanted Followup-To: aus.followup Distribution: aus test Distribution: local