home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!olivea!decwrl!sun-barr!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!mccall!ipmdf-newsgate!list
- From: ned@sigurd.innosoft.com (Ned Freed)
- Newsgroups: vmsnet.mail.pmdf
- Subject: RE: SMTP and Long Lines Supported ?
- Message-ID: <01GQRPYLL5O291W2L2@SIGURD.INNOSOFT.COM>
- Date: 5 Nov 92 06:32:24 GMT
- Organization: The Internet
- Lines: 35
- Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
- Resent-Date: 04 Nov 1992 22:32:24 -0800 (PST)
- Resent-From: epmdf@YMIR.CLAREMONT.EDU
- Errors-To: epmdf@YMIR.CLAREMONT.EDU
- Resent-Message-ID: <01GQRQDFDPHE8ZFMUZ@YMIR.CLAREMONT.EDU>
- 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
-
- 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
-