Article View: comp.bugs.4bsd
Article #424Re: Sendmail-SMTP problem
From: cball
Date: Mon, 24 Nov 1986 12:58
Date: Mon, 24 Nov 1986 12:58
61 lines
2295 bytes
2295 bytes
We had a similar problem discovered soon after conversion from
bsd4.2 to bsd4.3. We may well have had the same problem with bsd4.2;
there were some undiagnosed problems with mail delivery when we switched.
Specifically, it appeared that we were unable to deliver
mail to any DEC10 or DEC20 system. Examination of the code revealed that
the termination string was ".\n" not "\r\n.\r\n" as is required by
rfc822. The following changes fixed the problem. Note that sendmail
is set up to handle multiple mail delivery systems; the end-of-line
string for each mailer is determined when the configuration is read(
the default is "\n").
*** /tmp/,RCSt1008316 Mon Nov 24 07:59:06 1986
--- readcf.c Fri Oct 31 17:07:36 1986
***************
*** 427,432
{
case 'P': /* pathname */
m->m_mailer = newstr(p);
break;
case 'F': /* flags */
--- 427,435 -----
{
case 'P': /* pathname */
m->m_mailer = newstr(p);
+ if (strcmp(p, "[IPC]") == 0) {
+ m->m_eol = "\r\n";
+ }
break;
case 'F': /* flags */
*** /tmp/,RCSt1008316 Mon Nov 24 07:59:13 1986
--- usersmtp.c Fri Oct 31 18:25:58 1986
***************
*** 300,306
(*e->e_putbody)(SmtpOut, m, CurEnv);
/* terminate the message */
! fprintf(SmtpOut, "%s.%s", m->m_eol, m->m_eol);
if (Verbose && !HoldErrs)
nmessage(Arpa_Info, ">>> .");
--- 300,306 -----
(*e->e_putbody)(SmtpOut, m, CurEnv);
/* terminate the message */
! fprintf(SmtpOut, ".%s", m->m_eol);
if (Verbose && !HoldErrs)
nmessage(Arpa_Info, ">>> .");
Charles Ball
Intermetrics, Inc.
cball@ddnt.arpa, ihnp4!inmet!cball
/* End of text from gabriel:comp.mail.uucp */
Technical Details
Message-ID:
<104800001@gabriel>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!pyrnj!mirror!gabriel!cballReferences:
<1524@uwmcsd1.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!pyrnj!mirror!gabriel!cball From: cball@gabriel.UUCP Newsgroups: comp.bugs.4bsd Subject: Re: Sendmail-SMTP problem Message-ID: <104800001@gabriel> Date: Mon, 24-Nov-86 07:58:00 EST Article-I.D.: gabriel.104800001 Posted: Mon Nov 24 07:58:00 1986 Date-Received: Tue, 25-Nov-86 20:20:33 EST References: <1524@uwmcsd1.UUCP> Lines: 61 Nf-ID: #R:uwmcsd1.UUCP:-152400:gabriel:104800001:000:1689 Nf-From: gabriel.UUCP!cball Nov 24 07:58:00 1986