Article View: news.software.nntp
Article #70849Re: Retrieving message-id after posting
From: NewbGuy
Date: Thu, 10 Mar 2005 17:06
Date: Thu, 10 Mar 2005 17:06
40 lines
2889 bytes
2889 bytes
"Andrew - Supernews" <andrew+nonews@supernews.com> wrote in message news:slrnd307bi.2quv.andrew+nonews@trinity.supernews.net... > On 2005-03-10, Bert Hyman <bert@iphouse.com> wrote: > > In news:112vglsdj0d0k71@news.supernews.com "NewbGuy" > ><dontreply@dontreply.com> wrote: > >> I am writing an NNTP cross-posting script. The problem I am running > >> into is that after I POST, I need to retrieve the message-id. This > >> should be easily done, but then I run into several problems now and > >> then, which totally mess things up: > > > > You could generate your own message-id and include it in the header block > > of your message. You run the risk of duplicating the message-id already on > > the server, but if you generate it correctly, this shouldn't happen. > > If you care about knowing the message-id, then generating it yourself is > definitely the best solution. > > > I don't know if this is universally true, but my ISP's server responds > > with a "suggested" Message-ID in the 340 response to the initial POST > > command from my news client. It also responds with the actual Message-ID > > in the 240 response after the text of the message has been sent. > > Neither of those is universally true, nor can they be. > > -- > Andrew, Supernews > http://www.supernews.com - individual and corporate NNTP services It seems to be that commercial nntp servers don't like you to stuff message-id in your post. They want to generate it themselves, even if they 'suggest' an id, still does not work. I don't know of any that allow that. As an alternative(?) I am thinking of setting up an INN server, set up a peer feed, and then post messages using IHAVE. Am I on the right track, seems like overkill, but I need reliable posting and retrieval of message-id.
Technical Details
Message-ID:
<1130vak3ogj2q92@news.supernews.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!sn-xit-03!sn-xit-11!sn-xit-08!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<112vglsdj0d0k71@news.supernews.com> <Xns9614E112550BDVeebleFetzer@204.153.244.156> <slrnd307bi.2quv.andrew+nonews@trinity.supernews.net>Show Full Headers
Complete Article Headers
Message-ID: <1130vak3ogj2q92@news.supernews.com> Subject: Re: Retrieving message-id after posting Date: Thu, 10 Mar 2005 09:06:57 -0800 From: "NewbGuy" <dontreply@dontreply.com> References: <112vglsdj0d0k71@news.supernews.com> <Xns9614E112550BDVeebleFetzer@204.153.244.156> <slrnd307bi.2quv.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!sn-xit-03!sn-xit-11!sn-xit-08!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Complaints-To: abuse@supernews.com Lines: 40