Article View: news.software.nntp
Article #84614Re: vague plans for one more "news server" software
From: Ivan Shmakov
Date: Tue, 17 Jan 2012 09:58
Date: Tue, 17 Jan 2012 09:58
112 lines
6145 bytes
6145 bytes
>>>>> River Tarnell <river@RT.UK.EU.ORG> writes:
>>>>> In article <86y5t6hhnm.fsf_-_@gray.siamics.net> Ivan Shmakov wrote:
>> To this end, I believe it's essential to outrightly discard
>> non-ASCII article headers, /and/ non-ASCII article bodies of the
>> articles lacking proper MIME headers, as both are ambiguous as to
>> what character encoding is used.
> This will discard all yEnc-encoded binaries, although you may not
> care about that.
It's hardly of any value to me, but the primary question is
whether I'd be able to unambiguously detect the use of a
particular encoding? For sure, I'd prefer using MIME
exclusively for this end.
>> Also, I consider using an RDBMS to store particular (Message-ID:,
>> References:), if not all, of the message headers, so to allow for
>> instant threading.
> This is called the overview database, and it's already implemented
> for the OVER (or XOVER) command, which most clients use for threading
> without having to download the entire message.
Indeed, and this database will be used to back the XOVER command
in particular. (Note that I've explicitly mentioned XOVER in
the original article.)
> See RFC3977 section 8.3. Unfortunately there's no way to handle
> non-ASCII text in the overview.
Yes there is, as long as RFC 2047 is used.
While RFC 3977 says that the header contents "SHOULD be in
UTF-8", it doesn't seem to suggest any way to discern proper
UTF-8-encoded headers from similarly-looking octet sequences.
OTOH, RFC 5322 (which, as long as this issue is concerned, could
be considered a sibling of a kind to both RFC 1036 and RFC 3977)
explicitly defines the ("unstructured") header fields' bodies as
"any printable US-ASCII characters plus white space characters".
As RFC 5322 definition of the message header allows for much
less ambiguity in this respect, I'm inclined to disallow
non-7-bit message headers completely.
(Internally, the components of the system I propose would use a
protocol different to NNTP for communication, so non-ASCII text
anywhere, and even raw binary data, won't be a problem.)
>> If possible, a few more transformations would also be implemented.
>> In particular, it may be possible to transform any armored OpenPGP
>> signatures into their MIME-based counterparts.
> I think you need to be careful modifying message bodies. For
> example, when I send PGP-signed messages on Usenet, I always use the
> legacy PGP encoding[0]. If you converted this into MIME, and it
> offended someone who dislikes MIME, then they would blame me for it.
Actually, that's precisely what OpenPGP signatures are for: to
be able to detect if the message was tampered. (Which makes me
doubt whether such a transformation is possible at all.)
> Also note that when you relay messages to another server, you are not
> allowed to make *any* changes to the message except for Path and Xref
> (RFC 5537, section 3.6).
For this reason, I don't consider relaying at this moment at
all. (Not that I've stated that the software in question is
aimed at strict RFC 5537 compliance.)
> [0] Firstly because my client doesn't support OpenPGP, but also
> because MIME messages are fairly ugly for people using
> non-MIME-capable reader software.
Somehow, I'm inclined to think that it's the support for legacy
software that draws Usenet towards its demise. (Though I may
easily be wrong.)
>> I also intend to compute message digests (SHA 256, SHA-1) for the
>> MIME parts of over some trivial (1024 octets or so) size, and
>> aggressively replace duplicates with links.
> Most people already do this for the entire message, but duplicates
> are discarded than than de-duped. (Used to filter EMP.)
ACK, thanks.
For individual MIME parts, however, I believe that de-duping may
be more appropriate.
>>> However, given the lack of any way to post new messages via IMAP,
>>> I'm not sure it would be very useful for Usenet.
>> The IMAP protocol allows for both retrieval /and/ storage of
>> messages. In particular, certain MUA's allow for the copies of the
>> messages sent via e-mail to be saved into a dedicated IMAP mailbox.
>> Although unconventional, I guess that the MUA's could be changed to
>> use such a functionality to post new messages.
> It might be possible to implement, but that requires the project be
> active and have developers willing to spend time on Usenet
> improvements, which is not always the case. AIUI, even Mozilla's
> NNTP support is fairly decrepit, even though that's a very active
> project.
Agreed.
> I think the version of trn I'm using was released around 2001.
--
FSF associate member #7257
Technical Details
Message-ID:
<86ehuyhcr4.fsf@gray.siamics.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mailReferences:
<86ehv6pva6.fsf@gray.siamics.net> <86hazwjnpt.fsf@gray.siamics.net> <jf0rn9$f95$1@isis.rt.uk.eu.org> <86y5t6hhnm.fsf_-_@gray.siamics.net> <jf3dkn$one$1@isis.rt.uk.eu.org>Show Full Headers
Complete Article Headers
Message-ID: <86ehuyhcr4.fsf@gray.siamics.net> Subject: Re: vague plans for one more "news server" software Date: Tue, 17 Jan 2012 16:58:07 +0700 From: Ivan Shmakov <oneingray@gmail.com> References: <86ehv6pva6.fsf@gray.siamics.net> <86hazwjnpt.fsf@gray.siamics.net> <jf0rn9$f95$1@isis.rt.uk.eu.org> <86y5t6hhnm.fsf_-_@gray.siamics.net> <jf3dkn$one$1@isis.rt.uk.eu.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Newsgroups: news.misc,news.software.nntp Organization: Aioe.org NNTP Server Lines: 112 NNTP-Posting-Host: FtDGZaUx6k7Bzdiv4MgYAg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:olpA/cDE1IXkWWvCWPCoXuGTicI=