Thread View: news.software.nntp
2 messages
2 total messages
Started by Johnson Lau
Mon, 25 Mar 2002 06:33
[inn2] Blocking control message
Author: Johnson Lau
Date: Mon, 25 Mar 2002 06:33
Date: Mon, 25 Mar 2002 06:33
9 lines
1182 bytes
1182 bytes
I want to block any cancel / control messages.
Is that enough if I put this in filter_nnrpd.pl ?
if ($hdr{"Control"}) {$rval = "No control message"};
Thanks
Re: [inn2] Blocking control message
Author: Russ Allbery
Date: Mon, 25 Mar 2002 07:36
Date: Mon, 25 Mar 2002 07:36
15 lines
1482 bytes
1482 bytes
Johnson Lau <johnson@siukeung.com> writes:
> I want to block any cancel / control messages.
> Is that enough if I put this in filter_nnrpd.pl ?
> if ($hdr{"Control"}) {$rval = "No control message"};
Yup, assuming $rval is later returned to the caller of filter_post.
--
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.
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