Sendmail-SMTP problem

Doug Tiarks doug at uwmcsd1.UUCP
Thu Nov 27 05:38:12 AEST 1986


> In article <104800001 at gabriel> cball at 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 at 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 at csd1.milw.wisc.edu
UUCP: {ihnp4, uwvax}!uwmcsd1!doug



More information about the Comp.bugs.4bsd.ucb-fixes mailing list