Thread View: news.software.nntp
9 messages
9 total messages
Started by Jim Lavin
Fri, 26 Jan 2001 19:45
Looking for Answers on NNTP Protocol
Author: Jim Lavin
Date: Fri, 26 Jan 2001 19:45
Date: Fri, 26 Jan 2001 19:45
13 lines
1687 bytes
1687 bytes
I've been trying to figure out a couple of problems I'm having with a NNTP client application I'm writing for our internal use. Can somebody direct me to the latest RFCs that show what is and isn't required when posting to a NNTP server. I've read 977 and 1036 inside and out and I'm having no problem posting to Typhoon and DNews NNTP servers but I keep getting 441 (605) Article Rejected -- Header is incomplete when I post to Microsoft's NNTP service under Windows 2000. Thanks
Re: Looking for Answers on NNTP Protocol
Author: Andrew Gierth
Date: Fri, 26 Jan 2001 20:01
Date: Fri, 26 Jan 2001 20:01
23 lines
2051 bytes
2051 bytes
>>>>> "Jim" == Jim Lavin <jlavin@btrust.com> writes: Jim> I've been trying to figure out a couple of problems I'm having Jim> with a NNTP client application I'm writing for our internal use. Jim> Can somebody direct me to the latest RFCs that show what is and Jim> isn't required when posting to a NNTP server. 1036, modified by the fact that the Date, Message-ID and Path headers are optional on POST commands. There might be some info in the NNTP Extensions RFC (I forget the number). Jim> I've read 977 and 1036 inside and out and I'm having no problem Jim> posting to Typhoon and DNews NNTP servers but I keep getting 441 Jim> (605) Article Rejected -- Header is incomplete when I post to Jim> Microsoft's NNTP service under Windows 2000. Show us an example of the simplest article you can post that exhibits this problem. Chances are it's defective Microsoft software. -- Andrew.
Re: Looking for Answers on NNTP Protocol
Author: Jeremy
Date: Fri, 26 Jan 2001 20:35
Date: Fri, 26 Jan 2001 20:35
15 lines
1319 bytes
1319 bytes
Jim Lavin <jlavin@btrust.com> wrote: > Can somebody direct me to the latest RFCs that show what is and isn't > required when posting to a NNTP server. I've read 977 and 1036 inside and > out and I'm having no problem posting to Typhoon and DNews NNTP servers but > I keep getting 441 (605) Article Rejected -- Header is incomplete when I > post to Microsoft's NNTP service under Windows 2000. It's a near-certainty that Microsoft's software isn't fully compliant with the standards. Post an example of the headers you are sending to the server so we can see what, if anything, is wrong with them. -- Jeremy | jeremy@exit109.com
Re: Looking for Answers on NNTP Protocol
Author: Jim Lavin
Date: Fri, 26 Jan 2001 20:49
Date: Fri, 26 Jan 2001 20:49
61 lines
3458 bytes
3458 bytes
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 --- 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. If you need to see the posting code let me know and post it also. Thanks "Andrew Gierth" <andrew@erlenstar.demon.co.uk> wrote in message news:873de6xetm.fsf@erlenstar.demon.co.uk... > >>>>> "Jim" == Jim Lavin <jlavin@btrust.com> writes: > > Jim> I've been trying to figure out a couple of problems I'm having > Jim> with a NNTP client application I'm writing for our internal use. > > Jim> Can somebody direct me to the latest RFCs that show what is and > Jim> isn't required when posting to a NNTP server. > > 1036, modified by the fact that the Date, Message-ID and Path headers > are optional on POST commands. There might be some info in the NNTP > Extensions RFC (I forget the number). > > Jim> I've read 977 and 1036 inside and out and I'm having no problem > Jim> posting to Typhoon and DNews NNTP servers but I keep getting 441 > Jim> (605) Article Rejected -- Header is incomplete when I post to > Jim> Microsoft's NNTP service under Windows 2000. > > Show us an example of the simplest article you can post that exhibits > this problem. Chances are it's defective Microsoft software. > > -- > Andrew.
Re: Looking for Answers on NNTP Protocol
Author: Jeremy
Date: Fri, 26 Jan 2001 21:35
Date: Fri, 26 Jan 2001 21:35
29 lines
1687 bytes
1687 bytes
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 These are the only headers you're sending? They look fine to me, and you're not missing anything required for a POST. Do you get the error if you only post to one newsgroup, rather than crossposting? > Since I'm a posting client do I need to include a Path and Message ID > Header? No, you don't. You can, but it's optional and you should let the server handle it unless you have a good reason not to (and you really know what you're doing). -- Jeremy | jeremy@exit109.com
Re: Looking for Answers on NNTP Protocol
Author: Jim Lavin
Date: Fri, 26 Jan 2001 21:43
Date: Fri, 26 Jan 2001 21:43
7 lines
1432 bytes
1432 bytes
I get the same this if I'm posting to a single newsgroup or cross posting.
Re: Looking for Answers on NNTP Protocol
Author: Jim Lavin
Date: Fri, 26 Jan 2001 22:03
Date: Fri, 26 Jan 2001 22:03
18 lines
1412 bytes
1412 bytes
I don't know if this will help, but here is a sample post using the software I'm writing. The following headers were posted by the application code: From Newsgroups Subject References Let me know if anything is terribly wrong. Thanks
Re: Looking for Answers on NNTP Protocol
Author: Simon Lyall
Date: Sat, 27 Jan 2001 02:38
Date: Sat, 27 Jan 2001 02:38
17 lines
1804 bytes
1804 bytes
Jim Lavin <jlavin@btrust.com> wrote: > I get the same this if I'm posting to a single newsgroup or cross posting. Two guesses: 1. Try telneting to the server and putting in the article exactly how you think your software is submitting it. Just to make sure nothing is being added or lost. 2. The format for the date header could be slightly strict. Try using the exact format you and see in an article on the server. -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz Senior Network/System Admin | | Home: simon@darkmere.gen.nz ihug, Auckland, NZ | Asst Doorman | Web: http://www.darkmere.gen.nz
Re: Looking for Answers on NNTP Protocol
Author: J.B. Moreno
Date: Sat, 27 Jan 2001 05:21
Date: Sat, 27 Jan 2001 05:21
65 lines
3655 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads