Article View: news.software.readers
Article #12475Re: Do something about missing References: headers
From: Michael Mondy
Date: Mon, 07 Nov 1994 19:28
Date: Mon, 07 Nov 1994 19:28
26 lines
2063 bytes
2063 bytes
In article <39k8uq$om9@gaia.ucs.orst.edu>, John Stanley <stanley@skyking.OCE.ORST.EDU> wrote: >I was looking into my mail to news gateway the other day and was in the >section where a mangling of "In-Reply-To:" to "References:" would most >likely be performed. I had almost typed "i" to start inserting the code >to do this magical task when I noticed a tiny detail that everyone >seems to be missing. Well, those who say "simple, just change the >In-Reply-to to References!" overlook it. > >In-Reply-To: Ferd Berfles <ferd@ferd.wanker.edu>'s message of 21 Nov. > >Please provide an algorithm that differentiates between a message id >when used in an In-Reply-To and an email address. > > Rather than disambiguating between an address and a message-id by looking at the text between angle brackets, try looking how the <addr or id> is being used. If everything in that header appears to be message-ids, commas and white space, act as though they are message ids. If, as in your example there's other text outside of the brackets, assume that the header does not contain message-ids which could be used as references. -- Mike Mondy mdm@mondy.uucp
Technical Details
Message-ID:
<39lv5e$pfc@Starbase.NeoSoft.COM>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!Starbase.NeoSoft.COM!not-for-mailReferences:
<389bc1$10pv@fidoii.cc.lehigh.edu> <jim-021194134103@snarf.ucc.american.edu> <1994Nov6.140805.15277@cc.ic.ac.uk> <39k8uq$om9@gaia.ucs.orst.edu>Show Full Headers
Complete Article Headers
Message-ID: <39lv5e$pfc@Starbase.NeoSoft.COM> Subject: Re: Do something about missing References: headers Date: Mon, 07 Nov 1994 19:28:46 +0000 From: mdm@Starbase.NeoSoft.COM (Michael Mondy) References: <389bc1$10pv@fidoii.cc.lehigh.edu> <jim-021194134103@snarf.ucc.american.edu> <1994Nov6.140805.15277@cc.ic.ac.uk> <39k8uq$om9@gaia.ucs.orst.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!Starbase.NeoSoft.COM!not-for-mail Newsgroups: news.software.readers,news.admin.misc Organization: NeoSoft Internet Services +1 713 684 5969 Lines: 25 NNTP-Posting-Host: starbase.neosoft.com