🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Shaw Carruthers Tue, 26 Nov 1996 00:00
INN Problem:Error posting message: 421 SMTP connection went away!
#12667
Author: Shaw Carruthers
Date: Tue, 26 Nov 1996 00:00
29 lines
1461 bytes
I get the following error when posting from Pine to Inn on my Linux
system( inn 1.4, linux 2.0.26):

Error posting message: 421 SMTP connection went away!

I have similar problems with other user agents. Netscape gives an
error.
Knews says that the connection went away before the posting was
confirmed.

In each case the message is in fact posted despite the error.

Testing using telnet host 119 reveals that the connection is closed at
the end of the message without waiting for a quit to be typed.

Can anyone help solve this? I think it must be some kind of
configuration error.

-- 
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).
--
Shaw Carruthers - shaw@cix.compulink.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).  

Re: INN Problem:Error posting message: 421 SMTP connection went away!
#12728
Author: John Meyers
Date: Wed, 27 Nov 1996 00:00
24 lines
1543 bytes
Shaw  Carruthers (shaw@cix.compulink.co.uk) wrote:
: I get the following error when posting from Pine to Inn on my Linux
: system( inn 1.4, linux 2.0.26):

: Error posting message: 421 SMTP connection went away!

 The last time I ran across this error, there was a process limitation
 on the server running innd.  You might check on the current and maximum
 number of processes for your particular Linux kernel (or potentially
 a per user process limitation).  I'm not positive, but I think the 
 connection is closing when innd tries to fork off the in.nnrpd client 
 to service the request.  In my case this was due to the process limitation.

 The error message is somewhat misleading with Pine, as it's using the
 some of the smtp routines to negotiate the initial nntp connection (in
 particular the smtp_reply routine in smtp.c).

 John Meyers
 Computing Services
 Wright State University
 E-Mail: jmeyers@wright.edu

Re: INN Problem:Error posting message: 421 SMTP connection went away!
#12751
Author: Shaw Carruthers
Date: Wed, 27 Nov 1996 00:00
26 lines
1501 bytes
Shaw Carruthers wrote:
> 
> Testing using telnet host 119 reveals that the connection is closed at
> the end of the message without waiting for a quit to be typed.

I have hacked through the problem and found that nnrpd was sigsegving
after posting the message. The following patch to nnrpd/post.c fixes the
problem, although I don't know if it has any side-effects.

*** post.c.dist	Wed Nov 27 00:45:40 1996
--- post.c	Wed Nov 27 00:45:53 1996
***************
*** 789,796 ****
  
      /* Send a quit and close down */
      SendQuit(FromServer, ToServer);
-     (void)fclose(FromServer);
-     (void)fclose(ToServer);
      if (idbuff)
  	(void)strcpy(idbuff, HDR(_messageid));
      return NULL;
--- 789,794 ---- 
--

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