Re: POP3 maildrop size and message size

Matt Madison <MADISON@tgv.com> Wed, 25 May 1994 20:15 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa09252; 25 May 94 16:15 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa09248; 25 May 94 16:15 EDT
Received: from PO3.ANDREW.CMU.EDU by CNRI.Reston.VA.US id aa14823; 25 May 94 16:15 EDT
Received: (from postman@localhost) by po3.andrew.cmu.edu (8.6.7/8.6.6) id QAA29057; Wed, 25 May 1994 16:07:52 -0400
Received: via switchmail for ietf-pop3+@andrew.cmu.edu; Wed, 25 May 1994 16:07:51 -0400 (EDT)
Received: from po3.andrew.cmu.edu via qmail ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.whsuzi:00Udb9lK04f>; Wed, 25 May 1994 16:07:13 -0400 (EDT)
Received: from CIA.TGV.COM (CIA.TGV.COM [161.44.128.12]) by po3.andrew.cmu.edu (8.6.7/8.6.6) with SMTP id QAA29008 for <ietf-pop3@andrew.cmu.edu>; Wed, 25 May 1994 16:06:58 -0400
Date: Wed, 25 May 1994 13:06:57 -0700
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Matt Madison <MADISON@tgv.com>
To: ietf-pop3@andrew.cmu.edu
Message-Id: <940525130657.60802877@TGV.COM>
Subject: Re: POP3 maildrop size and message size

John Gardiner Myers <jgm+@CMU.EDU> writes:
>I think the current specs quite clearly define the octet sizes as
>being exact values.

On the contrary, it does not do so "clearly".  Exactness is implied,
but "size" is not precisely defined. Is it simply the size as stored on the
server, or is it supposed to be the size as transferred to the client?
Does it include the CRLF's between lines, or not?  How about the extra
dots tacked onto the front of lines beginning with dots?

What I'm getting as is some leniency in the definition.  The main reason
for this is to alleviate what could be substantial, unnecessary, overhead
on the server end of things, because:

    1. Not all operating systems maintain file sizes in bytes.

    2. Not all maildrops are structured such that messages are stored
       in the same form as they will be transmitted -- for example,
       the local operating system might use just linefeeds to end
       lines, rather than CRLF's.

And to be a little more forward-thinking, what about message stores capable
of handling multimedia and multipart messages stored in a binary format?
Isn't it a little much to ask that POP servers built on these sorts of
message stores encode an entire maildrop in base64 (or whatever), just
to get the size?

After all, the exact size isn't needed for the purposes of the protocol -
a retrieved message is terminated with CRLF.CRLF.

If a client might need the exact size of a message, how about adding a
SIZE command to the protocol -- with appropriate definition of "size"
and appropriate admonitions about the possible overhead the use of
the command could incur?

-Matt