๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52991

Re: Can my MID cause problems?

#52991
From: Curt Welch
Date: Thu, 21 Jun 2001 17:52
68 lines
4566 bytes
Michael Scheer <schnews@autechre.de> wrote:
> J.B. Moreno schrieb/wrote:
>
> > Although I do have some questions -- why?  And why not put it on the
> > left hand side of the @ (LHS)?
>
> Ooh, don๏ฟฝt know exactly. I've heard if I'd use only "@autechre.de" this
> could cause some problems. Getting more spam to webmaster@... IIRC. Not
> sure. Lots of people use at least one subdomain (which probably doesn't
> exist) in their FQDN.
>
> > Also -- what do you do for crossposted messages?
>
> If a Followup-Header exists then this one is taken. If I forget setting
> a follow-up: First group in Newsgroups-Header.
>
> > Also -- you seem to be putting the subject into the message-id, why?
>
> Looking nicely IMO. Not more. Something unique, you know...

If you are just palying around with your own news reader, then that stuff
is fine.  But if you are writing code that's going to be widely used, you
should try a bit harder to come up with a better Message-ID.

It's important to keep messsage-IDs as short as possible for many reasons.
For one, they get sent over the networks more than anything else.  If I
have 20 peers, then all 20 of them are likely to send me your message ID
and ask me if I want the article.  But only one is going to send the actual
article.  So every byte you add to a Message-ID can waste 10 times more
bandwidth than any other byte in your article.

And your Message ID gets copied to every article in the follow-up tree
below it. So once again, every byte you add to a Message-id wasts more and
more bandwidth and storage on Usenet everytime a follow-up is posted.

And the Message-IDs get stored, and tranmisted in the XOVER data - both as
the Message-ID of your article and in all the the follow-up articles.  So
the bytes are wasting bandwidth again as the thousands of users download
the headers for the group.

And news servers tend to store the Message-IDs in multiple places as well,
such as the history file, the xover files, and outging feed queue files.
So it's disk space as well as bandwidth which is consumed.

The bytes in the Message-ID of an article end up counting 10 to 20 times
more than any other byte in the article in terms of how much resources they
consume, so it's important to try 10 or 20 times harder yo not waste bytes
in the Message-Id than it is for the rest of the article.

Putting the subject in the Message-ID is a poor choice because byte per
byte, you get a very low number of random bits per byte (i.e. maybe only 3
bits of good random data per byte), and two, you end up putting a lot more
random data in the message-id than was required when the subject is long,
but yet not enough random data when the subject is too short.

Calculating a hash of the subject would be a fine way to get some extra
random bits for use in generating a Message-ID, but putting the entire
subject (mostly unchagned) in the Message-ID is just a very poor algorithm
for generating Message-Ids.

Adding "nsn" for news.software.nntp is a much better algorithm.  Though it
would be closer to "correct" to add it somewhere on the left hand side
instead of adding it to the right.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010621135252.994$RW@newsreader.com>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
References: <can.my.mid.cause.problems$jB4KG5zK@nsn.autechre.de> <yl3d8u9j64.fsf@windlord.stanford.edu> <RE$can.my.mid.cause.problems$YB7KGfeK@nsn.autechre.de> <210620011155127902%planb@newsreaders.com> <RE$can.my.mid.cause.problems$TB8GG7AK@nsn.autechre.de>

Show Full Headers
Complete Article Headers
Message-ID: <20010621135252.994$RW@newsreader.com>
Subject: Re: Can my MID cause problems?
Date: Thu, 21 Jun 2001 17:52:53 +0000
From: curt@kcwc.com (Curt Welch)
References: <can.my.mid.cause.problems$jB4KG5zK@nsn.autechre.de> <yl3d8u9j64.fsf@windlord.stanford.edu> <RE$can.my.mid.cause.problems$YB7KGfeK@nsn.autechre.de> <210620011155127902%planb@newsreaders.com> <RE$can.my.mid.cause.problems$TB8GG7AK@nsn.autechre.de>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 67