
From tss@iki.fi  Sun Apr 15 08:09:37 2012
Return-Path: <tss@iki.fi>
X-Original-To: lemonade@ietfa.amsl.com
Delivered-To: lemonade@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A72F21F86CB for <lemonade@ietfa.amsl.com>; Sun, 15 Apr 2012 08:09:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ty1wxcyuPCCD for <lemonade@ietfa.amsl.com>; Sun, 15 Apr 2012 08:09:37 -0700 (PDT)
Received: from dovecot.org (dovecot.org [193.210.130.67]) by ietfa.amsl.com (Postfix) with ESMTP id C9DDC21F8671 for <lemonade@ietf.org>; Sun, 15 Apr 2012 08:09:36 -0700 (PDT)
Received: from [192.168.10.101] (a88-112-255-76.elisa-laajakaista.fi [88.112.255.76]) by dovecot.org (Postfix) with ESMTP id 150A11AE87BF for <lemonade@ietf.org>; Sun, 15 Apr 2012 18:09:35 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sun, 15 Apr 2012 18:09:34 +0300
Message-Id: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi>
To: lemonade@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
Subject: [lemonade] QRESYNC + \Recent flags
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Apr 2012 15:09:37 -0000

Something I just realized:

\Recent flag is kind of a special flag. Neither CONDSTORE nor QRESYNC =
RFC explicitly says what to do with it. I'd think there is no =
requirement to increase a message's MODSEQ when dropping its \Recent =
flag? But a client might still want to know when a mailbox has been =
SELECTed, so even if message MODSEQs themselves don't change, the =
mailbox's HIGHESTMODSEQ probably should.

Currently Dovecot doesn't change either of them.


From arnt@gulbrandsen.priv.no  Sun Apr 15 09:01:02 2012
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: lemonade@ietfa.amsl.com
Delivered-To: lemonade@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26C5021F87E9 for <lemonade@ietfa.amsl.com>; Sun, 15 Apr 2012 09:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.392
X-Spam-Level: 
X-Spam-Status: No, score=0.392 tagged_above=-999 required=5 tests=[AWL=-0.944,  BAYES_50=0.001, HTML_MESSAGE=0.001, HTML_TAG_BALANCE_HEAD=1.334]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z65i1gQJA0ZT for <lemonade@ietfa.amsl.com>; Sun, 15 Apr 2012 09:01:01 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) by ietfa.amsl.com (Postfix) with ESMTP id 9D05D21F87E7 for <lemonade@ietf.org>; Sun, 15 Apr 2012 09:00:49 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (unknown [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 44E11F8E3E9; Sun, 15 Apr 2012 16:00:47 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.4) with esmtpsa id 1334505646-16040-16039/10/1; Sun, 15 Apr 2012 16:00:46 +0000
User-Agent: Kaiten Mail
In-Reply-To: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi>
References: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=----VCG6ZY9IWGVAVE0NGRCLMKBNKFATD8
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Date: Sun, 15 Apr 2012 18:00:47 +0200
To: lemonade@ietf.org
Message-Id: <39653d74-b622-4fc9-bdd8-534188b43e1e@email.android.com>
Subject: Re: [lemonade] QRESYNC + \Recent flags
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Apr 2012 16:01:02 -0000

------VCG6ZY9IWGVAVE0NGRCLMKBNKFATD8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Oh please. Say pine instead of "a client" and you're true to the truest =
if imap traditions.

Arnt

------VCG6ZY9IWGVAVE0NGRCLMKBNKFATD8
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head/><body>Oh please. Say pine instead of &quot;a client&quot; =
and you&#39;re true to the truest if imap traditions.<br>
<br>
Arnt</body></html>

------VCG6ZY9IWGVAVE0NGRCLMKBNKFATD8--

From alexey.melnikov@isode.com  Tue Apr 17 04:35:25 2012
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: lemonade@ietfa.amsl.com
Delivered-To: lemonade@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81F6921F85D0 for <lemonade@ietfa.amsl.com>; Tue, 17 Apr 2012 04:35:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.515
X-Spam-Level: 
X-Spam-Status: No, score=-102.515 tagged_above=-999 required=5 tests=[AWL=0.084, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qN7DdwXAPreN for <lemonade@ietfa.amsl.com>; Tue, 17 Apr 2012 04:35:21 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by ietfa.amsl.com (Postfix) with ESMTP id E179E21F85C9 for <lemonade@ietf.org>; Tue, 17 Apr 2012 04:35:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1334662516; d=isode.com; s=selector; i=@isode.com; bh=OSSUwA8wfQMtkrY3GDYfGVF9r47A+WhYbJwt54XDwCI=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=TOE+DeL+M2atiWvbbIkCIqpbCUy6zXwAmqEhxVs3e8/JtyG40itA8/2ZKTCCT8qCDKPbce N3dI6JQ2sbpG1Tko66YPcQPpbLxLXrbe0QVKVS2RKKds6jOUxEWIcMzNFfijIELSfDKx6V /Rn+a02Nl91J+gNjr/eshy2ecIamiEE=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <T41VbwAg21lp@rufus.isode.com>; Tue, 17 Apr 2012 12:35:15 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4F8D55A4.6030108@isode.com>
Date: Tue, 17 Apr 2012 12:36:04 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: Timo Sirainen <tss@iki.fi>
References: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi>
In-Reply-To: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: lemonade@ietf.org
Subject: Re: [lemonade] QRESYNC + \Recent flags
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Apr 2012 11:35:25 -0000

Hi Timo,

On 15/04/2012 16:09, Timo Sirainen wrote:
> Something I just realized:
>
> \Recent flag is kind of a special flag. Neither CONDSTORE nor QRESYNC RFC explicitly says what to do with it.
Hmm, I've just checked and I think you are right.
> I'd think there is no requirement to increase a message's MODSEQ when dropping its \Recent flag? But a client might still want to know when a mailbox has been SELECTed,
Do you see a use case for that?
> so even if message MODSEQs themselves don't change, the mailbox's HIGHESTMODSEQ probably should.
I suppose no harm in updating the HIGHESTMODSEQ, but I honestly wouldn't 
bother, unless you have a good use case.
> Currently Dovecot doesn't change either of them.
Isode's implementation doesn't change any of them either.


From tss@iki.fi  Wed Apr 18 09:37:26 2012
Return-Path: <tss@iki.fi>
X-Original-To: lemonade@ietfa.amsl.com
Delivered-To: lemonade@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 140D921F8537 for <lemonade@ietfa.amsl.com>; Wed, 18 Apr 2012 09:37:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naiP9t5OGkD6 for <lemonade@ietfa.amsl.com>; Wed, 18 Apr 2012 09:37:23 -0700 (PDT)
Received: from dovecot.org (dovecot.org [193.210.130.67]) by ietfa.amsl.com (Postfix) with ESMTP id 65AF721F8581 for <lemonade@ietf.org>; Wed, 18 Apr 2012 09:37:20 -0700 (PDT)
Received: from [192.168.10.101] (a88-112-255-76.elisa-laajakaista.fi [88.112.255.76]) by dovecot.org (Postfix) with ESMTP id EE4081AE876C; Wed, 18 Apr 2012 19:37:18 +0300 (EEST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Timo Sirainen <tss@iki.fi>
In-Reply-To: <4F8D55A4.6030108@isode.com>
Date: Wed, 18 Apr 2012 19:37:18 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <AC33EDC0-107E-4699-9574-E8D139D0751F@iki.fi>
References: <B591FD78-6BB6-45AD-A214-3A8978E96DC8@iki.fi> <4F8D55A4.6030108@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.1084)
Cc: lemonade@ietf.org
Subject: Re: [lemonade] QRESYNC + \Recent flags
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Apr 2012 16:37:26 -0000

On 17.4.2012, at 14.36, Alexey Melnikov wrote:

> On 15/04/2012 16:09, Timo Sirainen wrote:
>> Something I just realized:
>>=20
>> \Recent flag is kind of a special flag. Neither CONDSTORE nor QRESYNC =
RFC explicitly says what to do with it.
> Hmm, I've just checked and I think you are right.
>> I'd think there is no requirement to increase a message's MODSEQ when =
dropping its \Recent flag? But a client might still want to know when a =
mailbox has been SELECTed,
> Do you see a use case for that?
>> so even if message MODSEQs themselves don't change, the mailbox's =
HIGHESTMODSEQ probably should.
> I suppose no harm in updating the HIGHESTMODSEQ, but I honestly =
wouldn't bother, unless you have a good use case.

Perhaps not.. I noticed it only because I was writing a syncing tool =
that used modseqs to figure out what changed. (And actually I'm not =
going to need it there either, I solved it another way.) A client that =
wants to know about it can approximate it pretty well with STATUS =
(RECENT), although that can't catch everything.

