🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Troy Piggins Tue, 23 May 2006 22:13
leafnode filter for html only posts
#73677
Author: 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 
Re: leafnode filter for html only posts
#73678
Author: 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 
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