🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70331

Re: [INN 2.4] Scan posts for viruses + allow only text formated posts

#70331
From: Jeffrey M. Vinocur
Date: Thu, 18 Nov 2004 00:53
25 lines
2128 bytes
In article <mn.90277d4b23b86c4d.22232@nospam.com>,
Stef SM  <nospam@nospam.com> wrote:
>
>The users who can post news are registered and can post attachments 
>that i would like to scan for viruses as it is done for the e-mails.  
>Does anyone know how to do that ?
>
>Another question is : i'd like to allow only text formated posts (no 
>html). Is it possible to configure inn to do that ?

INN has the ability to filter posts using Perl or Python scripts.
You can write your own (directions are in the "hook-perl" and
"hook-python" files that come with INN), or you can install an
existing filter package like Cleanfeed.

Cleanfeed is quite complex and takes some fiddling to configure
as desired.  I believe the default is to filter HTML posts, and
you can also filter some aspects of posting binaries.  However,
if you want to plug in a third-party virus scanner, you'd have to
write some of that interface code yourself.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <cngrph$3p1$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <mn.90277d4b23b86c4d.22232@nospam.com>

Show Full Headers
Complete Article Headers
Message-ID: <cngrph$3p1$1@puck.litech.org>
Subject: Re: [INN 2.4] Scan posts for viruses + allow only text formated posts
Date: Thu, 18 Nov 2004 00:53:06 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <mn.90277d4b23b86c4d.22232@nospam.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 25
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1100739186 3873 66.218.0.75 (18 Nov 2004 00:53:06 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 18 Nov 2004 00:53:06 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)