🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #427

Re: Sendmail-SMTP problem

#427
From: Doug Tiarks
Date: Wed, 26 Nov 1986 19:38
47 lines
1899 bytes
> In article <104800001@gabriel> cball@gabriel.UUCP writes:
> )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....
> 
> Right---which means that the diffs supplied are not necessary.  The
> `Mtcp' line should specify `E=\r\n'.
> -- 
> In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
> UUCP:	seismo!mimsy!chris	ARPA/CSNet:	chris@mimsy.umd.edu

The fix to readcf.c will be handled by the 'E=\r\n' line in sendmail.cf
but, this fix is still needed to get "\r\n.\r\n" as the termination
string.



--- 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, ">>> .");
  




Doug Tiarks
UW-Milwaukee Computing Services Div.
Internet: doug@csd1.milw.wisc.edu
UUCP: {ihnp4, uwvax}!uwmcsd1!doug
Technical Details
Message-ID: <1533@uwmcsd1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!uwmacc!uwmcsd1!doug
References: <1524@uwmcsd1.UUCP> <104800001@gabriel> <4529@mimsy.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!uwvax!uwmacc!uwmcsd1!doug
From: doug@uwmcsd1.UUCP (Doug Tiarks)
Newsgroups: comp.bugs.4bsd
Subject: Re: Sendmail-SMTP problem
Message-ID: <1533@uwmcsd1.UUCP>
Date: Wed, 26-Nov-86 14:38:12 EST
Article-I.D.: uwmcsd1.1533
Posted: Wed Nov 26 14:38:12 1986
Date-Received: Wed, 26-Nov-86 20:44:45 EST
References: <1524@uwmcsd1.UUCP> <104800001@gabriel> <4529@mimsy.UUCP>
Organization: U of Wi-Milwaukee, Computing Services Div
Lines: 47