From:	ADVAX::"mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU" 30-APR-1991 12:35:12.57
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: Misuse, confusion, re "Distribution:" header?

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Tue, 30 Apr 91 12:34:05 EDT
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA02610 for ; Tue, 30 Apr 91 12:09:03 -0400
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/3-21-91)
	id AA02301; Tue, 30 Apr 91 09:04:42 -0400
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9104301304.AA02301@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 4369; Tue, 30 Apr 91 08:04:01 CDT
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 7226; Tue, 30 Apr 91 08:04:00 CDT
Date:         Tue, 30 Apr 91 09:50:41 GMT
Reply-To: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
Comments:     Warning -- original Sender: tag was news@NEWSHOST.ANU.EDU.AU
From: mcnc!VM1.NoDak.EDU!gih900%SAO.AARNET.EDU.AU
Subject:      Re: Misuse, confusion, re "Distribution:" header?
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
In article <1991Apr29.142220.2308@dcs.simpact.com>, jeh@dcs.simpact.com writes:
> For news.software.anu-news readers:  ANU NEWS should probably be fixed so that
> if an item arrives with a "distribution" field that is acceptable according to
> the systems file newsgroup filter (but not necessarily the distribution filter
),
> the item will be accepted.  In the meantime, I suppose I can go edit the
> distribution filter to say that we (and our news neighbors!) are in
> distributions comp,news,rec, etc., in addition to world,usa, etc.   However,
> this seems counterproductive to the recent separation of newsgroup and
> distribution filters.
 
The change is a one-liner to test_accept():
 
NEWSDIST.C
 
************
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;80
   16   **      Copyright ) 1989,1990,1991
   17   **
******
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;78
   16   **      Copyright ) 1989,1990
   17   **
************
************
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;80
   29   **
   30   **  VERSION HISTORY
   31   **      V6.0-4  30/4/91 gh
   32   **              Modify filter acceptance algorithm to match distribution
   33   **              keywords against newsgroup filter list.
   34   **--
******
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;78
   29   **--
************
************
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;80
  699                   /* some brain-dead news systems put the top level
  700                      hierarchy in as the distribution keyword - so the
  701                      newsgroup filter should also be matched against
  702                      the distribution string */
  703         if (!d && (d_sav != f_sav)) d = f_sav;
  704         }
******
File $USERS:[GIH900.NEWS.NEWS_SRC]NEWSDIST.C;78
  695         }
************
 
--
Geoff Huston
