authinfo trouble

Andrey <[email protected]> Thu, 4 Sep 2003 08:48:23 +0400
Newsgroups gmane.network.newsx
Organization SMTN
Message-ID <[email protected]>
Hello all!

I have a problem with posting messages to nntp server with authinfo command.
If I post from console, autorization is succesfull:
------------------------------------------
[root@mail /root]# telnet gts 119
Trying 212.96.104.129...
Connected to gts.
Escape character is '^]'.
200 smtn.stavropol.ru - Invision Board NNTP gateway server $Revision: 1.3 $ - 
(posting ok, 8 groups available)
post
480 authorization required
authinfo user edge
381 more authorisation required
console - edge [04/Sep/2003:08:42:49 +0400] "POST /authinfo HTTP/1.0" 401 0
authinfo pass 123
281 authentication accepted
console - edge [04/Sep/2003:08:43:01 +0400] "POST /authinfo HTTP/1.0" 200 0


But from command line is not:
newsx --auth /etc/news/newsx_authfile -dd --maxnew 100 gts.smtn.stavropol.ru 
--debug 6
--------------------------------------
connecting to nntp server at gts.smtn.stavropol.ru
state: await greeting
<- 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"
state: exit
state: unlock/exit
----------------------------------------
file newsx_authfile contain next string:

edge 123
----------------------------------------

Where is my mistake?




-----------------------------------------------------------------------
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.