Article View: news.software.nntp
Article #60010Re: Configuring readers.conf
From: Mike Mimic
Date: Fri, 23 Aug 2002 12:45
Date: Fri, 23 Aug 2002 12:45
31 lines
1902 bytes
1902 bytes
Hi!
Russ Allbery wrote:
> Mike Mimic <ppagee@yahoo.com> writes:
>
>
>>But where can I find a filter which will disallow any cross posting on
>>my server (so I will get rid of spam and will get rid of local spam,
>>too)?
>>
>
> If you're happy disallowing *any* crossposting, the following Perl filter
> should do it:
>
> sub filter_post {
> if ($hdr{'Newsgroups'} =~ /,/) {
> return "Crossposting is not allowed";
> }
> return "";
> }
>
> Install it as filter_nnrpd.pl.
Thanks (for everything).
Mike
Technical Details
Message-ID:
<3D662E58.5060201@yahoo.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hub.siol.net!kanja.arnes.si!planja.arnes.si!not-for-mailReferences:
<3D624F8E.8010707@yahoo.com> <ajude5$l4t$1@puck.litech.org> <3D62C8C0.30004@yahoo.com> <ylptwdt615.fsf@windlord.stanford.edu> <3D63707E.5090507@yahoo.com> <yladngrzy2.fsf@windlord.stanford.edu> <3D647AC7.8080404@yahoo.com> <ylvg63yrf8.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3D662E58.5060201@yahoo.com> Subject: Re: Configuring readers.conf Date: Fri, 23 Aug 2002 14:45:12 +0200 From: Mike Mimic <ppagee@yahoo.com> References: <3D624F8E.8010707@yahoo.com> <ajude5$l4t$1@puck.litech.org> <3D62C8C0.30004@yahoo.com> <ylptwdt615.fsf@windlord.stanford.edu> <3D63707E.5090507@yahoo.com> <yladngrzy2.fsf@windlord.stanford.edu> <3D647AC7.8080404@yahoo.com> <ylvg63yrf8.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hub.siol.net!kanja.arnes.si!planja.arnes.si!not-for-mail Newsgroups: news.software.nntp Organization: ARNES Lines: 30 NNTP-Posting-Host: mb9-87i.dial-up.arnes.si Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: planja.arnes.si 1030106733 28247 194.249.6.215 (23 Aug 2002 12:45:33 GMT) X-Complaints-To: abuse@arnes.si NNTP-Posting-Date: Fri, 23 Aug 2002 12:45:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: fr-fr