🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73678

Re: leafnode filter for html only posts

#73678
From: Troy Piggins
Date: Wed, 24 May 2006 04:59
33 lines
2127 bytes
* Troy Piggins wrote:
> I added this to my /etc/news/leafnode/filters file:
>
> ^Content-Type:.*text\/html
>
> but this message got through (some headers snipped as well as the html
> only body):
>
> # Message-ID: <4473108f$2$64744$afc38c87@news7.united-newsserver.de>
> # From: ADMIN<admin@cooly-invest.de>
> # Newsgroups: alt.games.half-life
> # Subject: Earn up to 1000 $ per month only for reading your Mails!!!!!!!!
> # Date: Tue, 23 May 2006 15:39:36 +0200
> # Lines: 11
> # X-Newsreader: BNews2004v20
> # Content-Type: text/html
> # Organization: united-newsserver, Premium-Usenet
> # NNTP-Posting-Host: 8f671b03.news7.united-newsserver.de
> # X-Trace: DXC=6i4;o=3iMm`B>UZAXWB0>bFiD@lY;^KBkBC:KKd9];BhMUVmBR?DeOoC;Q<BDF
> #   U_nj9
> # X-Complaints-To: abuse@united-newsserver.de
>
> What's wrong with my filters line?  How else can I block html only
> posts?

Never mind.  My "new" leafnode installation did not have the filters
file enabled :-(

Now filterfile is properly defined and the filters seem to work.

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <20060524145655@usenet.piggo.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060524080932@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <20060524145655@usenet.piggo.com>
Subject: Re: leafnode filter for html only posts
Date: Wed, 24 May 2006 14:59:53 +1000
From: Troy Piggins <usenet-0605@piggo.com>
References: <20060524080932@usenet.piggo.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.nntp
Reply-To: usenet-0605@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 33
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1148447947 per-qv1-newsreader-01.iinet.net.au 3639 203.206.74.180