Closed danieleggert closed 2 months ago
Add support for MESSAGELIMIT Extension.
Some use of RFC 9394 (aka. PARTIAL) to some extent relies on the server being able to announce a limit on the number of messages that can be processed in a single command. That is what
PARTIAL
https://www.ietf.org/archive/id/draft-ietf-extra-imap-messagelimit-08.html
is about.
Add the MESSAGELIMIT Extension by adding support for
MESSAGELIMIT
SAVELIMIT
UIDAFTER
UIDBEFORE
Additionally, this PR cleans up / simplifies the LastCommandSet such that the protocol IMAPEncodable is no longer needed.
LastCommandSet
protocol IMAPEncodable
Add support for MESSAGELIMIT Extension.
Motivation:
Some use of RFC 9394 (aka.
PARTIAL
) to some extent relies on the server being able to announce a limit on the number of messages that can be processed in a single command. That is whathttps://www.ietf.org/archive/id/draft-ietf-extra-imap-messagelimit-08.html
is about.
Modifications:
Add the
MESSAGELIMIT
Extension by adding support forMESSAGELIMIT
capabilitySAVELIMIT
capabilityUIDAFTER
search keyUIDBEFORE
search keyAdditionally, this PR cleans up / simplifies the
LastCommandSet
such that theprotocol IMAPEncodable
is no longer needed.