🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49522

Re: INN newsfeeds file question

#49522
From: Russ Allbery
Date: Mon, 25 Dec 2000 03:25
31 lines
1972 bytes
Rich Skrenta <skrenta@textport.net> writes:

> Is it legal to have two lines in newsfeeds for the same innfeed host, in
> order to create an "or" in the fed article selection logic?

No.

> In other words, suppose I want to send every locally posted article in
> any group or hierarchy to a host, as well as any articles in comp.foo.*.
> Can I have two entries in newsfeeds to construct this "or":

> 	news.host.net:!control*/!local:Tm,H2:innfeed!
> 	news.host.net:!*,comp.foo.*/!local:Tm:innfeed!

> or will something bad happen.  ;-)

I think one of them will just be ignored, or you may get a syntax error.

The way I do this is to set up two feeds with path aliases to make sure
that not refeeding still works.

    host-local/news.host.net:!control*/!local:Ap,Tm,H2:innfeed!
    host/news.host.net:!*,comp.foo.*/!local:Ap,Tm:innfeed!

The Ap tells INN to ignore "host" and "host-local" for Path exclusions and
only exclude news.host.net.  Note that you then need to set up entries for
host and host-local in innfeed.conf so that it knows what host to feed.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylwvcpchbv.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <925gul$sj0$1@feed.textport.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylwvcpchbv.fsf@windlord.stanford.edu>
Subject: Re: INN newsfeeds file question
Date: Mon, 25 Dec 2000 03:25:56 +0000
From: Russ Allbery <rra@stanford.edu>
References: <925gul$sj0$1@feed.textport.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 30
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)