Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!barnett From: barnett@grymoire.crd.ge.com (Bruce Barnett) Newsgroups: comp.mail.sendmail Subject: Re: '\n.\n' in body of mail Message-ID: Date: 19 Dec 90 12:04:28 GMT References: <1990Dec14.141102.17655@mp.cs.niu.edu> <757@keele.keele.ac.uk> <1990Dec17.180410.2699@mp.cs.niu.edu> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 44 In-reply-to: rickert@mp.cs.niu.edu's message of 17 Dec 90 18:04:10 GMT In article <1990Dec17.180410.2699@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: If I recall I did add a warning that the 'Oi' might be there for a reason. Neil is right. The protocol states that a line with a \n.\n is the end of the DATA section. Typically, machines add a second dot to all lines that start with a dot, and the receiving system removed the extra dot. Therefore, a line that has .pp is converted into ..pp when the receiving machine converts back. There is a mailer flag in the sendmail.cf file that specifies if the machine you connect to understands this or not. If you have the flag set, and the remote machine does not understand this convention, all lines that start with a dot will have two dots in them. If you don't have the flag set,and the remote machine expects this convention, your mail might be truncated at any line that starts with a dot. I just checked - and the mailer flag you want to use or ommit is 'X'. Here is the X flag on our ethernet mailer: # mailer # ether { # Path = "[TCP]", # Flags = { f_mult, f_strip, f_date, f_from, f_mesg, f_upperu, f_addrw, f_dot }, # Sender = RULESET_11, # Recipient = RULESET_21, # Argv = "TCP ${m_rhost}" # }; Mether, P=[TCP], F=msDFMuCX, S=11, R=21, A=TCP $h -- Bruce G. Barnett barnett@crd.ge.com uunet!crdgw1!barnett