🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64536

Re: INN filter help ~

#64536
From: Arthur
Date: Wed, 26 Mar 2003 14:27
36 lines
2741 bytes
Sorry for my stupid question,
where can i put this $BODY???

--
Arthur


"Russ Allbery" <rra@stanford.edu> wrote in message news:yl1y107kfo.fsf@windlord.stanford.edu...
> Terminator <terminator@terminator.com> writes:
>
> > I try to set the filter of my INN server and with
>
> > # vi /usr/bin/filter/filter_nnrpd.pl
> >  if ($hdr{"Subject"} =~ /notallowedwords/i) {
> >        $rval = "Spam is not acceptable here...";
> >  }
>
> > I can reject the message with some bad words in the Subject, but does
> > someone know how to reject bad words in the body of the message ?  If
> > you don't understand my question, you don't need to answer me.
>
> nnrpd will put the body of the message in $body.
>
> --
> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>           Please post questions rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----
Technical Details
Message-ID: <3e8299d8$1@lungfunggdn.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-out.newsfeeds.com!l2!corp.newsgroups.com!lungfunggdn.org
References: <3e7beb44$1@lungfunggdn.org> <yl1y107kfo.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3e8299d8$1@lungfunggdn.org>
Subject: Re: INN filter help ~
Date: Wed, 26 Mar 2003 14:27:36 +0000
From: "Arthur" <arthur76@sinaman.com>
References: <3e7beb44$1@lungfunggdn.org> <yl1y107kfo.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-out.newsfeeds.com!l2!corp.newsgroups.com!lungfunggdn.org
Newsgroups: news.software.nntp
Lines: 30
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: 218.252.56.12
X-Original-Trace: 26 Mar 2003 22:27:36 +0800, 218.252.56.12
NNTP-Posting-Host: 202.60.228.88
X-Trace: corp.newsgroups.com 1048689016 202.60.228.88 (26 Mar 2003 08:30:16 -0600)
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups.