🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32546

Re: News server enforcing rules

#32546
From: J$
Date: Fri, 04 Apr 1997 00:00
59 lines
2711 bytes
Sven Guckes [SG]:

SG] Is there a news server somewhere that enforces the following rules?

I'd be surprised if there isn't a single news server that doesn't at least
obey _some_ of the things on your list.  [snip]

[...]

SG] And if there is one - can I get access to it?  :-)

Version 1.5.x of the INN software can do quite a bit of things (using
perl-driven article filtering).  However, when filtering you only have
access to an associative array, containing the headers.  An example,
(from memory -- excuses, excuses):

filter_article {
	unset $rval;
	if($hdr{'Subject'} =~ /make.*money/i) {$rval = "spam refused";}

	$rval;
}

Doing full filtering -- i.e. acceptability testing on the full message
-- shouldn't be too hard to patch into it.  However, I'm sure you
realise that performance may suffer severely.  But I guess that won't
be much of an issue, if you actually implemented this level of
strictness on a server people other than yourself are dependent upon,
you may find, erm, other issues arise before you get around to worrying
about performance issues.

Oh, and there's only acceptance filtering available.  Articles get
accepted or rejected; I wouldn't know what particular difference in
behaviour you have in mind regarding `autokill' vs. `reject'.

The presently, using only standard software, feasible options when
filtering articles clients (for feed-filtering only `standard headers'
are available) are:

Rejecting...
	Posts from syntactically invalid addresses.	(for feeds too)
	MIME (if headers are set properly, anyway).
	HTML (if headers are set properly, anyway).
	Crappy newsreaders (based on X-Mailer or X-Newsreader).
	Excessive crossposts without acceptable Followup-To: set.
	Excessive crossposts alltogether.
	Particular subject:s (i.e. containing $$$, "MAKE MONEY", ...)

Note, I'm not applauding all of these.  Some of them, yeay, but...


So.  Wanna write a patch that, along with the $hdr stuff, also
initialises a $bdy to filter on?				:-)


-- J$

Technical Details
Message-ID: <5i35sc$bsf$1@moe.serv.phil.ruu.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn5k7r2r.8as.guckes@banach.math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <5i35sc$bsf$1@moe.serv.phil.ruu.nl>
Subject: Re: News server enforcing rules
Date: Fri, 04 Apr 1997 00:00:00 +0000
From: J$ <js@xs4all.nl>
References: <slrn5k7r2r.8as.guckes@banach.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 230678333
X-Date: Fri, 1312 Sep 1993 16:47:45 +0100
Followup-To: news.software.readers
Organization: Al-Munqidh min-al-Dalaal
Reply-To: J$ <js@xs4all.nl>
Newsgroups: news.software.readers