Article View: news.software.nntp
Article #38282Re: Control Messages (??!)
From: Andrew Gierth
Date: Sat, 26 Jun 1999 00:00
Date: Sat, 26 Jun 1999 00:00
41 lines
2292 bytes
2292 bytes
>>>>> "Filip" == Filip Maertens <filip.maertens@student.kuleuven.ac.be> writes:
Filip> Hi news.software.nntp,
Filip> I'm in desperate need for an exact example of a control
Filip> message, for the cancel command. I'm working on a small w98
Filip> (vc++) project in which we are creating an integrated suite of
Filip> internet software, but the RFC isn't supplying me enough
Filip> explanation on this matter, therefore, I'd -really- appreciate
Filip> it if someone would be so kind to post a full control-message
Filip> of the cancel command.
As far as a normal newsreading client is concerned, a cancel looks
exactly like a normal post, but with
Subject: cmsg cancel <original-message-id>
Control: cancel <original-message-id>
The other headers should be generated in exactly the same way as for
normal posts.
(The Subject: header is only like that for historical compatibility,
and ancient history at that; it's the Control header that does the
work.)
For well-behaved client software, you should prevent the user issuing
cancels for posts that they didn't themselves post.
There are some specific conventions for third-party cancels; do *NOT*
use these in normal client software. Specifically:
- do NOT derive the message-id of the cancel from that of the original
article
- do NOT include an X-Cancelled-By header
- do NOT try and do anything with the Path line
--
Andrew.
Technical Details
Message-ID:
<871zeylj1k.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!not-for-mailReferences:
<37750844.78EC8E23@student.kuleuven.ac.be>Show Full Headers
Complete Article Headers
Message-ID: <871zeylj1k.fsf@erlenstar.demon.co.uk> Subject: Re: Control Messages (??!) Date: Sat, 26 Jun 1999 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <37750844.78EC8E23@student.kuleuven.ac.be> 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!not-for-mail X-Deja-AN: 494260540 X-Mayan-Date: Long count = 12.19.6.5.11; tzolkin = 2 Chuen; haab = 19 Zotz X-Complaints-To: andrew@erlenstar.demon.co.uk Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-P-Persistent-Headers: are a bad idea. Newsgroups: news.software.nntp X-Post-Filter: postfilter v0.6 alpha