
From tss@iki.fi  Sat Feb 25 22:40:49 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 9A13F21F863F for <lemonade@ietfa.amsl.com>; Sat, 25 Feb 2012 22:40:49 -0800 (PST)
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 WYFLxh2yOnUP for <lemonade@ietfa.amsl.com>; Sat, 25 Feb 2012 22:40:49 -0800 (PST)
Received: from dovecot.org (dovecot.org [193.210.130.67]) by ietfa.amsl.com (Postfix) with ESMTP id E032D21F85AE for <lemonade@ietf.org>; Sat, 25 Feb 2012 22:40:48 -0800 (PST)
Received: from [192.168.10.101] (a88-112-255-76.elisa-laajakaista.fi [88.112.255.76]) by dovecot.org (Postfix) with ESMTP id 289371AE876B for <lemonade@ietf.org>; Sun, 26 Feb 2012 08:40:47 +0200 (EET)
From: Timo Sirainen <tss@iki.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sun, 26 Feb 2012 08:40:46 +0200
Message-Id: <5407047B-A39F-445B-B885-F99B865F0699@iki.fi>
To: lemonade@ietf.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
Subject: [lemonade] NOTIFY issues
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, 26 Feb 2012 06:40:49 -0000

1. If mailbox is unsubscribed, should untagged LIST reply be sent? I =
don't think client can differentiate it from any other untagged LIST =
reply, since there's no \Unsubscribed flag, so seems a bit pointless to =
send it. (Or alternatively \Subscribed could be required to be sent =
whenever sending LIST reply?)

2. If selected mailbox's events are set to NONE, I guess the mailbox can =
still change, the changes just aren't sent to client?

3. ServerMetadataChange isn't a mailbox-specific event, but it can only =
be specified related to filter-mailboxes. I guess it could be enabled if =
any of the filters include it, even if all of them don't.

BTW. This would have been easier to implement if there would have been =
simply two groups of events: events for filter-mailboxes-selected and =
events for filter-mailboxes-other (and global filters so =
ServerMetadataChange would make sense). I doubt many clients would have =
wanted to do anything more specific.


From tss@iki.fi  Wed Feb 29 00:37:41 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 8FEAF21F87B2 for <lemonade@ietfa.amsl.com>; Wed, 29 Feb 2012 00:37:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.392
X-Spam-Level: 
X-Spam-Status: No, score=-109.392 tagged_above=-999 required=5 tests=[AWL=-1.207, BAYES_40=-0.185, 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 CIwHh1Z8ERar for <lemonade@ietfa.amsl.com>; Wed, 29 Feb 2012 00:37:40 -0800 (PST)
Received: from dovecot.org (dovecot.org [193.210.130.67]) by ietfa.amsl.com (Postfix) with ESMTP id ECA1321F8782 for <lemonade@ietf.org>; Wed, 29 Feb 2012 00:37:29 -0800 (PST)
Received: from [192.168.10.101] (a88-112-255-76.elisa-laajakaista.fi [88.112.255.76]) by dovecot.org (Postfix) with ESMTP id 281861AE87FE for <lemonade@ietf.org>; Wed, 29 Feb 2012 10:37:28 +0200 (EET)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1084)
From: Timo Sirainen <tss@iki.fi>
In-Reply-To: <5407047B-A39F-445B-B885-F99B865F0699@iki.fi>
Date: Wed, 29 Feb 2012 10:37:27 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <495C9679-AC7B-4050-9F6C-5165C6C01ECE@iki.fi>
References: <5407047B-A39F-445B-B885-F99B865F0699@iki.fi>
To: lemonade@ietf.org
X-Mailer: Apple Mail (2.1084)
Subject: Re: [lemonade] NOTIFY issues
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, 29 Feb 2012 08:37:41 -0000

More:

> 2. If selected mailbox's events are set to NONE, I guess the mailbox =
can still change, the changes just aren't sent to client?

If implemented this way, it's ambiguous if NOTIFY NONE is the same as

a) NOTIFY SET (selected NONE)
b) NOTIFY SET (selected-delayed NONE)

Safer to assume b), so I'll do that.

>    If the FlagChange and/or AnnotationChange events are specified,
>    MessageNew and MessageExpunge MUST also be specified by the client.
>    Otherwise, the server MUST respond with the tagged BAD response.
>=20
>    If one of MessageNew or MessageExpunge is specified, then both =
events
>    MUST be specified.  Otherwise, the server MUST respond with the
>    tagged BAD response.

These make sense for selected/selected-delayed, but are unnecessary =
restrictions for non-selected mailbox notifications.

