🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Stupid Sun, 07 May 2000 00:00
filter tutorial
#46334
Author: Stupid
Date: Sun, 07 May 2000 00:00
7 lines
949 bytes
any useful filtering tutorals on the web?
I want to filter people cancelling messages.
I 've browsed those URL mentioned in INN but can't found useful one.

Thanks

Re: filter tutorial
#46326
Author: Andrew Gierth
Date: Sun, 07 May 2000 00:00
24 lines
1422 bytes
>>>>> "Stupid" == Stupid  <stupidlui@cuhk.edu.hk> writes:

 Stupid> any useful filtering tutorals on the web?
 Stupid> I want to filter people cancelling messages.

If you want to stop your local users from posting cancels, then
put something like this in filter_nnrpd.pl:

sub filter_post
{
    return "cancels not permitted here"
        if ($hdr{Control} =~ /^cancel/i);
    return "supersedes not permitted here"
        if (exists($hdr{Supersedes}));
    return "";
}

If you want to stop cancels from actually taking effect, then look
at the -C flag to innd.

-- 
Andrew.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads