Thread View: news.software.nntp
2 messages
2 total messages
Started by Steve Lodin
Wed, 06 Aug 1997 00:00
Additions to filter_innd.pl for site filtering
Author: Steve Lodin
Date: Wed, 06 Aug 1997 00:00
Date: Wed, 06 Aug 1997 00:00
23 lines
1087 bytes
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.
Re: Additions to filter_innd.pl for site filtering
Author: J. Porter Clark
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
23 lines
1320 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads