🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50204

Re: Looking for Answers on NNTP Protocol

#50204
From: J.B. Moreno
Date: Sat, 27 Jan 2001 05:21
65 lines
3655 bytes
[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <hplc6.1795$23.214549@dfiatx1-snr1.gtei.net>,
   Jim Lavin <jlavin@btrust.com> wrote:

> Here you go This comes straight from my output in the debugger, I'm posting
> to a local server with a couple of news groups set up.  I can post to the
> server using other newsreaders.
> 
> --- Message Sample Begins ---
> 
> From: "Jim Lavin" <jlavin@btrust.com>
> Date: 26 Jan 2001 14:43:24 -0600
> Newsgroups: btrust,btrust.jobs
> Subject: Problems with NNTP Posts from CE Device
> 
> I'm coding a news reader for the PocketPC and I'm having problems with
> posting to Microsoft's NNTP running under IIS 5.0.  I always get a 441 error
> back post failed even though it works fine against DNews and INNd.
> 
> Has anybody been trudging down this path and maybe already solved this
> problem. Could it be that MSoft is requiring something other than the normal
> headers under RFC 1036?
> 
> Any help would be appreciated.
> 
> .
> 
> --- Message Sample Ends ---

Well, that looks fine.  The only two things that occurs to me is that
you may not be properly terminating the individual lines, or the above
may not be exactly what you are attempting to post (I've seen logging
info be incorrect before). 

> Since I'm a posting client do I need to include a Path and Message ID
> Header? I figured that would be something the server added and I don't see
> Typhoon or DNews complaining about the lack of it.

Well, you definitely don't need to add Path, Message-ID is a bit
trickier: some servers ignore whatever you send, some servers screwup
creating the Message-ID (can you say "Microsoft" boys and girls?  I
knew you could).

Creating the id yourself has several advantages -- it's one way of
avoiding duplicate posting problems, it allows easy tracking of your
own ID's in followups (handy feature for kill and score files), and
since you're responsible you get to make sure it is correct (which of
course is also one of it's downsides). 

> If you need to see the posting code let me know and post it also.
-snip-

Take a look at the posting code to make sure you are using CRLF at the
end of each line, if that doesn't work contact me via email and I'll
run a news server and watch the connection to see what is happening.

BTW -- have you taken a look at the GNKSA? 
<http://www.newsreaders.com/gnksa/> (you might want to look around the
rest of that site too if you haven't already).

-- 
J.B. Moreno
Technical Details
Message-ID: <270120010021288715%planb@newsreaders.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!planb
References: <ftkc6.1392$23.188898@dfiatx1-snr1.gtei.net> <873de6xetm.fsf@erlenstar.demon.co.uk> <hplc6.1795$23.214549@dfiatx1-snr1.gtei.net>

Show Full Headers
Complete Article Headers
Message-ID: <270120010021288715%planb@newsreaders.com>
Subject: Re: Looking for Answers on NNTP Protocol
Date: Sat, 27 Jan 2001 00:21:28 -0500
From: "J.B. Moreno" <planb@newsreaders.com>
References: <ftkc6.1392$23.188898@dfiatx1-snr1.gtei.net> <873de6xetm.fsf@erlenstar.demon.co.uk> <hplc6.1795$23.214549@dfiatx1-snr1.gtei.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!planb
Newsgroups: news.software.nntp
To: "Jim Lavin" <jlavin@btrust.com>
Posted-And-Mailed: yes
Distribution: world
Organization: bofh wannabe
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.0.6 (Carbon/OS X)
Lines: 64