Article View: news.software.nntp
Article #54447Re: where can i set filter with inn2.3.1
From: madog
Date: Mon, 01 Oct 2001 16:01
Date: Mon, 01 Oct 2001 16:01
57 lines
3374 bytes
3374 bytes
"Andrew Gierth" <andrew@erlenstar.demon.co.uk> wrote in message
news:87zo7bnbji.fsf@erlenstar.demon.co.uk...
> >>>>> "madog" == madog <no@no.no> writes:
>
> madog> for example, i'd like to deny all the posts from user aaa or
> madog> from email address aaa@bbb.ccc how can i apply that ? thanks
>
> sigh. You should have found that out _before_ running a
> wide-open-to-the-whole-world server....
do not understand
> There are two basic methods for limiting who can post. One is to allow
> only authenticated users (or only certain IPs) to post; see
> readers.conf for how to set that up. The other is to use the Perl
> filters; filter_nnrpd is used for all local posts, and filter_innd is
> used for all traffic both local and incoming from feeds.
>
> (However, you're almost certainly not going to be able to prevent
> abuse using the perl filters alone unless you work really hard at it.)
>
> The perl filter can be used to block posts by From address or other
> header values pretty easily:
>
> sub filter_nnrpd
> {
> return "post not allowed with this address"
> if $hdr{From} =~ /aaa\@bbb\.ccc/;
> return "";
> }
>
> will reject posts with that specific string in the From header.
i don't know perl, i want to know if i can do that with inn settings
reader.conf might be the file i am looking for, but i am not sure
> The hard part is that things like From headers are user-supplied and
> therefore forgeable (and spamming and flooding tools will generate
> random ones).
i know that, but there are too much advertisement
filter them by email address is obvious not the best way, but the only way i
can thing of
> BTW: I've aliased you out on my servers; if you want me to see any of
> your further posts you can email me or post via another site. This may
> sound harsh, but given current levels of abuse it's necessary. If you
> implement user authentication or are otherwise satisfied that your
> system can not be abused, then let me know and I'll unalias you.
what do you mean "alias you out" ? filter ? and why ?
i am also confuesed about user authentication, why do i need that ?
thanks
Technical Details
Message-ID:
<9pa417$vdo$1@madogcc.myip.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!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!cyclone-sf.pbi.net!64.245.249.51!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!madogcc.myip.org!not-for-mailReferences:
<9p8sre$rkj$1@madogcc.myip.org> <87zo7bnbji.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <9pa417$vdo$1@madogcc.myip.org> Subject: Re: where can i set filter with inn2.3.1 Date: Tue, 2 Oct 2001 00:01:49 +0800 From: "madog" <no@no.no> References: <9p8sre$rkj$1@madogcc.myip.org> <87zo7bnbji.fsf@erlenstar.demon.co.uk> 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!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!cyclone-sf.pbi.net!64.245.249.51!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!madogcc.myip.org!not-for-mail Newsgroups: news.software.nntp Organization: madogcc.myip.org Lines: 56 NNTP-Posting-Host: 61.141.205.90 X-Trace: mail.cn99.com 1001952791 2097 61.141.205.90 (1 Oct 2001 16:13:11 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Mon, 1 Oct 2001 16:13:11 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000