Thread View: news.software.readers
2 messages
2 total messages
Started by Demetrius Zeluff
Tue, 20 Apr 2004 18:49
MIDs and Loopback IPs
Author: Demetrius Zeluff
Date: Tue, 20 Apr 2004 18:49
Date: Tue, 20 Apr 2004 18:49
17 lines
1477 bytes
1477 bytes
Crossposted to <news:news.software.nntp> and <news:news.software.readers> Follow ups set to <news:news.software.readers> 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. -- Kill-filers: My screen name changes, My email address doesn't.
Re: MIDs and Loopback IPs
Author: Russ Allbery
Date: Tue, 20 Apr 2004 20:00
Date: Tue, 20 Apr 2004 20:00
43 lines
3296 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads