MBOX-Line: From mrc+imap at panda.com  Sun Feb  6 23:21:19 2011
To: imap-protocol@u.washington.edu
From: Mark Crispin <mrc+imap@panda.com>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] Max literal line length
In-Reply-To: <AANLkTim51w9wOE2Ubis+-vucUi4ut42DZbO-v_Ffg6g8@mail.gmail.com>
References: <AANLkTim51w9wOE2Ubis+-vucUi4ut42DZbO-v_Ffg6g8@mail.gmail.com>
Message-ID: <alpine.OSX.2.00.1102062318050.30161@hsinghsing.panda.com>

With the exception of the APPEND command, most literals that are likely to
appear in an IMAP command are relatively small.  UW and Panda IMAP have a
limit of 10,000 octets which is far more than what anything is ever likely
to use.

APPEND (and APPEND-class exceptions such as CATENATE) is the exception.
Those literals can be as large as an email message (so potentially
hundreds of megabytes).

Many servers handle APPEND as a special case command.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

