🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20440

Re: Additions to filter_innd.pl for site filtering

#20440
From: J. Porter Clark
Date: Tue, 12 Aug 1997 00:00
23 lines
1320 bytes
swlodin@delcoelect.com (Steve Lodin) writes:

>Here is some simple code to filter out specific sites.  This was done
>before the Usenet Death Penalty to UUNET :-)


>  ##
>  # For individual site filtering
>  ##
>  return "Site rejected"
>        if (($hdr{"Message-ID"} =~ /alterdial.uu.net/i) ||
>            ($hdr{"Message-ID"} =~ /foo.bar.blah/i));	# test 

Of course, if you do this, you reject not only alterdial posts, but
$alz-convention cancels for same.  Which might be what you want, might
not.

-- 
J. Porter Clark    jpc@drum.msfc.nasa.gov
NASA/MSFC Flight Data Systems Branch

Technical Details
Message-ID: <5spofh$17q@anvil.msfc.nasa.gov>
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: <5saqha$p95$1@kocrsv08.delcoelect.com>

Show Full Headers
Complete Article Headers
Message-ID: <5spofh$17q@anvil.msfc.nasa.gov>
Subject: Re: Additions to filter_innd.pl for site filtering
Date: Tue, 12 Aug 1997 00:00:00 +0000
From: jpc@drum.msfc.nasa.gov (J. Porter Clark)
References: <5saqha$p95$1@kocrsv08.delcoelect.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: 263709539
Sender: jpc@hammer.msfc.nasa.gov
X-Complaints-To: abuse@news.msfc.nasa.gov
X-Trace: hammer.msfc.nasa.gov 871392562 14554 (None) 128.158.174.89
Organization: NASA/MSFC
Newsgroups: news.software.nntp