Re: Encoded newsgroup-names

New Message Reply About this list Date view Thread view Subject view Author view

From: Graham Drabble (graham.drabble@lineone.net)
Date: Sat Jul 20 2002 - 18:05:42 CDT


On 19 Jul 2002 "Charles Lindsey" <chl@clw.cs.man.ac.uk> wrote in
news:GzIE3G.2Mt@clw.cs.man.ac.uk:

> In duties of Injecting Agents:
> which becomes:
>
> 4. It MUST reject any article that does not have the correct
> mandatory headers for a proto-article (5 and 8.2.1)
> present, or which contains any header that does not have
> legal contents, and it SHOULD reject any article which
> contains any header deprecated for Netnews (4.2.1). In
> particular, it MUST reject any article whose
> Newsgroups-header or Followup-To-header contains an
> encoded newsgroup-name (5.5.2) although it MAY instead
> decode those newsgroup-names and continue (this being a
> useful service for moderators using that injecting agent,
> see 8.7).

Can you have a MUST ... OR ? It seems contradictory.
 
> Does anyone want to upgrade that MAY to a SHOULD?

How about

particular, it MUST either reject or decode (this being a useful
service for moderators using that injecting agent) any article whose
Newsgroups-header or Followup-To-header contains an encoded newsgroup-
name (5.5.2).
 
> which becomes:
>
> 5. Otherwise, he causes the article to be injected, having
> first
> decoded any encoded newgroup-name (5.5.2), unless his
> injecting offers that service (8.2.2), and having observed
                   ^^^
                   agent

> all the duties of a posting agent (8.5).
>
> which becomes:
>
> Articles will be received by the moderator either encapsulated
> as an object of Content-Type application/news-transmission
> (8.2.2) (or possibly encapsulated but without an explicit
> Content-Type-header), or else directly as an email already
> containing all the headers appropriate for a Netnews article
> (see 8.2.2) in which case he needs to be aware of the Duties of
> an Incoming Gateway (8.8.2) (and, in particular, he SHOULD
> adopt the Message-ID- and Date-headers of the email message,
> though he SHOULD NOT add any Sender-header). Moderators SHOULD
> be prepared to accept articles in either format.

I think you are being overly optomistic here. There are many moderators
who will not deal with application/news-transmission either on
principle or because they can't.

Incidently I took up Charles offer to try and deal with an article in
that format. It took me less than 30 minutes to write the necessary
script to a) Detect and remove the QP encoding he put on the message
and then b) turn it into a "normal" news article that can be inejected.
Script available from
http://website.lineone.net?~graham.drabble/encaps.pl if anyone wants to
look at / refine it.

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.


New Message Reply About this list Date view Thread view Subject view Author view


This archive was generated by hypermail 2b29.