Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!ukc!keele!csd35 From: csd35@seq1.keele.ac.uk (Jonathan Knight) Newsgroups: comp.mail.sendmail Subject: Re: '\n.\n' in body of mail Message-ID: <757@keele.keele.ac.uk> Date: 17 Dec 90 09:26:47 GMT References: <1990Dec14.141102.17655@mp.cs.niu.edu> Organization: University of Keele, England Lines: 21 From article <1990Dec14.141102.17655@mp.cs.niu.edu>, by rickert@mp.cs.niu.edu (Neil Rickert): > In article <1990Dec7.173846.4824@comm.wang.com> lws@comm.wang.com (Lyle Seaman) writes: >>I've been trying to debug another implementation of an SMTP mail agent, >>and one of the problems I'm facing is dealing with a '\n.\n' embedded >>in the body of the mail. > Check 'sendmail.cf' and see if there is a line containing 'Oi'. If there > is, simply remove the line, rebuild the freeze file if you are using one > (with 'sendmail -bz', and your problem should be solved. True. But another one will begin (at least under Sun's version of sendmail). I found that no mail could be transfered over our ethernet between sendmail's. The problem is that sendmail assumes that a '.' on its own ends the DATA input when using SMTP and the transmitting sendmail will send a '.' and then wait for an OK message. With Oi switched off the receiver just sits there waiting for more data and so the connection times out without sending the mail. -- ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.