[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Can not post. Help!



Jason Davis wrote:

> I can read news, but I can not post. The messages just stay in out.going.
> There are none in failed.postings. HELP!!! It does not attemp to do anything
> with the posts.
>
> RedHat 6.0
> 
> [root@red sbin]# ./fetchnews -vvvv -P
> 1.9.10: verbosity level is 4
> Trying to connect to pull-feed-out.cwix.com ... connected.
> Disconnected from pull-feed-out.cwix.com.
> Trying to connect to pull-feed-in.cwix.com ... connected.
> Disconnected from pull-feed-in.cwix.com.

There is apparently no need to use two news servers, because they
seem to be identical (according to the debug log).

> *** This is my debug output ***
>
> Feb 18 11:01:28 red fetchnews[20323]: 1.9.10: verbosity level is 4
> Feb 18 11:01:28 red fetchnews[20323]: config: debugmode is 1
> Feb 18 11:01:28 red fetchnews[20323]: config: expire is 20 days
> Feb 18 11:01:28 red fetchnews[20323]: Last LIST ACTIVE done 581721 seconds ago: NEWGROUPS
> Feb 18 11:01:28 red fetchnews[20323]: <200 pullfeed.cwix.com - A Typhoon News Server - news@xxxxxx (Typhoon v1.2.1)
> Feb 18 11:01:28 red fetchnews[20323]: >MODE READER^M
> Feb 18 11:01:28 red fetchnews[20323]: <201 pullfeed.cwix.com - A Typhoon News Server - news@xxxxxx (Typhoon v1.2.1)

This news server software claims that you can post when you connect (the
"200" reply). fetchnews then sends a "MODE READER" command to be sure,
and suddenly the upstream server responds with "201" (which means that you
are not allowed to post). There is no fix for this except patching the source
code of Leafnode. The following patch might work:

--- fetchnews.c.orig	Fri Feb 18 18:48:33 2000
+++ fetchnews.c	Fri Feb 18 18:49:07 2000
@@ -1600,9 +1600,11 @@
 	        printf("connected.\n");
 	    if ( current_server->username )
 		( void ) authenticate();
+/*
 	    sprintf( lineout, "MODE READER\r\n" );
 	    putaline();
 	    reply = nntpreply();
+*/
 	    if ( reply == 498 )
 		syslog( LOG_INFO, "Connection refused by %s",
 			current_server->name );

but it may give you problems if your server expects an username and
password.

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list