🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23026

Re: [INND] blocking incoming articles based on newsgroups line

#23026
From: Bettina Fink
Date: Fri, 07 Nov 1997 00:00
36 lines
1701 bytes
Aidan Cully [Staff] <aidan@panix.com> wrote:

> This is a patch which modifies the format of hosts.nntp so that in
> addition to ignoring newsgroups that don't have explicit posting
> permission, an article can be rejected outright if the newsgroups
> intersect a certain hierarchy.  IOW, say we had the following
> hosts.nntp line:
> news.foo.com::*,!net.*

hosts.nntp(5) says, that

"news.foo.com::!net.*" is the same as "news.foo.com::*,!net.*".

Example from the man page:

              ##  UUNET cannot post to local groups.
              uunet.uu.net::!foo.*

So were my entries in hosts.nntp, without the third field 
leading "*" and it worked fine.

But now, with your patch, you MUST change it to

news.foo.com::*,@net
caissa.franken.de::*
localhost::*

With "news.foo.com::@net.*" you will loose ALL incoming articles 
from that peer! It doesn't work without the third field leading
star.

Recognized that about 30 minutes after starting my patched
1.7. And I have REMEMBER_TRASH DO... :-(

Technical Details
Message-ID: <63unko$ogt$1@krell.snafu.de>
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!not-for-mail
References: <63qrig$ci8@panix4.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <63unko$ogt$1@krell.snafu.de>
Subject: Re: [INND] blocking incoming articles based on newsgroups line
Date: Fri, 07 Nov 1997 00:00:00 +0000
From: Bettina Fink <laura@krell.snafu.de>
References: <63qrig$ci8@panix4.panix.com>
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!not-for-mail
X-Deja-AN: 287627042
X-Excuse: Constantly confused
Organization: Department of Fun & Games
User-Agent: tin/pre-1.4-971106 (UNIX) (Linux/2.0.31 (i586))
Newsgroups: news.software.nntp