Article View: news.software.nntp
Article #12751Re: INN Problem:Error posting message: 421 SMTP connection went away!
From: Shaw Carruthers
Date: Wed, 27 Nov 1996 00:00
Date: Wed, 27 Nov 1996 00:00
26 lines
1501 bytes
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 ----
--
Technical Details
Message-ID:
<329C514F.3C83941@shawc.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-demon.tech.unix.mbox.zip!not-for-mailReferences:
<329bff8a.12223778@news>Show Full Headers
Complete Article Headers
Message-ID: <329C514F.3C83941@shawc.demon.co.uk> Subject: Re: INN Problem:Error posting message: 421 SMTP connection went away! Date: Wed, 27 Nov 1996 00:00:00 +0000 From: Shaw Carruthers <shaw@shawc.demon.co.uk> References: <329bff8a.12223778@news> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-demon.tech.unix.mbox.zip!not-for-mail X-Deja-AN: 201057206 Distribution: inet X-nntp-posting-host: shawc.demon.co.uk Content-type: text/plain; charset=us-ascii Mime-version: 1.0 Newsgroups: news.software.nntp,demon.tech.unix X-mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.26 i486)