Article View: news.software.nntp
Article #60316Re: info required on POST headers
From: 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/
Technical Details
Message-ID:
<20020909155915.641$kM@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<VA5f9.2435$Ni4.21945@newsfep3-gui.server.ntli.net>Show Full Headers
Complete Article Headers
Message-ID: <20020909155915.641$kM@newsreader.com>
Subject: Re: info required on POST headers
Date: Mon, 09 Sep 2002 19:59:15 +0000
From: curt@kcwc.com (Curt Welch)
References: <VA5f9.2435$Ni4.21945@newsfep3-gui.server.ntli.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Nw.,,@jE=WdeCgDYc5y30/z/cIBJ09H4VV@5g_mLE3sRStt
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 44