mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
Implement IMAP REPLACE extension, RFC 8508.
REPLACE can be used to update draft messages as you are editing. Instead of requiring an APPEND and STORE of \Deleted and EXPUNGE. REPLACE works atomically. It has a syntax similar to APPEND, just allows you to specify the message to replace that's in the currently selected mailbox. The regular REPLACE-command works on a message sequence number, the UID REPLACE commands on a uid. The destination mailbox, of the updated message, can be different. For example to move a draft message from the Drafts folder to the Sent folder. We have to do quite some bookkeeping, e.g. for updating (message) counts for the mailbox, checking quota, un/retraining the junk filter. During a synchronizing literal, we check the parameters early and reject if the replace would fail (eg over quota, bad destination mailbox).
This commit is contained in:
@ -231,7 +231,7 @@ https://www.iana.org/assignments/message-headers/message-headers.xhtml
|
||||
8440 ? - IMAP4 Extension for Returning MYRIGHTS Information in Extended LIST
|
||||
8457 No - IMAP "$Important" Keyword and "\Important" Special-Use Attribute
|
||||
8474 Roadmap - IMAP Extension for Object Identifiers
|
||||
8508 Roadmap - IMAP REPLACE Extension
|
||||
8508 Yes - IMAP REPLACE Extension
|
||||
8514 Yes - Internet Message Access Protocol (IMAP) - SAVEDATE Extension
|
||||
8970 Roadmap - IMAP4 Extension: Message Preview Generation
|
||||
9208 Partial - IMAP QUOTA Extension
|
||||
|
Reference in New Issue
Block a user