Article View: news.software.nntp
Article #70840Re: Retrieving message-id after posting
From: Bert Hyman
Date: Thu, 10 Mar 2005 04:07
Date: Thu, 10 Mar 2005 04:07
19 lines
1735 bytes
1735 bytes
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. 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. -- Bert Hyman St. Paul, MN bert@iphouse.com
Technical Details
Message-ID:
<Xns9614E112550BDVeebleFetzer@204.153.244.156>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!news.glorb.com!green.octanews.net!news-out.octanews.net!auth.beige.octanews.com.POSTED!not-for-mailReferences:
<112vglsdj0d0k71@news.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns9614E112550BDVeebleFetzer@204.153.244.156> Subject: Re: Retrieving message-id after posting Date: Thu, 10 Mar 2005 04:07:29 +0000 From: Bert Hyman <bert@iphouse.com> References: <112vglsdj0d0k71@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!news.glorb.com!green.octanews.net!news-out.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Not that you'd notice User-Agent: Xnews/06.08.25 Lines: 19 NNTP-Posting-Date: 09 Mar 2005 22:07:29 CST X-Complaints-To: abuse@octanews.net