home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!ucla-cs!rutgers!psuvax1!uxa.ecn.bgu.edu!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Newsgroups: comp.mail.sendmail
- Subject: Re: Final newline required??
- Message-ID: <1992Sep11.215533.4871@mp.cs.niu.edu>
- Date: 11 Sep 92 21:55:33 GMT
- References: <CYTRON.92Sep10132154@helios.dfci.harvard.edu>
- Distribution: comp.mail.sendmail
- Organization: Northern Illinois University
- Lines: 18
-
- In article <CYTRON.92Sep10132154@helios.dfci.harvard.edu> cytron@helios.dfci.harvard.edu (Andrew Cytron) writes:
- >
- >Hello,
- >
- >I am trying to ascertain if a final newline is required for messages
- >by the sendmail/the standard for INTERNET TEXT MESSAGES (rfc822). I looked
- >over rfc822 and the sendmail man pages but could find no mention of this.
-
- RFC822 defines the message as a sequence of lines, with each line ending
- in CRLF. Thus the last character must be LF (which is the same as the
- Unix newline).
-
- Perhaps you were really asking if there must be an empty line as the
- last line of the message? If this was you question, then the answer is
- NO. There is no such requirement. In a typical unix setup, the delivery
- agent (often /bin/mail) will add a final empty line if the message does
- not already end in one. But this is because the unix mailbox format
- requires an empty line before the next "From " line.
-