Article View: news.software.nntp
Article #61177Re: Realistic length of message-id
From: Andrew - Supernews
Date: Tue, 08 Oct 2002 18:00
Date: Tue, 08 Oct 2002 18:00
32 lines
2204 bytes
2204 bytes
In article <f6c487f3.0210080938.7e6f91f2@posting.google.com>, ABS wrote: > Hi! > > I am creating a gateway to import messages into a database. How many > characters should I allow for the Message-ID's? the limit is 250 including the <>. You should of course deal gracefully with received IDs that are longer than that (just dropping the articles on the floor is good enough). Almost all message-ids are much shorter than that of course. > I was going to create > an MD5 hash of each Message-ID's, but the possibility of collision is > steering me away from that. the probability of collision is low enough not to worry about, unless you're planning an archive of thousands of years worth of traffic, and preserving every single article was important to you. (If you stored about 10 trillion years of traffic at current levels, you'd have a roughly even chance of no collisions.) FWIW, we use only the MD5 hash of the id internally on our servers. (Last I heard, there were still no known collisions for MD5, although the crypto people are edgy enough about the possibility of _constructed_ collisions for it that it's no longer in favour for secure message digest applications.) -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID:
<slrnaq67a9.2ul3.andrew+nonews@trinity.supernews.net>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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<f6c487f3.0210080938.7e6f91f2@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnaq67a9.2ul3.andrew+nonews@trinity.supernews.net> Subject: Re: Realistic length of message-id Date: Tue, 08 Oct 2002 18:00:41 -0000 From: Andrew - Supernews <andrew+nonews@supernews.com> References: <f6c487f3.0210080938.7e6f91f2@posting.google.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: http://www.supernews.com - all your nntp are belong to us Reply-To: andrew@supernews.com User-Agent: slrn/0.9.7.4 (FreeBSD) X-Complaints-To: abuse@supernews.com Lines: 31