🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73677

leafnode filter for html only posts

#73677
From: Troy Piggins
Date: Tue, 23 May 2006 22:13
27 lines
1853 bytes
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?

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <20060524080932@usenet.piggo.com>
Subject: leafnode filter for html only posts
Date: Wed, 24 May 2006 08:13:07 +1000
From: Troy Piggins <usenet-0605@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: 27
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1148425185 per-qv1-newsreader-01.iinet.net.au 3611 203.206.74.180