🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #119842

Re: All your text/html are belong to us.

#119842
From: Steve Crook
Date: Fri, 25 Sep 2009 16:01
34 lines
2702 bytes
On Fri, 18 Sep 2009 15:42:56 +0000 (UTC), Steve Crook wrote in
Message-Id: <slrnhb7ak0.48o.steve@news.mixmin.net>:

>> As long as we are on the subject: With "block_html => 0," html posts
>> were still being rejected. I ended up commenting out the code that
>> started with "return reject('HTML post')" at around line 870 to 880.
>
> Yes, I've been looking at the HTML code this afternoon and there are a
> few issues with it.  I'll try and rework a lot of it over the weekend.
> I'll let you know when there's a updated dev version to download.

Well as it turned out, there were a lot of problems in Cleanfeed with
regard to HTML handling.  The MIME attached HTML filter was completely
borked and it lacked any granularity of control with regard to embedded
images and the likes.  There is now a development version available with
some updates in it.

http://www.mixmin.net/svn/cleanfeed/trunk/cleanfeed

To capture what it's doing, you might want something like this in your
cleanfeed.local:

sub local_filter_reject {
    saveart('cf.html', $vr) if $vr =~ /^HTML|MIME/;

The new config options are described on the man page:
http://www.mixmin.net/cleanfeed/config.html

In short, the options are:
block_html       Reject anything with a Content-Type: text/html header.
block_html_img   Reject any HTML with embedded <img> tags.
block_mime_html  Reject filename.htm(l) attached files.
block_multi_alt	 Reject any Multipart/Alternative MIME
The first three are enabled by default, the fourth is disabled.
Technical Details
Message-ID: <slrnhbpqb8.8aq.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
References: <mn.62227d99c01a99ef.100014@news.motzarella.org> <509.1252799320.20090912@spam-free.org.uk> <yMWqm.174937$O23.108058@newsfe11.iad> <512.1252838801.20090913@spam-free.org.uk> <_@Jeff_Relf.Seattle.2009_Sep17.11.33pm.Kr> <slrnhb6mel.48o.steve@news.mixmin.net> <h908jv$i9c$3@tioat.net> <slrnhb7ak0.48o.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhbpqb8.8aq.steve@news.mixmin.net>
Subject: Re: All your text/html are belong to us.
Date: Fri, 25 Sep 2009 16:01:44 +0000
From: Steve Crook <steve@mixmin.net>
References: <mn.62227d99c01a99ef.100014@news.motzarella.org> <509.1252799320.20090912@spam-free.org.uk> <yMWqm.174937$O23.108058@newsfe11.iad> <512.1252838801.20090913@spam-free.org.uk> <_@Jeff_Relf.Seattle.2009_Sep17.11.33pm.Kr> <slrnhb6mel.48o.steve@news.mixmin.net> <h908jv$i9c$3@tioat.net> <slrnhb7ak0.48o.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
Newsgroups: alt.free.newsservers
Organization: Mixmin
Lines: 34
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Fri, 25 Sep 2009 16:01:44 +0000 (UTC)
User-Agent: slrn/pre1.0.0-11 (Linux)