To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 223
222  |  224
Subject: 
Forging an NNTP header Message-ID
Newsgroups: 
lugnet.off-topic.geek
Date: 
Mon, 12 Jul 1999 22:07:03 GMT
Reply-To: 
JSPROAT@IO.antispamCOM
Viewed: 
315 times
  
Hey all NNTP gurus,

How does one construct an NNTP header Message-ID?  Is there an algorighm?
Is it random?

I'm writing a script in Perl which would use Net::NNTP to submit an article
to an NNTP server.  However, I would need to supply the entire text of the
message, including headers.  Everything looks fine to me so far, except for
the Message-ID header line.  Here's a sample:

  Message-ID: <378A61A0.D76E5AE3@io.com>

It looks something like:

  (BIG_HEX_NUMBER_A).(BIG_HEX_NUMBER_B)@(E-MAIL_DOMAIN)

(duh :-)

The "io.com" is obviously pulled from my e-mail address; I'm actually
posting from a machine in the novell.com domain.  I've scanned RFC 0977, and
have found several instances where the Message-ID is used, but not any where
it's created / generated.  I've also watched packet traces, thinking that
Netscape will somehow ask LUGNET to assign a Message-ID when I start a new
message, but no such luck.

Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@io.com>
http://www.io.com/~jsproat
Darth Maul Lives



Message has 3 Replies:
  Re: Forging an NNTP header Message-ID
 
(...) The newsserver will automatically assign one for your message if you leave that line out. No need to bother making one. --Todd (25 years ago, 12-Jul-99, to lugnet.off-topic.geek)
  Re: Forging an NNTP header Message-ID
 
(...) It is assigned by the newsserver to which you post. The Heder fields from your message, divided into first things you do have to provide: (...) (okay, this one's a special case - Lugnet innd has been modified to auto-insert this one - on most (...) (25 years ago, 22-Jul-99, to lugnet.off-topic.geek)
  Re: Forging an NNTP header Message-ID
 
(...) There are many different types of algorithms, I believe, but the main point is that the Message-ID header needs to be unique. The domain part of the Message-ID makes sure that anybody on a different domain gets a different ID. The local part (...) (25 years ago, 22-Jul-99, to lugnet.off-topic.geek)

5 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR