Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site hammer.UUCP Path: utzoo!linus!decvax!tektronix!orca!hammer!steveh From: steveh@hammer.UUCP (Stephen Hemminger) Newsgroups: net.bugs.4bsd,net.mail Subject: Sendmail/Smtp bug. Message-ID: <1012@hammer.UUCP> Date: Wed, 21-Nov-84 12:37:57 EST Article-I.D.: hammer.1012 Posted: Wed Nov 21 12:37:57 1984 Date-Received: Fri, 23-Nov-84 02:31:22 EST Reply-To: steveh@hammer.UUCP (Stephen Hemminger) Organization: Tektronix, Wilsonville OR Lines: 47 Keywords: Sendmail, 4.2Bsd Description: User SMTP in sendmail sometimes mysteriously core dumps when sending mail. Repeat-by: Difficult to reproduce, I just found the core dump (in /usr/spool/mqueue) and followed the back trace. Fix: smtpquit() not called with correct arguments. Here are the changes (line #'s vary): *************** *** 176,182 /* signal a temporary failure */ tempfail: ! smtpquit("temp fail",m); return (EX_TEMPFAIL); /* signal service unavailable */ --- 176,182 ----- /* signal a temporary failure */ tempfail: ! smtpquit(m); return (EX_TEMPFAIL); /* signal service unavailable */ *************** *** 181,187 /* signal service unavailable */ unavailable: ! smtpquit("service unavailable",m); return (EX_UNAVAILABLE); } --- 181,187 ----- /* signal service unavailable */ unavailable: ! smtpquit(m); return (EX_UNAVAILABLE); }