🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79986

Re: Cleanfeed => block_binaries

#79986
From: Steve
Date: Tue, 06 Jan 2009 21:16
25 lines
1641 bytes
On Tue, 6 Jan 2009 21:08:38 +0000 (UTC), Son of Serpent Esq wrote in
Message-Id: <slrngm7i2m.7qf.junior@tioat.net>:

> I can not get the block_binaries filter to work.
Have you got any logging of binary rejects?  Doing so will make it
easier to diagnose what the problem might be.

If not, try adding something like this in cleanfeed.local:-

sub local_filter_reject {
...
    saveart('cf.binary', $vr) if $vr =~ /^Binary/;
...
};

Where the ... indicates anything else you might have defined within the
local_filter_reject function.

Do a "perl -wc cleanfeed.local" to ensure there's no syntax errors, then
reload the filter with "ctlinnd reload filter.perl bin logging".

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <slrngm7igo.5c4.steve@news.mixmin.net>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mail
References: <slrngm7i2m.7qf.junior@tioat.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrngm7igo.5c4.steve@news.mixmin.net>
Subject: Re: Cleanfeed => block_binaries
Date: Tue, 06 Jan 2009 21:16:08 +0000
From: Steve <steve@mixmin.net>
References: <slrngm7i2m.7qf.junior@tioat.net>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 25
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Tue, 6 Jan 2009 21:16:08 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)