MBOX-Line: From andris.reinman at gmail.com  Wed Mar 19 12:46:49 2014
To: imap-protocol@u.washington.edu
From: Andris Reinman <andris.reinman@gmail.com>
Date: Fri Jun  8 12:34:52 2018
Subject: [Imap-protocol] IMAP SUBMIT Extension, take two
In-Reply-To: <5f20eeec-c84b-4395-b89b-dfc243d9c465@flaska.net>
References: <5f20eeec-c84b-4395-b89b-dfc243d9c465@flaska.net>
Message-ID: <66E46BE7-0C45-4EFD-B18F-5A6959AADAC4@gmail.com>

Hi,

The proposal seems a bit too complicated, especially the need to track $ flags. I understand that sometimes it might be better to be able to send an existing message (for example a draft message already stored on the server) but wouldn?t it be good enough for most cases to allow uploading the message with SUBMIT (so the command would behave more like APPEND and less like UID STORE) and the response for this command would indicate if the message was accepted for delivery or not (like currently SMTP MDA servers do)?

For example something like this:

x SUBMIT ?Sent Messages? (\Seen) (FROM sender@example.com RECIPIENT receiver@example.com) {123}
?123 bytes message literal
* SUBMIT (ACCEPTED receiver@example.com)
x OK Message queued for delivery

In this case, if the message was accepted, it is appended to the selected mailbox, otherwise the message is ignored. It would be less efficient than dealing with already uploaded messages, especially when you need to re-send it but in most cases sending the message should not fail. This is how it works with SMTP - if the message is (temporarily) rejected by the MDA, you need to send it again. In most cases the message is not rejected and thus you need to send it only once.

Best regards,
Andris Reinman

On 19.03.2014, at 17:43, Jan Kundr?t <jkt@flaska.net> wrote:

> Hi,
> given the recent discussion about striving for perfection vs. solving what needs solving now, what are the list's thoughts about the draft I wrote half a year ago? It's implemented in Trojita, of course, but I don't know about any server-side implementation, unfortunately.
> 
> https://tools.ietf.org/html/draft-kundrat-imap-submit-02
> 
> With kind regards,
> Jan
> 
> -- 
> Trojit?, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
> _______________________________________________
> Imap-protocol mailing list
> Imap-protocol@u.washington.edu
> http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol


