On Thu, Sep 04, 2003 at 08:48:23AM +0400, Andrey wrote:
> I have a problem with posting messages to nntp server with authinfo
> command.
[...]
> <- 200 smtn.stavropol.ru - Invision Board NNTP gateway server $Revision: 1.3 $ 
> - (posting ok, 8 groups available)
> OK, can post
> state: do authinfo
> ->AUTHINFO USER edge
> <- 381 more authorisation required
> ->AUTHINFO PASS *
> <- console - edge [04/Sep/2003:08:38:46 +0400] "POST /authinfo HTTP/1.0" 401 0
> newsx: NNTP authorization failed: got "console - edge [04/Sep/2003:08:38:46 
> +0400] "POST /authinfo HTTP/1.0" 401 0"
[...] 
> Where is my mistake?

It is not your mistake, it is the newsserver (Proxy) you try to post to,
it is broken. Sending plain text like "console - edge ..." in the middle
of the dialogue is not allowed afaik.

Quoting RFC 977, the respective standard:
| 2.4.  Responses
| 
|    Responses are of two kinds, textual and status.
| 
| 2.4.1.  Text Responses
| 
|    Text is sent only after a numeric status response line has been sent
|    that indicates that text will follow.
| [...]
| 2.4.2.  Status Responses
| [...]
|    Status response lines begin with a 3 digit numeric code which is
|    sufficient to distinguish all responses.
| -----------------------------------------
             cu andreas

-----------------------------------------------------------------------
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx <your_email_address>"
in the message body.

Reply via email to