🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #730

Re: Limiting downstream newsfeed

#730
From: Forrest J. Cavalier III
Date: Fri, 07 Nov 1997 00:00
57 lines
2901 bytes
In article <63tj2k$835$1@algoweb.algorithmics.com>, pradeep@algorithmics.com wrote...
>
>Our company has two remote sites to which I would like to feed
>the internal newgroups only. Can someone out there tell me what
>the entry in the newsfeeds file look like? 
>
>I am running inn-1.5.1 at the parent site in Toronto and inn-1.7
>at our site in New York. The current entry is:
>
>algonynews/algonynews.algorithmics.com\
>        :algo.*,!*/algo\
>        :Tf,Wnm:
>
>This does not spool anything in the out.going directory. If I
>modify the second line to be ":algo.*/algo\", then it spools
>everything, including external groups. Pleas help. Thanks in
>advance.
>

The answer is on the manpage.
    http://www.mibsoftware.com/userkt/inn/doc/newsfeeds.5.htm

I've taken an excerpt and capitalized the relevant sentences.....


   The patterns specify which groups to send to the site and are interpreted
     to  build a ``subscription list'' for the site.  THE DEFAULT SUBSCRIPTION
     IS TO GET ALL GROUPS.  The patterns in  the  field  are  wildmat(3) -style
     patterns,  and  are  matched in order against the list of newsgroups that
     the local site receives.  If the first  character  of  a  pattern  is  an
     exclamation  mark,  then any groups matching the pattern are removed from
     the subscription, otherwise any matching groups are added.  For  example,
     to  receive  all  ``comp''  groups, but only comp.sources.unix within the
     sources newsgroups, the following set of patterns can be used:
          comp.*,!comp.sources.*,comp.sources.unix
     There are three things to note about this example.  The first is that the
     trailing ``.*'' is required.  THE SECOND IS THAT, AGAIN,  THE  RESULT  OF
     THE   LAST   MATCH   IS   THE   MOST   IMPORTANT.    The  third  is  that
     ``comp.sources.*'' could be written as ``comp.sources*'' but  this  would
     not have the same effect if there were a ``comp.sources-only'' group.

Can I suggest that

    !*,algo.*

might be what you intended?
Hope it helps!


Forrest Cavalier, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <63tspl$p63$1@news1.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <63tj2k$835$1@algoweb.algorithmics.com>

Show Full Headers
Complete Article Headers
Message-ID: <63tspl$p63$1@news1.epix.net>
Subject: Re: Limiting downstream newsfeed
Date: Fri, 07 Nov 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <63tj2k$835$1@algoweb.algorithmics.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 287544887
Organization: Mib Software
Newsgroups: news.software.nntp,news.software.b,news.software.misc,news.software.nn