Thread View: news.software.nntp
4 messages
4 total messages
Started by Claire
Mon, 09 Sep 2002 18:17
info required on POST headers
Author: Claire
Date: Mon, 09 Sep 2002 18:17
Date: Mon, 09 Sep 2002 18:17
27 lines
1954 bytes
1954 bytes
Hi Im writing a NNTP client and am having problems with the headers section of a POST command. The news server is accepting my post but it vanishes immediately from the group. Ive looked through the RFC documents 977(?) and the later one (1306?) and the usenet doc but they're all a bit vague on the POST command especially. Are there any links to good web sites/tutorials that explain this fully please. thanx -- Corky www.corkyscave.com 2.0 Beardies, 2.1 BCI, 1.0 Burm, 2.0 Corn, 0.0.2 Garter, 1.1 Hogg Island, 1.1 Hog Nose, 1.1 Blood, 1.1 Carpet, 1.0 Pueblan, 1.0 King, 2.0 Royal, 1.0 BRB, 1.2 Emperor Scorpion,0.0.1 Goliath, 0.0.1 Red Knee, 0.0.1 Salmon Pink, 1.0 Psychoanalyst
Re: info required on POST headers
Author: Russ Allbery
Date: Mon, 09 Sep 2002 18:56
Date: Mon, 09 Sep 2002 18:56
17 lines
1653 bytes
1653 bytes
Claire <nospamcorky@corkyscave.com> writes:
> Im writing a NNTP client and am having problems with the headers section of
> a POST command.
> The news server is accepting my post but it vanishes immediately from the
> group.
If the post is accepted with a positive return code, then the problem is
almost certainly not with the post, but instead is with something else
going on on the server after the post has completed.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: info required on POST headers
Author: Claire
Date: Mon, 09 Sep 2002 19:17
Date: Mon, 09 Sep 2002 19:17
27 lines
2172 bytes
2172 bytes
> If the post is accepted with a positive return code, then the problem is > almost certainly not with the post, but instead is with something else > going on on the server after the post has completed. thanks for answering Russ Im using ak.test.testhere I posted my test messages using my own software then created another using oe. The OE one was accepted. even more thanks. I just tried misc.test instead and it posted successfully I wonder why the previous one wouldnt accept my client message but OE's was fine? -- Corky www.corkyscave.com 2.0 Beardies, 2.1 BCI, 1.0 Burm, 2.0 Corn, 0.0.2 Garter, 1.1 Hogg Island, 1.1 Hog Nose, 1.1 Blood, 1.1 Carpet, 1.0 Pueblan, 1.0 King, 2.0 Royal, 1.0 BRB, 1.2 Emperor Scorpion,0.0.1 Goliath, 0.0.1 Red Knee, 0.0.1 Salmon Pink, 1.0 Psychoanalyst
Re: info required on POST headers
Author: Curt Welch
Date: Mon, 09 Sep 2002 19:59
Date: Mon, 09 Sep 2002 19:59
45 lines
3230 bytes
3230 bytes
"Claire" <nospamcorky@corkyscave.com> wrote: > Hi > Im writing a NNTP client and am having problems with the headers section > of a POST command. > The news server is accepting my post but it vanishes immediately from the > group. Did it show up, but them later vanish? If so, it was probably deleted with an automaticaly generaged cancel message for some reason. (or the server you are posting to is just broken). Articles which look like spam might be deleted like that. If your "NNTP client" is a tool for posting spam and the test messages look like spam for some reason, that might be what's happening. If you made a mistake in the headers, the POST command will return an error response instead of a postive response. If POST returns a valid response code, then you most likely didn't make a mistake in the headers. If the article never shows up in the group after a postive result code, then it might have been rejeced by a spam filter on your local server. Many servers will return a text message on the line with the error code which tells you why it was rejected. Make sure you check to see what the server is sending back to you. > Ive looked through the RFC documents 977(?) and the later one (1306?) and > the usenet doc but they're all a bit vague on the POST command > especially. Are there any links to good web sites/tutorials that explain > this fully please. All you need to include is a Subject:, a From:, and a Newsgroups: header. The server will add the rest for you. The From: line must include something that's formated to look like a valid e-mail address. Newsgroups: must list at least one valid newsgroups. Other headers like Date: and Message-ID: are required before the article can be sent to Usenet but our not needed in the article you send in the POST command. They can however be included. I think it's best however to leave date off and let the server add it because servers in general are more likely to have their clocks and timezones set correctly. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
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