🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146783

Re: MIDs and Loopback IPs

#146783
From: Russ Allbery
Date: Tue, 20 Apr 2004 20:00
43 lines
3296 bytes
In news.software.nntp, Demetrius Zeluff <28762153@tmicha.net> writes:

> Is this a sensible, RFC compliant, Message ID?

> <unique@[127.0.0.1]>

> (Assume the Left hand side is a unique string of chars.)

> Many thanks for information.

It is RFC-compliant (but violates a SHOULD).  It may or may not be
sensible, depending on how well you can *guarantee* the uniqueness of the
string on the LHS.  (This is harder than it may appear.)

The relevant text from RFC 2822 is:

   The message identifier (msg-id) itself MUST be a globally unique
   identifier for a message.  The generator of the message identifier MUST
   guarantee that the msg-id is unique.  There are several algorithms that
   can be used to accomplish this.  Since the msg-id has a similar syntax
   to angle-addr (identical except that comments and folding white space
   are not allowed), a good method is to put the domain name (or a domain
   literal IP address) of the host on which the message identifier was
   created on the right hand side of the "@", and put a combination of the
   current absolute date and time along with some other currently unique
   (perhaps sequential) identifier available on the system (for example, a
   process id number) on the left hand side.  Using a date on the left
   hand side and a domain name or domain literal on the right hand side
   makes it possible to guarantee uniqueness since no two hosts use the
   same domain name or IP address at the same time.  Though other
   algorithms will work, it is RECOMMENDED that the right hand side
   contain some domain identifier (either of the host itself or otherwise)
   such that the generator of the message identifier can guarantee the
   uniqueness of the left hand side within the scope of that domain.

Since potentially every IP-based system is 127.0.0.1, there's no way for
that RHS to meet the requirements of that RECOMMENDED at the end.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87oepmju73.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.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <Xns94D1C980A349828762153tmichanet@news-60.giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <87oepmju73.fsf@windlord.stanford.edu>
Subject: Re: MIDs and Loopback IPs
Date: Tue, 20 Apr 2004 13:00:32 -0700
From: Russ Allbery <rra@stanford.edu>
References: <Xns94D1C980A349828762153tmichanet@news-60.giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.readers
Organization: The Eyrie
Lines: 43
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1082491232 2001 171.64.19.147 (20 Apr 2004 20:00:32
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:oHbeNmfhkyfVBUtF2qlwLzA5IoE=