Article View: news.software.nntp
Article #64493Re: INN filter help ~
From: Terminator
Date: Sat, 22 Mar 2003 02:33
Date: Sat, 22 Mar 2003 02:33
36 lines
2820 bytes
2820 bytes
Thanks for your kindly reply,
I will try it ~
Thanks ~
�C�C* Terminator * �C�C~~~ Fight for the Justice ~~~
"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.
* ~ let us linux ~ *
-----= 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:
<3e7cac6d$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!headwall.stanford.edu!newsfeed.utk.edu!news-out.newsfeeds.com!l2!corp.newsgroups.com!lungfunggdn.orgReferences:
<3e7beb44$1@lungfunggdn.org> <yl1y107kfo.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3e7cac6d$1@lungfunggdn.org> Subject: Re: INN filter help ~ Date: Sat, 22 Mar 2003 02:33:17 +0000 From: "Terminator" <terminator@terminator.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!headwall.stanford.edu!newsfeed.utk.edu!news-out.newsfeeds.com!l2!corp.newsgroups.com!lungfunggdn.org Newsgroups: news.software.nntp Lines: 29 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Original-NNTP-Posting-Host: 192.168.123.132 X-Original-Trace: 22 Mar 2003 10:33:17 +0800, 192.168.123.132 NNTP-Posting-Host: 202.60.228.88 X-Trace: corp.newsgroups.com 1048300589 202.60.228.88 (21 Mar 2003 20:36:29 -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.