Re: [IMAP] APPEND Command Usage

Dave Cridland <[email protected]>
Newsgroups gmane.ietf.imapext
Message-ID <CAKHUCzysV-5d3D5zohSzS_SNiX0uVDCZi6+YR21y2dhhWMSUqA@mail.gmail.com>
On 10 Dec 2014 17:46, "Alexey Melnikov" <[email protected]> wrote:
>
> Hi,
>
>
> On 10/12/2014 16:20, Jayantheesh S B wrote:
>>
>> Yes, I agree with your comments. Existing functionality should be broken
with this new proposal.
>>
>> But the TOOBIG response syntax does not convey the size supported by the
server
>>
>> resp-text-code =/ toobig-response-code / badurl-response-code
>> toobig-response-code = "TOOBIG"
>>
>> Reusing the TOOBIG response code with updated syntax like below solves
the issue
>>
>> toobig-response-code = " TOOBIG " [SP nz-number]
>> resp-text-code /=  toobig-response-code
>>
>> Please share your comments.
>
> Other people should weight in, but I am a bit unsure how safe is
extending already registered response codes. I can be convinced that this
is a non issue though.
>

Seems fraught with danger to me. We could always use enable and since the
problem by negotiation.

>> Regards,
>> Jay
>>
>> -----Original Message-----
>> From: Stuart Brandt [mailto:[email protected]]
>> Sent: Tuesday, December 09, 2014 8:25 PM
>> To: Jayantheesh S B; 'Alexey Melnikov'
>> Cc: '[email protected]'
>> Subject: Re: [imapext] [IMAP] APPEND Command Usage
>>
>> If I'm understanding the proposal correctly, a server that has already
implemented CATENATE and now implements APPENDLIMIT is left in an ambiguous
state whenever the limit is exceeded. If it returns [TOOBIG], then it's not
compliant with the APPENDLIMIT recommendation. If it returns [APPENDLIMIT
x] then it's returning an unexpected response to clients that have yet to
implement APPENDLIMIT, thereby "breaking"
>> existing functionality.
>>
>>
>> On 12/9/14 5:16 PM, Jayantheesh S B wrote:
>>>
>>> Hi All,
>>>
>>> Thanks for your response.
>>>
>>> New response code APPENDLIMIT will be returned as part of SELECT
response to convey per mailbox limit
>>>    and APPEND command response, if the APPENTLIMIT size is exceeded.
>>>
>>> C: t2 SELECT INBOX
>>> S: * 172 EXISTS
>>> S: * OK [APPENDLIMIT 257890] Maximum upload limit
>>> S: [...]
>>> S: t2 OK [READ-WRITE] SELECT completed
>>>
>>> C: t1 APPEND "Draft" (\SEEN \DRAFT) {98994952}
>>> S: t1 NO [APPENDLIMIT 257890] Exceeds the maximum allowed size
>>>
>>> Whereas TOOBIG response, does not covey the size restriction applied by
the server.
>>>
>>>    resp-text-code =/ toobig-response-code / badurl-response-code
>>>    toobig-response-code = "TOOBIG"
>>>
>>> We feel APPENDLIMIT response can convey per mailbox size restriction
and it can overcome the limitation of TOOBIG response.
>>>
>>> Please share your thoughts.
>>>
>>> Regards,
>>> Jay
>>
>> _______________________________________________
>> imapext mailing list
>> [email protected]
>> https://www.ietf.org/mailman/listinfo/imapext
>
>
> _______________________________________________
> imapext mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/imapext

_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.