MBOX-Line: From aspineux at gmail.com  Tue Mar 20 07:17:27 2007
To: imap-protocol@u.washington.edu
From: Alain Spineux <aspineux@gmail.com>
Date: Fri Jun  8 12:34:38 2018
Subject: [Imap-protocol] literal usage
Message-ID: <71fe4e760703200717v201c983dq39791707ec286aa5@mail.gmail.com>

Hello

I'm suffering using the little bogus python imaplib, that don't handle well
literals.
I would like to update the code, but need enlightened advices.

In the following questions I'm not to much interested by AUTH, LOGIN, FETCH
or APPEND but more about LIST, SEARCH, SETACL ...

I would like to better understand the literal usage :

When does a _server_  OR  a _client_ use a literals ?
When their is no other way (when does quoted string are not enough) ?
What are the usual cases ? (I looked cyrus and found constraint about
size>1024 or use of special char like "%" )

What is the correct usage when mixing literal and string,
does I need to insert a space between the end of a literal ?

For example for a setacl mailbox username lrswipcda, where I mix strings
ands literals

(Here .. means CRLF)

C: 000001 SETACL "mailbox" {8}
S: wait for server "continuation response"
C: username..<DO I NEED TO INSERT A SPACE HERE>lrswipcda..

Best regards.


--
Alain Spineux
aspineux gmail com
May the sources be with you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20070320/099eadfc/attachment.html>
