🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20256

Additions to filter_innd.pl for site filtering

#20256
From: Steve Lodin
Date: Wed, 06 Aug 1997 00:00
23 lines
1087 bytes


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 


Steve
-- 
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479

                    Noisy engineers are happy engineers.
                 Quiet engineers are updating their resumes.

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <5saqha$p95$1@kocrsv08.delcoelect.com>
Subject: Additions to filter_innd.pl for site filtering
Date: Wed, 06 Aug 1997 00:00:00 +0000
From: swlodin@delcoelect.com (Steve Lodin)
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: 263688261
Organization: Delco Electronics Corp.
Newsgroups: news.software.nntp
Originator: swlodin@kocrsw26