Article View: news.software.nntp
Article #57623Re: [inn2] Blocking control message
From: 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.
Technical Details
Message-ID:
<ylsn6pgkuf.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!nntp.stanford.edu!not-for-mailReferences:
<a7mgce$3d1$1@justice.csc.cuhk.edu.hk>Show Full Headers
Complete Article Headers
Message-ID: <ylsn6pgkuf.fsf@windlord.stanford.edu> Subject: Re: [inn2] Blocking control message Date: Sun, 24 Mar 2002 23:36:24 -0800 From: Russ Allbery <rra@stanford.edu> References: <a7mgce$3d1$1@justice.csc.cuhk.edu.hk> 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!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 14 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1017041784 18040 171.64.13.23 (25 Mar 2002 07:36:24 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6) Cancel-Lock: sha1:A/ot/UXBkprZ9P7kw7i6Wf+K/EQ=