[news.admin] newsgroup pattern matching

david@ms.uky.edu (David Herron -- One of the vertebrae) (08/31/88)

Argh.  I really tried to understand how newsgroups are pattern
matched against distributions but I just can't work it out.

I'm trying to set up a redistribution of alt.sca into a mailing
list.  It worked for a long time then it broke again sometime
in the last month and the last month has been hectic enough
that I don't remember where or when it broke.  The sys file entry
looks like this:



internet:ky,!ky.all,alt,!alt.all,alt.sca,!alt.sca.all,world,inet,\
	ddn,!ddn.all,na,usa\
	:S:/net/lib.news/gateway alt-sca redist-alt-sca redist-alt-sca-request e.ms.uky.edu

I think I got the "alt,!alt.all,alt.sca,!alt.sca.all" group from
Erik (or his gateway program).  What I am seeing is that stuff with
Distribution: alt do not go to redist-alt-sca, but ones without
a Distribution: *do*.

Now, ngmatch(alt.sca, alt.sca.all) won't match.  (I'm not sure why,
I'd think it should, but that's the way the code reads).  And I can
read in the code that the Newsgroups: alt.sca will match my sys
file entry.  Then the code goes on andd checks against the Distribution:
line and does it in reverse (ngmatch(ng,dist) && (ngmatch(dist,ng)).
That's when I got a headache and decided to quit.

I can't find this documented but I do remember it being discussed somewhere.
I just don't remember where.  Nor did I save it away.
-- 
<---- David Herron -- The E-Mail guy                         <david@ms.uky.edu>
<---- ska: David le casse\*'      {rutgers,uunet}!ukma!david, david@UKMA.BITNET
<---- Problem: how to get people to call ...; Solution: Completely reconfigure 
<---- your mail system then leave for a weeks vacation when 90% done.

bob@allosaur.cis.ohio-state.edu (Bob Sutterfield) (09/01/88)

In article <10197@s.ms.uky.edu> david@ms.uky.edu (David Herron -- One of the vertebrae) writes:
>I'm trying to set up a redistribution of alt.sca into a mailing list.

That's curious - it's already a mailing list (sca@mc.lcs.mit.edu) that
we gateway with alt.sca.  Perhaps you could save yourself the trouble
and have a redistribution-explosion point on your system simply added
to the mailing list.

>What I am seeing is that stuff with Distribution: alt do not go to
>redist-alt-sca, but ones without a Distribution: *do*.

If you have seen any articles coming through the gateway (you can tell
because of "Sender: daemon@tut.cis.ohio-state.edu") without
"Distribution: alt" lines, please let me know.  I think we're clean
(famous last words :-).
-=-
Zippy sez,								--Bob
This ASEXUAL PIG really BOILS my BLOOD...  He's so..so.....URGENT!!