Article View: news.software.nntp
Article #23089Re: Checking message-ID validity?
From: Matt Dillon
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
50 lines
3287 bytes
3287 bytes
:In article <647hf6$q2v$1@zeus.fw.cuci.nl>,
:Stephen R. van den Berg <srb@zeus.fw.cuci.nl> wrote:
:>Simon Lyall <simon@darkmere.gen.nz> wrote:
:>>Bill Stewart-Cole <bill@scconsult.com> wrote:
:>>>I dug into the RFC822 spec and ran through the syntax a couple times and
:>>>was convinced that <"> was illegal. I even dug into the formail source a
:>
:>>RFC1036 is the news standard. Unfortunately is leaves a lot out ( the
:>>legal characters in a newsgroup name for example). Son of RFC1036 is also
:>>incomplete in places.
:>
:>True. But Message-IDs are things which are *perfectly* described in RFC822.
:>There is no room for misinterpretation, and there is no room for error.
:>I don't see any compelling reason why we should make message-IDs in
:>news incompatible with those in the regular mail system. It would only
:>make mail-news gateways (and vice versa) more complicated than necessary
:>for no apparent benenfits.
:>
:>In the case of formail, the reason *why* the message id is being generated
:>in a <"abcd"@abcd> fashion, is because it makes the left part of the
:>message ID *case sensitive*. This serves the purpose to reduce the size
:>and length of the message-ID but keep the same entropy.
:>If this would have to be given up, the lefthand side of the ID would roughly
:>double in size (and for what? Most systems are more happy with shorter
:>sequences, and are faster at doing case-sensitive compares anyway).
Well, RFC 822 defines a message-id as basically being an address
specification. Personally I think this is broken. However, even in
RFC 822 the local-part of the message-id is specified as being case
sensitive. You do not need quotes to make it case sensitive. You
do need quotes if the local-part contains a special character such as
a space, but this does not change the case-sensitive nature of the
object.
The domain part of a message-id in RFC 822 must be a valid domain name,
but the RFC specifies that it is basically made up of 'atoms'. The RFC
is unclear about the casing here but, personally, I treat message-id's
as case sensitive objects in their entirety and believe that case must
be preserved.
Anyone who treats a message-id as a case insensitive entity or writes
software that freely 'adjusts' the casing in a message-id is seriously
broken. Personally I believe that having quotes in message-id's is also
broken, but the standards do explicitly allow quoting in the local-part.
-Matt
Technical Details
Message-ID:
<647pjn$81m$1@flea.best.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.mbox.zip!not-for-mailReferences:
<642jpr$4cm$1@khavrinen.lcs.mit.edu> <bill-1011970057250001@sc1.scconsult.com> <646u9v$j8k@darkmere.gen.nz> <647hf6$q2v$1@zeus.fw.cuci.nl>Show Full Headers
Complete Article Headers
Message-ID: <647pjn$81m$1@flea.best.net> Subject: Re: Checking message-ID validity? Date: Mon, 10 Nov 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <642jpr$4cm$1@khavrinen.lcs.mit.edu> <bill-1011970057250001@sc1.scconsult.com> <646u9v$j8k@darkmere.gen.nz> <647hf6$q2v$1@zeus.fw.cuci.nl> 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: 288382302 X-Trace: 879192505 6172 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp