🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63097

Re: Is this a valid Message-ID?

#63097
From: Mike Castle
Date: Tue, 14 Jan 2003 05:58
69 lines
3785 bytes
In article <ylvg0sv0a6.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
>> [Mike Castle]:
>
>>>   Is the following a valid Usenet Message-ID?  And why/why-not?
>
>>>   Message-ID: <007801c2bb41$0791cfe0$1219570f@ranier>

[References to RFC 850 and 977 deleted]

>RFC 1036 is similarly clear:
>
>2.1.5.  Message-ID
[deleted]
>    In order to conform to RFC-822, the Message-ID must have the format:
>
>                          <unique@full_domain_name>
>
>    where full_domain_name is the full name of the host at which the
>    message entered the network, including a domain that host is in, and
>    unique is any string of printing ASCII characters, not including "<"
>    (left angle bracket), ">" (right angle bracket), or "@" (at sign).
>
>So no, it's not, because ranier is not "the full name of the host at which
>the message entered the network, including a domain that host is in."

I wasn't sure about what constitutes a domain however.  I could see a case
where something did not have a domain.  Say a UUCP connected machine.  Just
because it was received via NNTP doesn't mean it originated that way.

>> RFC 2821, which will be the reference if there ever is a new RFC for
>> news, states:
>
>You mean RFC 2822.

Usefor draft 8, leveraging RFC 2822 has:

      msg-id             = "<" id-left "@" id-right ">"
      id-right           = dot-atom-text / no-fold-literal
      dot-atom-text = 1*atext *( "." 1*atext )

So, according to this, @ranier looked valid to me.

>The above being said, message IDs of that form are accepted by most Usenet
>software and are unfortunately widespread, so it's probably not possible
>to just reject them out of hand.  I do consider any software that
>generates such a message ID in a Usenet article to be buggy, though.

I agree for the most part.  However, this is a case where I am taking an
email list and pushing it a local newsproxy (leafnode in this case, and
solely for personal consumption).

If I am reading the above spec correctly, then I believe leafnode is
incorrectly rejecting the above message-id.

I was originally pondering having the mail2news software I'm using re-write
the Message-ID, but then I realized that, even if this is only for myself,
replies would still break threads.  So I'm no longer considering that.

Fortunately, for leafnode, it's a one line patch, and I'll apply it myself.
But I'm wondering how hard I should push for fixing the release.

mrc
-- 
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
Technical Details
Message-ID: <thlcfx5h.ln2@thune.mrc-home.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-peer.gip.net!news.gsl.net!gip.net!c03.atl99!news.webusenet.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <ylvg0sv0a6.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <thlcfx5h.ln2@thune.mrc-home.org>
Subject: Re: Is this a valid Message-ID?
Date: Mon, 13 Jan 2003 21:58:53 -0800
From: dalgoda@ix.netcom.com (Mike Castle)
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <ylvg0sv0a6.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!bloom-beacon.mit.edu!news-peer.gip.net!news.gsl.net!gip.net!c03.atl99!news.webusenet.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: House of Linux
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: nexus@thune.mrc.org (Mike Castle)
X-Complaints-To: abuse@supernews.com
Lines: 68