Re: [Extra] SAVEDATE updated required
Bron Gondwana <brong@fastmailteam.com> Tue, 09 January 2018 22:07 UTC
Return-Path: <brong@fastmailteam.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 817C012D574 for <extra@ietfa.amsl.com>; Tue, 9 Jan 2018 14:07:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=i8ij93w+; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=pk9MSgmm
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2bHVOablMpyA for <extra@ietfa.amsl.com>; Tue, 9 Jan 2018 14:07:33 -0800 (PST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A8DC12773A for <extra@ietf.org>; Tue, 9 Jan 2018 14:07:33 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7B63120DBC; Tue, 9 Jan 2018 17:07:32 -0500 (EST)
Received: from web2 ([10.202.2.212]) by compute6.internal (MEProxy); Tue, 09 Jan 2018 17:07:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=content-transfer-encoding:content-type:date :from:in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Z0KeMnVNlenT18KmG TElb4KDR4U/+w3PAZukcKU5mgg=; b=i8ij93w+ZIwx/pzQvHZRsumr8kuROipcn WBmzNafkJ7Xr//ur0koWg2V3f+O5sYrkk8EM54dc2fcWsY8gA9jR36bJlP6viXTv P0RbksVeslMQDMEe20z5TtVWFX6g+2i6p6FSSt8Xsnxbk5BG5epUuZjBkz1zaEf3 piMQ9h+WDBShyFkL81ejOjUuVOHtycCQ/lTbkZvzkrY4csXkvy3XTELM/ZCx7x3c KgPoAHLKm6JKbo5h2ae+tQEtuvV5ysKAPA+2f9yrOzwBfy62BtH7VDBUz3p6KN5B VA/O/BoElUEIniS5AcRbp4Ul0QB1rW2ekYE9OcQiH8o7nKKgRbcjw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Z0KeMn VNlenT18KmGTElb4KDR4U/+w3PAZukcKU5mgg=; b=pk9MSgmmNQoVh9BlJWjwvo 71WrY7FsxL3ckIncaOhJyNax9dw5ofb1WxDjnP20JdBG77gr+UpgT5KaYvyHgMoB +Rftuc3nPYPBsi21KW4pShApZzPHqXTtVf7q+nUM0mS6Y0PVOC9rxoMhWIFDY3RC r67XeSz7wyg8nwJDvBgBCvfZ0jNrSSTZqFFF81uetoB8xV+RqgdEskZkm4GNqmVh SLtjG5gnZ4+fPxpl/IpBlSrsKlPbjdemxzQK3E2DCw8shE9GQ/YPFbYjyo02ystS 85Wr4iKxCtBygruVEDgDtvtQC00l/FGyGA4Ir4+4zq+98QKc5oeU/cQRuGkJHFLA ==
X-ME-Sender: <xms:JD1VWgEgNF8HCoAqw-_skaKoTuPeRiI7o2aqUyoop08JY_7hLejdJw>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 4E45462B8D; Tue, 9 Jan 2018 17:07:32 -0500 (EST)
Message-Id: <1515535652.2227838.1229863408.73E33F10@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmailteam.com>
To: Stephan Bosch <stephan.bosch@dovecot.fi>, extra@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_151553565222278380"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-6368b27c
Date: Wed, 10 Jan 2018 09:07:32 +1100
References: <1515027295.3130822.1223568456.6D1D8F15@webmail.messagingengine.com> <a0bdee18-3fb2-3b49-58f2-f9b87f1b9622@dovecot.fi> <1515362666.2687647.1227253816.726EA133@webmail.messagingengine.com> <84ae8816-7654-707a-d0f7-24d1ae1e7e12@dovecot.fi>
In-Reply-To: <84ae8816-7654-707a-d0f7-24d1ae1e7e12@dovecot.fi>
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/XYVoKGMSFLdHRCbRArEA8v4uhkk>
Subject: Re: [Extra] SAVEDATE updated required
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jan 2018 22:07:35 -0000
No problem at all! I'm running a choir festival for the next 10 days, so I'm going to have very limited availability anyway :) Cheers, Bron. On Wed, 10 Jan 2018, at 06:37, Stephan Bosch wrote: > Hi Bron, > > I need to think about this a little more. I will reply this one a > bit later.> > Regards, > > Stephan. > > Op 1/7/2018 om 11:04 PM schreef Bron Gondwana: >> On Mon, 8 Jan 2018, at 00:04, Stephan Bosch wrote: >>> Hi Bron, >>> >>> Op 1/4/2018 om 1:54 AM schreef Bron Gondwana: >>> >>> 2: if the mailbox doesn't support storing save date, the SEARCH >>> extensions should return an error if used, rather than a result, >>> since >>> there's no way to calculate a sensible answer to any of those >>> three.>>> >>> >>> SAVEDBEFORE <date> >>> Messages whose save date (disregarding time and timezone) is>>> earlier than the specified date. >>> >>> SAVEDON <date> >>> Messages whose save date (disregarding time and timezone) is>>> within the specified date. >>> >>> SAVEDSINCE <date> >>> Messages whose save date (disregarding time and timezone) is>>> within or later than the specified date. >>> >>> >>> Ok, for the sake of discussion, I added text with this effect in the>>> last version. However, I am not quite happy with it yet. >>> Returning an>>> error seems a bit harsh. Do we need to provide some means for the >>> client>>> to find out whether the mailbox supports the save date attribute >>> before>>> trying to use it? >> >> That could be done: >> >> TAG select "foo" >> * 1 EXISTS >> * 1 RECENT >> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) >> * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Seen \*)] Ok >> * OK [UNSEEN 1] Ok >> * OK [UIDVALIDITY 1515362059] Ok >> * OK [UIDNEXT 2] Ok >> * OK [HIGHESTMODSEQ 7] Ok >> * OK [URLMECH INTERNAL] Ok >> * OK [ANNOTATIONS 65536] Ok >> TAG OK [READ-WRITE] Completed >> >> Another line in there that said something like: >> >> * OK [SAVEDATE] Ok >> >> Would probably work fine. >> >>> Also, there's the MULTISEARCH extension (RFC7377), which adds an >>> ESEARCH>>> command that allows searching across a wide selection of >>> mailboxes, some>>> of which may in fact lack support for the save date attribute. >>> What is>>> to be done in that case? Fail the whole ESEARCH command? Ignore the>>> mailboxes that lack support? Make the SAVED* search items yield >>> a false>>> result for that mailbox? None of these options seem very appealing.>> >> There are three choices: >> 1) reject the command if any folder doesn't support SAVEDATE >> 2) reject the command if none of the folders support SAVEDATE >> 3) succeed regardless of the support for SAVEDATE >> >> And if there are folders that don't support SAVEDATE for case 2 or 3,>> you can: >> a) use the INTERNALDATE instead >> b) don't match the message >> >> I think (a) is clearly wrong here - if you're deleting everything >> that's SAVEDBEFORE 1 month ago from a Trash folder, then INTERNALDATE>> will purge things before you want to. >> >> The alternative is to treat SAVEDATE as NULL in the same way >> SQL does,>> and I think that's the right choice. So you can say "SEARCH NOT >> SAVEDAFTER {X} BEFORE {X}" if you want to get the behaviour of >> deleting everything that was SAVEDBEFORE a time, or fallback to >> INTERNALDATE if it's not supported. >> >>> 3: Do we need to define SAVEDATE as a SORT key extending RFC5256 >>> as>>> well? In theory it should always sort the same as UID. >>> >>> >>> I don't think this is particularly useful, although it is not >>> difficult>>> to add. I agree that sorting is normally equal to seq/UID. I >>> checked:>>> Dovecot does not currently implement a sort key for this. >> >> I'm fine with not having it. >> >> By the way, I have plans for a JMAP extension which maps >> SAVEDATE into>> JMAP. Have been chatting with Neil about it. It seems a good first>> case for an example extension :) >> >> Bron. >> >> -- >> Bron Gondwana, CEO, FastMail Pty Ltd >> brong@fastmailteam.com >> >> >> >> >> _________________________________________________ >> Extra mailing list >> Extra@ietf.org >> https://www.ietf.org/mailman/listinfo/extra > > > -- > Stephan Bosch > Senior Developer > > > Phone: +49 2761 75252 00 Fax: +49 2761 75252 30 > Email: stephan.bosch@dovecot.fi > > > ---------------------------------------------------------------------- > ---------------> Open-Xchange AG, Rollnerstr. 14, 90408 Nuremberg, District Court > Nuremberg HRB 24738> Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael > Knapstein> Chairman of the Board: Richard Seibt > > Dovecot Oy, Lars Sonckin Kaari 10, 02600 Espoo, Finland > Managing Director: Markku Kentta > Chairman of the Board: Timo Sirainen > Board Member: Carsten Dirks > > ---------------------------------------------------------------------- > ---------------> -- Bron Gondwana, CEO, FastMail Pty Ltd brong@fastmailteam.com
- [Extra] SAVEDATE updated required Bron Gondwana
- Re: [Extra] SAVEDATE updated required Stephan Bosch
- Re: [Extra] SAVEDATE updated required Stephan Bosch
- Re: [Extra] SAVEDATE updated required Bron Gondwana
- Re: [Extra] SAVEDATE updated required Stephan Bosch
- Re: [Extra] SAVEDATE updated required Bron Gondwana
- Re: [Extra] SAVEDATE updated required Stephan Bosch
- Re: [Extra] SAVEDATE updated required Stephan Bosch
- Re: [Extra] SAVEDATE updated required Bron Gondwana
- Re: [Extra] SAVEDATE updated required Stephan Bosch