home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!SIGURD.INNOSOFT.COM!NED
- Errors-to: epmdf@YMIR.BITNET
- X-Envelope-to: PMDF-L@IRLEARN.BITNET
- X-VMS-To: IN%"roseberry@taney.uscghq.uscg.mil"
- X-VMS-Cc: IPMDF
- MIME-version: 1.0
- Content-type: TEXT/PLAIN; CHARSET=US-ASCII
- Content-transfer-encoding: 7BIT
- Message-ID: <01GQRQDFDPHE8ZFMUZ@YMIR.CLAREMONT.EDU>
- Date: Thu, 5 Nov 92 06:57:29 GMT
- Sender: PMDF Distribution List <PMDF-L@IRLEARN.BITNET>
- From: Ned Freed <NED@SIGURD.INNOSOFT.COM>
- Subject: RE: SMTP and Long Lines Supported ?
- Newsgroups: bit.listserv.pmdf-l
- Lines: 35
-
- Dan's response is right on the money -- however, I wanted to add a couple
- of additional comments.
-
- The restriction in VMS MAIL is due to the way the MAIL-11 protocol is set up
- and handled. It would be easy for DEC to fix; they simply have not done so.
- In any case, if you don't use MAIL-11 (VMS MAIL's protocol over DECnet links)
- there is no line length restriction and PMDF will happily deliver those long
- lines to you. But if you use MAIL-11 there is no way for PMDF to know when
- it will be used. In this case MIME encodings are the best solution to the
- problem. And messages that never pass through VMS MAIL will never see the
- restriction -- PMDF's SMTP implementation will handle 1000 character lines
- quite nicely. Our SMTP doesn't produce longer lines (since they don't
- interoperate well) and I believe it will wrap lines longer than 1000 characters
- if it receives them over SMTP.
-
- Generally speaking, PMDF can accomodate per-channel line length restrictions.
- For example, if you have an incompliant SMTP implementation that cannot
- handle long lines you can set up a special channel for that connection that
- forces MIME encodings on messages longer than whatever limit you set.
-
- Although PMDF's SMTP can handle long lines it does network reads and writes
- blocked at 256 characters or so. This has no effect on line length since
- SMTP rides on top of a stream protocol. However, in some cases it is nice to
- be able to use larger block sizes to improve efficiency. As such, we've made
- a bunch of changes in the next release so that larger block sizes are
- supported (up to 1024 characters per block). The actual line length restriction
- is set depending on the transport so only those transport that support larger
- blocking factors can take advantage of this (most TCP/IP implementations can,
- for example). We've also implementing SMTP streaming (or pipelining) where
- SMTP commands are batched and sent in groups. This has to be used carefully
- since some versions of sendmail don't like it. However, when used between
- cooperating sites and over high-latency links it can improve throughput
- dramatically.
-
- Ned
-