
Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9BJNKM14495 for ietf-imapext-bks; Thu, 11 Oct 2001 12:23:20 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (tanner@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BJNJD14491 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 12:23:19 -0700 (PDT)
Date: Thu, 11 Oct 2001 11:56:47 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Paul Smith <paul@pscs.co.uk>
cc: ietf-imapext@imc.org
In-Reply-To: <5.1.0.14.2.20011011093251.08913e28@192.168.57.100>
Message-ID: <MailManager.1002826607.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 11 Oct 2001 09:32:55 +0100, Paul Smith wrote:
> I don't think throwing away and replacing RFC 2086 is a good idea at all.
> I'd vote for a different extension as well. To 'replace' RFC 2086, you'd
> either have to call the new extension ACL as well (endless confusion), or
> call it ACLPLUS or ACL2 or something. In that case, anyone who wants
> interoperability would still implement ACL as well as ACLPLUS/ACL2/whatever
> just to allow maximum interoperability.

I think that we're loudly agreeing.

> Create a new standard and 'deprecate' RFC 2086, but don't replace it.

That's exactly what I advocate.

> (BTW, I'm not really convinced by your arguments that there's anything
> wrong with the current ACL standard apart from its ambiguities - you seem
> to be saying that it's not workable on a UNIX back-end, but I don't believe
> that, the abstraction layer you have to write may be a bit more complex,
> but you'd get it to work. In our Windows IMAP server we wrote our own ACL
> implementation from scratch - the OS has nothing at all to do with it, you
> could do the same on any OS. The ambiguities are the main problem IMHO.)

I agree that the ambiguities in RFC 2086 are the main problem if you implement
your own ACL mechanism separate from the operating system.  However, that is
not an option for me.

I have worked out the abstraction layer between RFC 2086 and the UNIX access
control model.  If it were just a matter of complexity, I wouldn't be
squawking.  The problem is that the abstraction layer removes too much
functionality from both RFC 2086 and UNIX access control, resulting in a
subset that is too limited to be useful.

Another problem is that, either way, the RFC 2086 inheritance rules and the
overloading of certain rights render it impossible to present certain UNIX
access control configurations.  Put another way, an ACL from a UNIX server is
a lie.

The first problem can be resolved by removing the RFC 2086 requirement that
identifiers be a "user name string accepted by the LOGIN or AUTHENTICATE
command" (RFC 2086, page 2).  Instead, create a mechanism by which identifiers
can be defined (and one possible definition be a user name), and by which a
client can get the identifier.

For example, all you have to do to make an RFC 2086 server comply is to hack
it so the following scenario works:
	a008 GETACLIDENTIFER fred
	* ACLIDENTIFIER fred user=fred
	a008 OK done!
	a009 SETACLIDENTIFER fred user=bill
	a009 NO identifiers in this server must be a user name

I will implement rules in naming identifiers even if the RFC 2086 successor
does not.  However, I think that it would be desirable for the RFC 2086
successor to have the rules so that clients can use knowledge of the rules.

In any case, the mapping of ACL identifier to user name must go.

As for the second problem, I think that I have compelling arguments (not the
least being simplicity) for abolishing inheritance and negative rights, and
for additional granularity in rights.  Anyway, few people seem to dispute the
need for the latter.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9BGXLS07189 for ietf-imapext-bks; Thu, 11 Oct 2001 09:33:21 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (ref@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BGXKD07185 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 09:33:20 -0700 (PDT)
Date: Thu, 11 Oct 2001 09:30:22 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: Historical question: CAPABILITY and the extensions
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
In-Reply-To: <20011011133641.E31142@witt-witt.caldera.de>
Message-ID: <MailManager.1002817822.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 11 Oct 2001 13:36:41 +0200, Arnt Gulbrandsen wrote:
> It can't really be changed, but I'm curious: Why is the CAPABILITY
> command argumentless?

In general, we have tried to eschew "big switches", and instead make new
features be driven by new commands.  This isn't religion: we have talked about
"big switches" for i18n purposes.  But, in general, it is felt that protocol
modalities are a bad idea since they make the protocol too complex.



Received: by above.proper.com (8.11.6/8.11.3) id f9BBari14165 for ietf-imapext-bks; Thu, 11 Oct 2001 04:36:53 -0700 (PDT)
Received: from witt-witt.caldera.de (witt-witt.caldera.de [195.143.241.43]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BBapD14159 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 04:36:51 -0700 (PDT)
Received: (from arnt@localhost) by witt-witt.caldera.de (8.11.6/8.11.1) id f9BBagk00969; Thu, 11 Oct 2001 13:36:42 +0200
Date: Thu, 11 Oct 2001 13:36:41 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Historical question: CAPABILITY and the extensions
Message-ID: <20011011133641.E31142@witt-witt.caldera.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

It can't really be changed, but I'm curious: Why is the CAPABILITY
command argumentless?

If its grammar were like that of the CAPABILITY response, then
extensions could add responses just like commands, message data items,
sort keys, etc. This seems a strange omission; why is it like that?

There's an easy workaround: An extension that wants a unilateral
"* BLAH 1234" can specify "* OK [BLAH 1234]" instead.  But still, I'm
curious.

No prizes for guessing which draft I was just reading ;)

--Arnt


Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9B8dFP00925 for ietf-imapext-bks; Thu, 11 Oct 2001 01:39:15 -0700 (PDT)
Received: from marvin.nildram.co.uk (marvin.nildram.co.uk [195.112.4.71]) by above.proper.com (8.11.6/8.11.3) with SMTP id f9B8dDD00918 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 01:39:13 -0700 (PDT)
Received: (qmail 13776 invoked from network); 11 Oct 2001 08:39:02 -0000
Received: from unknown (HELO paul.pscs.co.uk) (195.149.15.3) by marvin.nildram.co.uk with SMTP; 11 Oct 2001 08:39:02 -0000
Received: from 192.168.57.101 by paul.pscs.co.uk ([192.168.57.100] running VPOP3) with ESMTP; Thu, 11 Oct 2001 09:33:03 +0100
Message-Id: <5.1.0.14.2.20011011093251.08913e28@192.168.57.100>
X-Sender: paullocal@192.168.57.100
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 11 Oct 2001 09:32:55 +0100
To: Mark Crispin <MRC@cac.washington.edu>
From: Paul Smith <paul@pscs.co.uk>
Subject: Re: More questions about IMAP ACL
Cc: ietf-imapext@imc.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Server: VPOP3 Enterprise V1.5.0z - Registered
X-Organisation: Paul Smith Computer Services
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

> > We can always define a different extension if people want different
> > behavior.
>
>This is extremely unwise IMHO.  IESG has already said that they won't advance
>two IMAP ACL extensions.  The best way to make that outcome happen is to
>refuse to accomodate non-AFS requirements.
>
>I think that we need to bite the bullet and create a replacement extension.
>Window-dressing on RFC 2086 is a mistake.

I don't think throwing away and replacing RFC 2086 is a good idea at all. 
I'd vote for a different extension as well. To 'replace' RFC 2086, you'd 
either have to call the new extension ACL as well (endless confusion), or 
call it ACLPLUS or ACL2 or something. In that case, anyone who wants 
interoperability would still implement ACL as well as ACLPLUS/ACL2/whatever 
just to allow maximum interoperability.

Create a new standard and 'deprecate' RFC 2086, but don't replace it.

(BTW, I'm not really convinced by your arguments that there's anything 
wrong with the current ACL standard apart from its ambiguities - you seem 
to be saying that it's not workable on a UNIX back-end, but I don't believe 
that, the abstraction layer you have to write may be a bit more complex, 
but you'd get it to work. In our Windows IMAP server we wrote our own ACL 
implementation from scratch - the OS has nothing at all to do with it, you 
could do the same on any OS. The ambiguities are the main problem IMHO.)


Paul				VPOP3 - Internet Email Server/Gateway
paul@pscs.co.uk			http://www.pscs.co.uk/




Received: by above.proper.com (8.11.6/8.11.3) id f9ALKIZ19984 for ietf-imapext-bks; Wed, 10 Oct 2001 14:20:18 -0700 (PDT)
Received: from atg.aciworldwide.com (h139-142-180-4.gtcust.grouptelecom.net [139.142.180.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9ALKHD19980 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 14:20:17 -0700 (PDT)
Received: from atg.aciworldwide.com (atg.aciworldwide.com [139.142.180.33]) by atg.aciworldwide.com (8.12.0/8.12.0) with ESMTP id f9ALKA8f048588; Wed, 10 Oct 2001 15:20:11 -0600 (MDT)
Message-Id: <200110102120.f9ALKA8f048588@atg.aciworldwide.com>
Organization: ACI Worldwide - Advanced Technology Group
X-URL: http://www.aciworldwide.com/
X-Notes-Item: Just say no to Notes!
To: Mark Crispin <MRC@cac.washington.edu>
cc: Alexey Melnikov <mel@messagingdirect.com>, Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL 
In-Reply-To: Message from Mark Crispin <MRC@cac.washington.edu>  of "Wed, 10 Oct 2001 12:58:22 PDT." <MailManager.1002743902.8667.mrc@Ikkoku-Kan.Panda.COM> 
Date: Wed, 10 Oct 2001 15:20:10 -0600
From: Lyndon Nerenberg <lyndon@atg.aciworldwide.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

There are two show-stoppers that I can see:

1) If we specify a naming scheme for users vs. groups in ACLs,
   we're usurping part of the existing namespace for identifiers,

2) Splitting of message and folder delete rights.

Either of these breaks backwards compatibility, so I don't see that
we have any alternative but to move the current ACL spec to
historic when we introduce the new spec.

--lyndon


Received: by above.proper.com (8.11.6/8.11.3) id f9AKMM618099 for ietf-imapext-bks; Wed, 10 Oct 2001 13:22:22 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (royk@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AKMLD18095 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 13:22:21 -0700 (PDT)
Date: Wed, 10 Oct 2001 12:58:22 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
In-Reply-To: <3BC49DD6.85FA93B1@messagingdirect.com>
Message-ID: <MailManager.1002743902.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 13:13:26 -0600, Alexey Melnikov wrote:
> Can we define two IMAP extensions: one is fixed version of RFC 2086 and
> another that is a superset of the first with new functionality?

I am not opposed to this idea if it can be accomplished.  I'm not sure that it
can.  For example, if a server distinguishes between two new rights, how is
that represented in the old way?

Doing a lot of the extension work in naming semantics would help compatibility
a lot, which is why I advocated that.  But a client is going to need some
additional commands to do some of the things.  Then there's the rathole of
inheritance (I've said my position on that topic many times, hopefully there's
no need to repeat it)...

I'm not sure how we can be upwards-compatible yet make desirable changes.  I
believe that we can be upwards-upgradable, especially for clients, without too
much problem.  Most of the ACL => ACLPLUS upgrade burden will be on servers,
which is as it should be.

> Correct me if I am wrong,
> but I believe IESG will have problems with two *competing* ACL extensions,
> not with two compatible.

Should we succeed in this regard, the superset extension will probably be the
only one that advances.  Since I believe that the new functionality can be
easily implemented (at least as a no-op) this should be alright with the
oldline ACLers.

The problem will be changing the inheritance rules as I advocate.  I feel that
it should be done, but I see problems if clients know about RFC2086's
inheritance rules.  If we're lucky, clients don't.



Received: by above.proper.com (8.11.6/8.11.3) id f9AJDSb16481 for ietf-imapext-bks; Wed, 10 Oct 2001 12:13:28 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AJDQD16477 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 12:13:26 -0700 (PDT)
Received: from messagingdirect.com (gagarin.esys.ca [198.161.92.84]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9AJDQK30427; Wed, 10 Oct 2001 13:13:26 -0600
Message-ID: <3BC49DD6.85FA93B1@messagingdirect.com>
Date: Wed, 10 Oct 2001 13:13:26 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Crispin <MRC@cac.washington.edu>
CC: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL
References: <MailManager.1002738254.8667.mrc@Ikkoku-Kan.Panda.COM>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> > We can always define a different extension if people want different
> > behavior.
>
> This is extremely unwise IMHO.  IESG has already said that they won't advance
> two IMAP ACL extensions.

Can we define two IMAP extensions: one is fixed version of RFC 2086 and another
that is a superset of the first with new functionality? Correct me if I am wrong,
but I believe IESG will have problems with two *competing* ACL extensions, not
with two compatible.

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AIcGd15340 for ietf-imapext-bks; Wed, 10 Oct 2001 11:38:16 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (wml@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AIcFD15336 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:38:15 -0700 (PDT)
Date: Wed, 10 Oct 2001 11:24:14 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: ietf-imapext@imc.org
In-Reply-To: <200110101821.f9AILaUi005409@smtp7.andrew.cmu.edu>
Message-ID: <MailManager.1002738254.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 14:21:36 -0400, Lawrence Greenfield wrote:
> We already have interoperability on RFC 2086.  I'd be in favor of
> minimal changes.

The problem is not the interoperability of RFC 2086, but the implementability
and usefulness of such an implementation.

My analysis suggests that I would badly break the RFC 2086 world if UW imapd
started supporting ACL.  What makes sense in UW imapd would greatly confuse a
client which assumes that AFS style world implied by RFC 2086.  The language
in RFC 2086 that was designed to allow a filesystem access control model has
ambiguities that you can drive a truck through!

An additional problem is missing functionality.  It may not be important to
AFS users (since that functionality isn't there), but when you have an access
control model that is the *intersection* of AFS and UNIX you have a very small
one indeed.

> We can always define a different extension if people want different
> behavior.

This is extremely unwise IMHO.  IESG has already said that they won't advance
two IMAP ACL extensions.  The best way to make that outcome happen is to
refuse to accomodate non-AFS requirements.

I think that we need to bite the bullet and create a replacement extension.
Window-dressing on RFC 2086 is a mistake.

I believe that with a better abstraction layer in IMAP ACL, it is possible to
create a union of AFS and UNIX access control that solves the problems without
making either an AFS or UNIX back end look deficient.  I believe that such an
abstraction layer should be the primary focus of our efforts.

We can certainly use RFC 2086 as a starting point.  I have no particular
problem with the access rights.  It's primarily naming and rights inheritance
which are the problem.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AILec14841 for ietf-imapext-bks; Wed, 10 Oct 2001 11:21:40 -0700 (PDT)
Received: from smtp7.andrew.cmu.edu (SMTP7.ANDREW.CMU.EDU [128.2.10.87]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AILcD14836 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:21:38 -0700 (PDT)
Received: from penguin.andrew.cmu.edu (PENGUIN.ANDREW.CMU.EDU [128.2.121.100]) (user=leg mech=KERBEROS_V4 (56 bits)) by smtp7.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f9AILaUi005409; Wed, 10 Oct 2001 14:21:36 -0400
Date: Wed, 10 Oct 2001 14:21:36 -0400
Message-Id: <200110101821.f9AILaUi005409@smtp7.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.2
To: ietf-imapext@imc.org
In-reply-to: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Subject: Re: More questions about IMAP ACL
References: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

   Date: Wed, 10 Oct 2001 00:47:43 -0600
   From: Alexey Melnikov <mel@messagingdirect.com>

   I have couple generic questions about IMAP ACL:

   1). Should the document be fully backward compatible with RFC 2086? (for
   example, dropping identifiers starting with dash will break
   compatibility).

I don't think that's possible if we want to add an "x" right.

   2). Should the document extend functionality or just fix RFC 2086?

We already have interoperability on RFC 2086.  I'd be in favor of
minimal changes.

We can always define a different extension if people want different
behavior.

Larry



Received: by above.proper.com (8.11.6/8.11.3) id f9AI5Wv13586 for ietf-imapext-bks; Wed, 10 Oct 2001 11:05:32 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (pra@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AI5VD13574 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:05:31 -0700 (PDT)
Date: Wed, 10 Oct 2001 11:04:49 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: ietf-imapext@imc.org
In-Reply-To: <3BC48D16.6FE84367@messagingdirect.com>
Message-ID: <MailManager.1002737089.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 12:01:58 -0600, Alexey Melnikov wrote:
> Should we define a new capability name?

I say yes.  Let's leave ACL as RFC 2086, and define ACLPLUS.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AI1vP13068 for ietf-imapext-bks; Wed, 10 Oct 2001 11:01:57 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AI1uD13064 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:01:56 -0700 (PDT)
Received: from messagingdirect.com (gagarin.esys.ca [198.161.92.84]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9AI1wK29834; Wed, 10 Oct 2001 12:01:58 -0600
Message-ID: <3BC48D16.6FE84367@messagingdirect.com>
Date: Wed, 10 Oct 2001 12:01:58 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL
References: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov wrote:

> I have couple generic questions about IMAP ACL:
>
> 1). Should the document be fully backward compatible with RFC 2086? (for
> example, dropping identifiers starting with dash will break
> compatibility).

It just came to me, that adding new rights is not backward compatible
change: some servers don't support storing of arbitrary rights. Also old
servers will use "d" flag for STORE \Deleted, EXPUNGE and DELETE. This will
be a problem for clients. Should we define a new capability name?

> 2). Should the document extend functionality or just fix RFC 2086?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AGciO09650 for ietf-imapext-bks; Wed, 10 Oct 2001 09:38:44 -0700 (PDT)
Received: from smtp6.andrew.cmu.edu (SMTP6.ANDREW.CMU.EDU [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AGcfD09645 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 09:38:42 -0700 (PDT)
Received: from penguin.andrew.cmu.edu (PENGUIN.ANDREW.CMU.EDU [128.2.121.100]) (user=leg mech=KERBEROS_V4 (56 bits)) by smtp6.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f9AGcd6E027139; Wed, 10 Oct 2001 12:38:39 -0400
Date: Wed, 10 Oct 2001 12:38:39 -0400
Message-Id: <200110101638.f9AGcd6E027139@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.2
To: ietf-imapext@imc.org, Alexey Melnikov <mel@messagingdirect.com>
In-reply-to: <3BC3E92E.44D1EAA4@messagingdirect.com>
Subject: Re: Question about existing implementations of ACL (RFC 2086)
References: <3BC3E92E.44D1EAA4@messagingdirect.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

   Date: Wed, 10 Oct 2001 00:22:38 -0600
   From: Alexey Melnikov <mel@messagingdirect.com>
   Organization: ACI WorldWide / MessagingDirect

   [I am trying to collect some implementation feedback before I submit new
   revision of ACL draft.]

   Anybody implemented groups in IMAP ACL? What naming schemes different
   implementations use?

We implement groups with several different authorization modules:

. The one we use on campus is AFS PTS groups, which don't collide with
  our user identifiers.  (All PTS groups have ":" in them, all PTS
  users don't.)

. The Unix /etc/group authorization module prefixes all Unix groups
  with "group:".

. There's a krb authorization module that allows for wildcards (ie,
  "*@CS.CMU.EDU" or "leg.*@ANDREW.CMU.EDU") which work like groups.

Larry



Received: by above.proper.com (8.11.6/8.11.3) id f9A7oXO23990 for ietf-imapext-bks; Wed, 10 Oct 2001 00:50:33 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (mhmcg@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A7oVD23980 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 00:50:31 -0700 (PDT)
Date: Wed, 10 Oct 2001 00:49:26 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: ietf-imapext@imc.org
In-Reply-To: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Message-ID: <MailManager.1002700166.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 00:47:43 -0600, Alexey Melnikov wrote:
> 1). Should the document be fully backward compatible with RFC 2086?

Try, but don't allow that to keep you from doing the right thing when
necessary.

> 2). Should the document extend functionality or just fix RFC 2086?

It should extend functionality.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9A6llh15297 for ietf-imapext-bks; Tue, 9 Oct 2001 23:47:47 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A6lkD15289 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 23:47:46 -0700 (PDT)
Received: from messagingdirect.com (dial100.incentre.net [207.34.59.100]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9A6liK22596; Wed, 10 Oct 2001 00:47:44 -0600
Message-ID: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Date: Wed, 10 Oct 2001 00:47:43 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: More questions about IMAP ACL
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I have couple generic questions about IMAP ACL:

1). Should the document be fully backward compatible with RFC 2086? (for
example, dropping identifiers starting with dash will break
compatibility).
2). Should the document extend functionality or just fix RFC 2086?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9A6Mhq10534 for ietf-imapext-bks; Tue, 9 Oct 2001 23:22:43 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A6MfD10523 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 23:22:41 -0700 (PDT)
Received: from messagingdirect.com (dial100.incentre.net [207.34.59.100]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9A6MdK22469; Wed, 10 Oct 2001 00:22:39 -0600
Message-ID: <3BC3E92E.44D1EAA4@messagingdirect.com>
Date: Wed, 10 Oct 2001 00:22:38 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Question about existing implementations of ACL (RFC 2086)
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

[I am trying to collect some implementation feedback before I submit new
revision of ACL draft.]

Anybody implemented groups in IMAP ACL? What naming schemes different
implementations use?
Any special prefix?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: by above.proper.com (8.11.6/8.11.3) id f9A5mf204078 for ietf-imapext-bks; Tue, 9 Oct 2001 22:48:41 -0700 (PDT)
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A5mdD04074 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 22:48:39 -0700 (PDT)
Received: from mailhost2.u.washington.edu (mailhost2.u.washington.edu [140.142.33.2]) by mxout2.cac.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with ESMTP id f9A5mhs05899; Tue, 9 Oct 2001 22:48:43 -0700
Received: from Tomobiki-Cho.CAC.Washington.EDU (jim@tomobiki-cho.cac.washington.edu [128.95.135.58]) by mailhost2.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with ESMTP id f9A5mho06629; Tue, 9 Oct 2001 22:48:43 -0700
Date: Tue, 9 Oct 2001 22:38:40 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: IMAP, UseNet and UTF-8 Newsgroups names
To: Simon Josefsson <jas@extundo.com>
cc: ietf-imapext@imc.org
In-Reply-To: <ilud73z60zd.fsf@barbar.josefsson.org>
Message-ID: <MailManager.1002692320.29994.mrc@Tomobiki-Cho.CAC.Washington.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Sun, 07 Oct 2001 15:20:06 +0200, Simon Josefsson wrote:
> Ok, good. Maybe a reference to the USEFOR message syntax is
> appropriate, since news doesn't use RFC 822.

I'm one of those people who believe that the notion that news doesn't use RFC
[2]822 is fundamentally wrong-headed, and as I result I don't accept it.  2822
is the message format syntax.  News is a type of message.

I know that it is possible to argue this point forever.  If you disagree with
me, let's agree to disagree and not waste time arguing about it.

> Out of curiosity, can you post to news via IMAP as well?

There is no posting in IMAP.  IMAP clients use SMTP and NNTP for mail and news
posting, respectively.

> > My intention has always been that "all the 8-bit world is UTF-8", and that
> > 8-bit characters in mailbox names and headers are unambiguously UTF-8.
> I think this should be clarified in the draft, right now the draft
> references only RFC 822 (+ MIME) which clearly forbids 8-bit
> characters in headers.

The prohibition is quite intentional; people should not have the idea that
they have license to do this in IMAP.

> RFC822.HEADER, SEARCH HEADER etc all needs to be described as being
> UTF-8.

Someday, RFC822.HEADER may return a UTF-8 string.  But not now; and for the
time being it is forbidden.

SEARCH already has a CHARSET argument.

> Which probably means they will have
> to use literals instead of strings...  which adds roundtrips.

In the case of RFC822.HEADER, it already does use a literal because of the
newlines.



Received: by above.proper.com (8.11.6/8.11.3) id f97DK6Y29610 for ietf-imapext-bks; Sun, 7 Oct 2001 06:20:06 -0700 (PDT)
Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97DK4D29600 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 06:20:04 -0700 (PDT)
Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f97DK50r010221; Sun, 7 Oct 2001 15:20:06 +0200
To: Mark Crispin <MRC@cac.washington.edu>
Cc: ietf-imapext@imc.org
Subject: Re: IMAP, UseNet and UTF-8 Newsgroups names
References: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM>
From: Simon Josefsson <jas@extundo.com>
In-Reply-To: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM> (Mark Crispin's message of "Sun, 7 Oct 2001 05:40:11 -0700 (PDT)")
Date: Sun, 07 Oct 2001 15:20:06 +0200
Message-ID: <ilud73z60zd.fsf@barbar.josefsson.org>
Lines: 50
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin <MRC@CAC.Washington.EDU> writes:

>> Is the UseNet-via-IMAP widely used at all?
>
> Yes, it's used.

Ok, good. Maybe a reference to the USEFOR message syntax is
appropriate, since news doesn't use RFC 822.

Out of curiosity, can you post to news via IMAP as well?  Is the
distribution based on the APPEND mailbox name, or what is in the
Newsgroups field?

>> The immediate problems that comes to mind is unencoded 8-bit
>> characters in headers. UTF-8 newsgroups breaks this.  Recommending
>> that Newsgroups: should be RFC 2047 encoded during IMAP transport may
>> be one solution, but it has some issues (which charset? Always UTF-8
>> or just any that matches? etc).
>
> My intention has always been that "all the 8-bit world is UTF-8", and that
> 8-bit characters in mailbox names and headers are unambiguously UTF-8.

I think this should be clarified in the draft, right now the draft
references only RFC 822 (+ MIME) which clearly forbids 8-bit
characters in headers.  UTF-8 is not mentioned except for mailbox
names.  Adding a references for message syntax to USEFOR would solve
this (but would require a careful look through the document to see if
something else needs to be updated as well).

RFC822.HEADER, SEARCH HEADER etc all needs to be described as being
UTF-8 (if this is the intention).  Which probably means they will have
to use literals instead of strings...  which adds roundtrips.

> The historical problem has been the insistance of certain individuals in
> Europe that 8-bits means ISO 8859-1.

And ISO-2022 in CJK, or KOI-8 in Russia, etc...  all non-ASCII places.

If you need non-ASCII characters to talk with people, you jump for the
easiest solution.  UTF-8 didn't exist at the time, neither did MIME,
so it's hard to blame them.  (Maybe for persisting the habit, but
habits are hard to break, especially 10+ year old ones.)

> I am quite happy to let newsgroups suffer the pain and horror caused
> by this shortsightedness first.

News will only have a small problem, it is 8bit clean and charsets
depend on MIME or where you read, and headers will now be UTF-8.  Mail
will have bigger problems, especially in applications such as IMAP
that deals with both news and mail.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f97CiOS27594 for ietf-imapext-bks; Sun, 7 Oct 2001 05:44:24 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (gibb@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97CiHD27590 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 05:44:17 -0700 (PDT)
Date: Sun, 7 Oct 2001 05:40:11 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: IMAP, UseNet and UTF-8 Newsgroups names
To: Simon Josefsson <jas@extundo.com>
cc: ietf-imapext@imc.org
In-Reply-To: <iluofnjaciw.fsf@barbar.josefsson.org>
Message-ID: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Sun, 07 Oct 2001 13:57:11 +0200, Simon Josefsson wrote:
> First, is it the intention that reading UseNet via IMAP is officially
> supported?

Yes.

> It is mentioned in the draft (#news) but everything is
> very RFC 822 centric.  (Which btw should probably be updated to 2822.)

I've just made the update.

> Is the UseNet-via-IMAP widely used at all?

Yes, it's used.

> Maybe noone cares if UTF-8
> newsgroups aren't accessible via IMAP?

People do care.

> The immediate problems that comes to mind is unencoded 8-bit
> characters in headers. UTF-8 newsgroups breaks this.  Recommending
> that Newsgroups: should be RFC 2047 encoded during IMAP transport may
> be one solution, but it has some issues (which charset? Always UTF-8
> or just any that matches? etc).

My intention has always been that "all the 8-bit world is UTF-8", and that
8-bit characters in mailbox names and headers are unambiguously UTF-8.

The historical problem has been the insistance of certain individuals in
Europe that 8-bits means ISO 8859-1.  I am quite happy to let newsgroups
suffer the pain and horror caused by this shortsightedness first.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f97Bv0l26200 for ietf-imapext-bks; Sun, 7 Oct 2001 04:57:00 -0700 (PDT)
Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97BuvD26196 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 04:56:58 -0700 (PDT)
Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f97Bv00r009884 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 13:57:01 +0200
To: ietf-imapext@imc.org
Subject: IMAP, UseNet and UTF-8 Newsgroups names
From: Simon Josefsson <jas@extundo.com>
Date: Sun, 07 Oct 2001 13:57:11 +0200
Message-ID: <iluofnjaciw.fsf@barbar.josefsson.org>
Lines: 16
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

In USEFOR it seems as if Newsgroups: names are to be UTF-8 in the
future.  With a little tweaking, this works fine (over NNTP) in the
client I use, but I wonder how it will integrate with IMAP.

First, is it the intention that reading UseNet via IMAP is officially
supported?  It is mentioned in the draft (#news) but everything is
very RFC 822 centric.  (Which btw should probably be updated to 2822.)

Is the UseNet-via-IMAP widely used at all?  Maybe noone cares if UTF-8
newsgroups aren't accessible via IMAP?

The immediate problems that comes to mind is unencoded 8-bit
characters in headers. UTF-8 newsgroups breaks this.  Recommending
that Newsgroups: should be RFC 2047 encoded during IMAP transport may
be one solution, but it has some issues (which charset? Always UTF-8
or just any that matches? etc).



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9BJNKM14495 for ietf-imapext-bks; Thu, 11 Oct 2001 12:23:20 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (tanner@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BJNJD14491 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 12:23:19 -0700 (PDT)
Date: Thu, 11 Oct 2001 11:56:47 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Paul Smith <paul@pscs.co.uk>
cc: ietf-imapext@imc.org
In-Reply-To: <5.1.0.14.2.20011011093251.08913e28@192.168.57.100>
Message-ID: <MailManager.1002826607.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 11 Oct 2001 09:32:55 +0100, Paul Smith wrote:
> I don't think throwing away and replacing RFC 2086 is a good idea at all.
> I'd vote for a different extension as well. To 'replace' RFC 2086, you'd
> either have to call the new extension ACL as well (endless confusion), or
> call it ACLPLUS or ACL2 or something. In that case, anyone who wants
> interoperability would still implement ACL as well as ACLPLUS/ACL2/whatever
> just to allow maximum interoperability.

I think that we're loudly agreeing.

> Create a new standard and 'deprecate' RFC 2086, but don't replace it.

That's exactly what I advocate.

> (BTW, I'm not really convinced by your arguments that there's anything
> wrong with the current ACL standard apart from its ambiguities - you seem
> to be saying that it's not workable on a UNIX back-end, but I don't believe
> that, the abstraction layer you have to write may be a bit more complex,
> but you'd get it to work. In our Windows IMAP server we wrote our own ACL
> implementation from scratch - the OS has nothing at all to do with it, you
> could do the same on any OS. The ambiguities are the main problem IMHO.)

I agree that the ambiguities in RFC 2086 are the main problem if you implement
your own ACL mechanism separate from the operating system.  However, that is
not an option for me.

I have worked out the abstraction layer between RFC 2086 and the UNIX access
control model.  If it were just a matter of complexity, I wouldn't be
squawking.  The problem is that the abstraction layer removes too much
functionality from both RFC 2086 and UNIX access control, resulting in a
subset that is too limited to be useful.

Another problem is that, either way, the RFC 2086 inheritance rules and the
overloading of certain rights render it impossible to present certain UNIX
access control configurations.  Put another way, an ACL from a UNIX server is
a lie.

The first problem can be resolved by removing the RFC 2086 requirement that
identifiers be a "user name string accepted by the LOGIN or AUTHENTICATE
command" (RFC 2086, page 2).  Instead, create a mechanism by which identifiers
can be defined (and one possible definition be a user name), and by which a
client can get the identifier.

For example, all you have to do to make an RFC 2086 server comply is to hack
it so the following scenario works:
	a008 GETACLIDENTIFER fred
	* ACLIDENTIFIER fred user=fred
	a008 OK done!
	a009 SETACLIDENTIFER fred user=bill
	a009 NO identifiers in this server must be a user name

I will implement rules in naming identifiers even if the RFC 2086 successor
does not.  However, I think that it would be desirable for the RFC 2086
successor to have the rules so that clients can use knowledge of the rules.

In any case, the mapping of ACL identifier to user name must go.

As for the second problem, I think that I have compelling arguments (not the
least being simplicity) for abolishing inheritance and negative rights, and
for additional granularity in rights.  Anyway, few people seem to dispute the
need for the latter.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9BGXLS07189 for ietf-imapext-bks; Thu, 11 Oct 2001 09:33:21 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (ref@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BGXKD07185 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 09:33:20 -0700 (PDT)
Date: Thu, 11 Oct 2001 09:30:22 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: Historical question: CAPABILITY and the extensions
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
cc: ietf-imapext@imc.org
In-Reply-To: <20011011133641.E31142@witt-witt.caldera.de>
Message-ID: <MailManager.1002817822.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Thu, 11 Oct 2001 13:36:41 +0200, Arnt Gulbrandsen wrote:
> It can't really be changed, but I'm curious: Why is the CAPABILITY
> command argumentless?

In general, we have tried to eschew "big switches", and instead make new
features be driven by new commands.  This isn't religion: we have talked about
"big switches" for i18n purposes.  But, in general, it is felt that protocol
modalities are a bad idea since they make the protocol too complex.



Received: by above.proper.com (8.11.6/8.11.3) id f9BBari14165 for ietf-imapext-bks; Thu, 11 Oct 2001 04:36:53 -0700 (PDT)
Received: from witt-witt.caldera.de (witt-witt.caldera.de [195.143.241.43]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9BBapD14159 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 04:36:51 -0700 (PDT)
Received: (from arnt@localhost) by witt-witt.caldera.de (8.11.6/8.11.1) id f9BBagk00969; Thu, 11 Oct 2001 13:36:42 +0200
Date: Thu, 11 Oct 2001 13:36:41 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-imapext@imc.org
Subject: Historical question: CAPABILITY and the extensions
Message-ID: <20011011133641.E31142@witt-witt.caldera.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

It can't really be changed, but I'm curious: Why is the CAPABILITY
command argumentless?

If its grammar were like that of the CAPABILITY response, then
extensions could add responses just like commands, message data items,
sort keys, etc. This seems a strange omission; why is it like that?

There's an easy workaround: An extension that wants a unilateral
"* BLAH 1234" can specify "* OK [BLAH 1234]" instead.  But still, I'm
curious.

No prizes for guessing which draft I was just reading ;)

--Arnt


Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9B8dFP00925 for ietf-imapext-bks; Thu, 11 Oct 2001 01:39:15 -0700 (PDT)
Received: from marvin.nildram.co.uk (marvin.nildram.co.uk [195.112.4.71]) by above.proper.com (8.11.6/8.11.3) with SMTP id f9B8dDD00918 for <ietf-imapext@imc.org>; Thu, 11 Oct 2001 01:39:13 -0700 (PDT)
Received: (qmail 13776 invoked from network); 11 Oct 2001 08:39:02 -0000
Received: from unknown (HELO paul.pscs.co.uk) (195.149.15.3) by marvin.nildram.co.uk with SMTP; 11 Oct 2001 08:39:02 -0000
Received: from 192.168.57.101 by paul.pscs.co.uk ([192.168.57.100] running VPOP3) with ESMTP; Thu, 11 Oct 2001 09:33:03 +0100
Message-Id: <5.1.0.14.2.20011011093251.08913e28@192.168.57.100>
X-Sender: paullocal@192.168.57.100
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 11 Oct 2001 09:32:55 +0100
To: Mark Crispin <MRC@cac.washington.edu>
From: Paul Smith <paul@pscs.co.uk>
Subject: Re: More questions about IMAP ACL
Cc: ietf-imapext@imc.org
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Server: VPOP3 Enterprise V1.5.0z - Registered
X-Organisation: Paul Smith Computer Services
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

> > We can always define a different extension if people want different
> > behavior.
>
>This is extremely unwise IMHO.  IESG has already said that they won't advance
>two IMAP ACL extensions.  The best way to make that outcome happen is to
>refuse to accomodate non-AFS requirements.
>
>I think that we need to bite the bullet and create a replacement extension.
>Window-dressing on RFC 2086 is a mistake.

I don't think throwing away and replacing RFC 2086 is a good idea at all. 
I'd vote for a different extension as well. To 'replace' RFC 2086, you'd 
either have to call the new extension ACL as well (endless confusion), or 
call it ACLPLUS or ACL2 or something. In that case, anyone who wants 
interoperability would still implement ACL as well as ACLPLUS/ACL2/whatever 
just to allow maximum interoperability.

Create a new standard and 'deprecate' RFC 2086, but don't replace it.

(BTW, I'm not really convinced by your arguments that there's anything 
wrong with the current ACL standard apart from its ambiguities - you seem 
to be saying that it's not workable on a UNIX back-end, but I don't believe 
that, the abstraction layer you have to write may be a bit more complex, 
but you'd get it to work. In our Windows IMAP server we wrote our own ACL 
implementation from scratch - the OS has nothing at all to do with it, you 
could do the same on any OS. The ambiguities are the main problem IMHO.)


Paul				VPOP3 - Internet Email Server/Gateway
paul@pscs.co.uk			http://www.pscs.co.uk/




Received: by above.proper.com (8.11.6/8.11.3) id f9ALKIZ19984 for ietf-imapext-bks; Wed, 10 Oct 2001 14:20:18 -0700 (PDT)
Received: from atg.aciworldwide.com (h139-142-180-4.gtcust.grouptelecom.net [139.142.180.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9ALKHD19980 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 14:20:17 -0700 (PDT)
Received: from atg.aciworldwide.com (atg.aciworldwide.com [139.142.180.33]) by atg.aciworldwide.com (8.12.0/8.12.0) with ESMTP id f9ALKA8f048588; Wed, 10 Oct 2001 15:20:11 -0600 (MDT)
Message-Id: <200110102120.f9ALKA8f048588@atg.aciworldwide.com>
Organization: ACI Worldwide - Advanced Technology Group
X-URL: http://www.aciworldwide.com/
X-Notes-Item: Just say no to Notes!
To: Mark Crispin <MRC@cac.washington.edu>
cc: Alexey Melnikov <mel@messagingdirect.com>, Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL 
In-Reply-To: Message from Mark Crispin <MRC@cac.washington.edu>  of "Wed, 10 Oct 2001 12:58:22 PDT." <MailManager.1002743902.8667.mrc@Ikkoku-Kan.Panda.COM> 
Date: Wed, 10 Oct 2001 15:20:10 -0600
From: Lyndon Nerenberg <lyndon@atg.aciworldwide.com>
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

There are two show-stoppers that I can see:

1) If we specify a naming scheme for users vs. groups in ACLs,
   we're usurping part of the existing namespace for identifiers,

2) Splitting of message and folder delete rights.

Either of these breaks backwards compatibility, so I don't see that
we have any alternative but to move the current ACL spec to
historic when we introduce the new spec.

--lyndon


Received: by above.proper.com (8.11.6/8.11.3) id f9AKMM618099 for ietf-imapext-bks; Wed, 10 Oct 2001 13:22:22 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (royk@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AKMLD18095 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 13:22:21 -0700 (PDT)
Date: Wed, 10 Oct 2001 12:58:22 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
In-Reply-To: <3BC49DD6.85FA93B1@messagingdirect.com>
Message-ID: <MailManager.1002743902.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 13:13:26 -0600, Alexey Melnikov wrote:
> Can we define two IMAP extensions: one is fixed version of RFC 2086 and
> another that is a superset of the first with new functionality?

I am not opposed to this idea if it can be accomplished.  I'm not sure that it
can.  For example, if a server distinguishes between two new rights, how is
that represented in the old way?

Doing a lot of the extension work in naming semantics would help compatibility
a lot, which is why I advocated that.  But a client is going to need some
additional commands to do some of the things.  Then there's the rathole of
inheritance (I've said my position on that topic many times, hopefully there's
no need to repeat it)...

I'm not sure how we can be upwards-compatible yet make desirable changes.  I
believe that we can be upwards-upgradable, especially for clients, without too
much problem.  Most of the ACL => ACLPLUS upgrade burden will be on servers,
which is as it should be.

> Correct me if I am wrong,
> but I believe IESG will have problems with two *competing* ACL extensions,
> not with two compatible.

Should we succeed in this regard, the superset extension will probably be the
only one that advances.  Since I believe that the new functionality can be
easily implemented (at least as a no-op) this should be alright with the
oldline ACLers.

The problem will be changing the inheritance rules as I advocate.  I feel that
it should be done, but I see problems if clients know about RFC2086's
inheritance rules.  If we're lucky, clients don't.



Received: by above.proper.com (8.11.6/8.11.3) id f9AJDSb16481 for ietf-imapext-bks; Wed, 10 Oct 2001 12:13:28 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AJDQD16477 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 12:13:26 -0700 (PDT)
Received: from messagingdirect.com (gagarin.esys.ca [198.161.92.84]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9AJDQK30427; Wed, 10 Oct 2001 13:13:26 -0600
Message-ID: <3BC49DD6.85FA93B1@messagingdirect.com>
Date: Wed, 10 Oct 2001 13:13:26 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Crispin <MRC@cac.washington.edu>
CC: Lawrence Greenfield <leg+@andrew.cmu.edu>, ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL
References: <MailManager.1002738254.8667.mrc@Ikkoku-Kan.Panda.COM>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin wrote:

> > We can always define a different extension if people want different
> > behavior.
>
> This is extremely unwise IMHO.  IESG has already said that they won't advance
> two IMAP ACL extensions.

Can we define two IMAP extensions: one is fixed version of RFC 2086 and another
that is a superset of the first with new functionality? Correct me if I am wrong,
but I believe IESG will have problems with two *competing* ACL extensions, not
with two compatible.

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AIcGd15340 for ietf-imapext-bks; Wed, 10 Oct 2001 11:38:16 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (wml@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AIcFD15336 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:38:15 -0700 (PDT)
Date: Wed, 10 Oct 2001 11:24:14 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Lawrence Greenfield <leg+@andrew.cmu.edu>
cc: ietf-imapext@imc.org
In-Reply-To: <200110101821.f9AILaUi005409@smtp7.andrew.cmu.edu>
Message-ID: <MailManager.1002738254.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 14:21:36 -0400, Lawrence Greenfield wrote:
> We already have interoperability on RFC 2086.  I'd be in favor of
> minimal changes.

The problem is not the interoperability of RFC 2086, but the implementability
and usefulness of such an implementation.

My analysis suggests that I would badly break the RFC 2086 world if UW imapd
started supporting ACL.  What makes sense in UW imapd would greatly confuse a
client which assumes that AFS style world implied by RFC 2086.  The language
in RFC 2086 that was designed to allow a filesystem access control model has
ambiguities that you can drive a truck through!

An additional problem is missing functionality.  It may not be important to
AFS users (since that functionality isn't there), but when you have an access
control model that is the *intersection* of AFS and UNIX you have a very small
one indeed.

> We can always define a different extension if people want different
> behavior.

This is extremely unwise IMHO.  IESG has already said that they won't advance
two IMAP ACL extensions.  The best way to make that outcome happen is to
refuse to accomodate non-AFS requirements.

I think that we need to bite the bullet and create a replacement extension.
Window-dressing on RFC 2086 is a mistake.

I believe that with a better abstraction layer in IMAP ACL, it is possible to
create a union of AFS and UNIX access control that solves the problems without
making either an AFS or UNIX back end look deficient.  I believe that such an
abstraction layer should be the primary focus of our efforts.

We can certainly use RFC 2086 as a starting point.  I have no particular
problem with the access rights.  It's primarily naming and rights inheritance
which are the problem.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AILec14841 for ietf-imapext-bks; Wed, 10 Oct 2001 11:21:40 -0700 (PDT)
Received: from smtp7.andrew.cmu.edu (SMTP7.ANDREW.CMU.EDU [128.2.10.87]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AILcD14836 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:21:38 -0700 (PDT)
Received: from penguin.andrew.cmu.edu (PENGUIN.ANDREW.CMU.EDU [128.2.121.100]) (user=leg mech=KERBEROS_V4 (56 bits)) by smtp7.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f9AILaUi005409; Wed, 10 Oct 2001 14:21:36 -0400
Date: Wed, 10 Oct 2001 14:21:36 -0400
Message-Id: <200110101821.f9AILaUi005409@smtp7.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.2
To: ietf-imapext@imc.org
In-reply-to: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Subject: Re: More questions about IMAP ACL
References: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

   Date: Wed, 10 Oct 2001 00:47:43 -0600
   From: Alexey Melnikov <mel@messagingdirect.com>

   I have couple generic questions about IMAP ACL:

   1). Should the document be fully backward compatible with RFC 2086? (for
   example, dropping identifiers starting with dash will break
   compatibility).

I don't think that's possible if we want to add an "x" right.

   2). Should the document extend functionality or just fix RFC 2086?

We already have interoperability on RFC 2086.  I'd be in favor of
minimal changes.

We can always define a different extension if people want different
behavior.

Larry



Received: by above.proper.com (8.11.6/8.11.3) id f9AI5Wv13586 for ietf-imapext-bks; Wed, 10 Oct 2001 11:05:32 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (pra@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AI5VD13574 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:05:31 -0700 (PDT)
Date: Wed, 10 Oct 2001 11:04:49 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: ietf-imapext@imc.org
In-Reply-To: <3BC48D16.6FE84367@messagingdirect.com>
Message-ID: <MailManager.1002737089.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 12:01:58 -0600, Alexey Melnikov wrote:
> Should we define a new capability name?

I say yes.  Let's leave ACL as RFC 2086, and define ACLPLUS.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AI1vP13068 for ietf-imapext-bks; Wed, 10 Oct 2001 11:01:57 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AI1uD13064 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 11:01:56 -0700 (PDT)
Received: from messagingdirect.com (gagarin.esys.ca [198.161.92.84]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9AI1wK29834; Wed, 10 Oct 2001 12:01:58 -0600
Message-ID: <3BC48D16.6FE84367@messagingdirect.com>
Date: Wed, 10 Oct 2001 12:01:58 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Re: More questions about IMAP ACL
References: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Alexey Melnikov wrote:

> I have couple generic questions about IMAP ACL:
>
> 1). Should the document be fully backward compatible with RFC 2086? (for
> example, dropping identifiers starting with dash will break
> compatibility).

It just came to me, that adding new rights is not backward compatible
change: some servers don't support storing of arbitrary rights. Also old
servers will use "d" flag for STORE \Deleted, EXPUNGE and DELETE. This will
be a problem for clients. Should we define a new capability name?

> 2). Should the document extend functionality or just fix RFC 2086?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9AGciO09650 for ietf-imapext-bks; Wed, 10 Oct 2001 09:38:44 -0700 (PDT)
Received: from smtp6.andrew.cmu.edu (SMTP6.ANDREW.CMU.EDU [128.2.10.86]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9AGcfD09645 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 09:38:42 -0700 (PDT)
Received: from penguin.andrew.cmu.edu (PENGUIN.ANDREW.CMU.EDU [128.2.121.100]) (user=leg mech=KERBEROS_V4 (56 bits)) by smtp6.andrew.cmu.edu (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id f9AGcd6E027139; Wed, 10 Oct 2001 12:38:39 -0400
Date: Wed, 10 Oct 2001 12:38:39 -0400
Message-Id: <200110101638.f9AGcd6E027139@smtp6.andrew.cmu.edu>
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
X-Mailer: BatIMail version 3.2
To: ietf-imapext@imc.org, Alexey Melnikov <mel@messagingdirect.com>
In-reply-to: <3BC3E92E.44D1EAA4@messagingdirect.com>
Subject: Re: Question about existing implementations of ACL (RFC 2086)
References: <3BC3E92E.44D1EAA4@messagingdirect.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

   Date: Wed, 10 Oct 2001 00:22:38 -0600
   From: Alexey Melnikov <mel@messagingdirect.com>
   Organization: ACI WorldWide / MessagingDirect

   [I am trying to collect some implementation feedback before I submit new
   revision of ACL draft.]

   Anybody implemented groups in IMAP ACL? What naming schemes different
   implementations use?

We implement groups with several different authorization modules:

. The one we use on campus is AFS PTS groups, which don't collide with
  our user identifiers.  (All PTS groups have ":" in them, all PTS
  users don't.)

. The Unix /etc/group authorization module prefixes all Unix groups
  with "group:".

. There's a krb authorization module that allows for wildcards (ie,
  "*@CS.CMU.EDU" or "leg.*@ANDREW.CMU.EDU") which work like groups.

Larry



Received: by above.proper.com (8.11.6/8.11.3) id f9A7oXO23990 for ietf-imapext-bks; Wed, 10 Oct 2001 00:50:33 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (mhmcg@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A7oVD23980 for <ietf-imapext@imc.org>; Wed, 10 Oct 2001 00:50:31 -0700 (PDT)
Date: Wed, 10 Oct 2001 00:49:26 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: More questions about IMAP ACL
To: Alexey Melnikov <mel@messagingdirect.com>
cc: ietf-imapext@imc.org
In-Reply-To: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Message-ID: <MailManager.1002700166.8667.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Wed, 10 Oct 2001 00:47:43 -0600, Alexey Melnikov wrote:
> 1). Should the document be fully backward compatible with RFC 2086?

Try, but don't allow that to keep you from doing the right thing when
necessary.

> 2). Should the document extend functionality or just fix RFC 2086?

It should extend functionality.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9A6llh15297 for ietf-imapext-bks; Tue, 9 Oct 2001 23:47:47 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A6lkD15289 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 23:47:46 -0700 (PDT)
Received: from messagingdirect.com (dial100.incentre.net [207.34.59.100]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9A6liK22596; Wed, 10 Oct 2001 00:47:44 -0600
Message-ID: <3BC3EF0F.2E2F7B1F@messagingdirect.com>
Date: Wed, 10 Oct 2001 00:47:43 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: More questions about IMAP ACL
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

I have couple generic questions about IMAP ACL:

1). Should the document be fully backward compatible with RFC 2086? (for
example, dropping identifiers starting with dash will break
compatibility).
2). Should the document extend functionality or just fix RFC 2086?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f9A6Mhq10534 for ietf-imapext-bks; Tue, 9 Oct 2001 23:22:43 -0700 (PDT)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A6MfD10523 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 23:22:41 -0700 (PDT)
Received: from messagingdirect.com (dial100.incentre.net [207.34.59.100]) (authenticated) by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id f9A6MdK22469; Wed, 10 Oct 2001 00:22:39 -0600
Message-ID: <3BC3E92E.44D1EAA4@messagingdirect.com>
Date: Wed, 10 Oct 2001 00:22:38 -0600
From: Alexey Melnikov <mel@messagingdirect.com>
Organization: ACI WorldWide / MessagingDirect
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-imapext@imc.org
Subject: Question about existing implementations of ACL (RFC 2086)
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Hi,

[I am trying to collect some implementation feedback before I submit new
revision of ACL draft.]

Anybody implemented groups in IMAP ACL? What naming schemes different
implementations use?
Any special prefix?

Alexey Melnikov
__________________________________________
R & D, ACI Worldwide (formerly MessagingDirect Ltd.)
phone 780.424.4922 x357

I speak for myself only, not for my employer.
__________________________________________




Received: by above.proper.com (8.11.6/8.11.3) id f9A5mf204078 for ietf-imapext-bks; Tue, 9 Oct 2001 22:48:41 -0700 (PDT)
Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f9A5mdD04074 for <ietf-imapext@imc.org>; Tue, 9 Oct 2001 22:48:39 -0700 (PDT)
Received: from mailhost2.u.washington.edu (mailhost2.u.washington.edu [140.142.33.2]) by mxout2.cac.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with ESMTP id f9A5mhs05899; Tue, 9 Oct 2001 22:48:43 -0700
Received: from Tomobiki-Cho.CAC.Washington.EDU (jim@tomobiki-cho.cac.washington.edu [128.95.135.58]) by mailhost2.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with ESMTP id f9A5mho06629; Tue, 9 Oct 2001 22:48:43 -0700
Date: Tue, 9 Oct 2001 22:38:40 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: Re: IMAP, UseNet and UTF-8 Newsgroups names
To: Simon Josefsson <jas@extundo.com>
cc: ietf-imapext@imc.org
In-Reply-To: <ilud73z60zd.fsf@barbar.josefsson.org>
Message-ID: <MailManager.1002692320.29994.mrc@Tomobiki-Cho.CAC.Washington.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Sun, 07 Oct 2001 15:20:06 +0200, Simon Josefsson wrote:
> Ok, good. Maybe a reference to the USEFOR message syntax is
> appropriate, since news doesn't use RFC 822.

I'm one of those people who believe that the notion that news doesn't use RFC
[2]822 is fundamentally wrong-headed, and as I result I don't accept it.  2822
is the message format syntax.  News is a type of message.

I know that it is possible to argue this point forever.  If you disagree with
me, let's agree to disagree and not waste time arguing about it.

> Out of curiosity, can you post to news via IMAP as well?

There is no posting in IMAP.  IMAP clients use SMTP and NNTP for mail and news
posting, respectively.

> > My intention has always been that "all the 8-bit world is UTF-8", and that
> > 8-bit characters in mailbox names and headers are unambiguously UTF-8.
> I think this should be clarified in the draft, right now the draft
> references only RFC 822 (+ MIME) which clearly forbids 8-bit
> characters in headers.

The prohibition is quite intentional; people should not have the idea that
they have license to do this in IMAP.

> RFC822.HEADER, SEARCH HEADER etc all needs to be described as being
> UTF-8.

Someday, RFC822.HEADER may return a UTF-8 string.  But not now; and for the
time being it is forbidden.

SEARCH already has a CHARSET argument.

> Which probably means they will have
> to use literals instead of strings...  which adds roundtrips.

In the case of RFC822.HEADER, it already does use a literal because of the
newlines.



Received: by above.proper.com (8.11.6/8.11.3) id f97DK6Y29610 for ietf-imapext-bks; Sun, 7 Oct 2001 06:20:06 -0700 (PDT)
Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97DK4D29600 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 06:20:04 -0700 (PDT)
Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f97DK50r010221; Sun, 7 Oct 2001 15:20:06 +0200
To: Mark Crispin <MRC@cac.washington.edu>
Cc: ietf-imapext@imc.org
Subject: Re: IMAP, UseNet and UTF-8 Newsgroups names
References: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM>
From: Simon Josefsson <jas@extundo.com>
In-Reply-To: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM> (Mark Crispin's message of "Sun, 7 Oct 2001 05:40:11 -0700 (PDT)")
Date: Sun, 07 Oct 2001 15:20:06 +0200
Message-ID: <ilud73z60zd.fsf@barbar.josefsson.org>
Lines: 50
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

Mark Crispin <MRC@CAC.Washington.EDU> writes:

>> Is the UseNet-via-IMAP widely used at all?
>
> Yes, it's used.

Ok, good. Maybe a reference to the USEFOR message syntax is
appropriate, since news doesn't use RFC 822.

Out of curiosity, can you post to news via IMAP as well?  Is the
distribution based on the APPEND mailbox name, or what is in the
Newsgroups field?

>> The immediate problems that comes to mind is unencoded 8-bit
>> characters in headers. UTF-8 newsgroups breaks this.  Recommending
>> that Newsgroups: should be RFC 2047 encoded during IMAP transport may
>> be one solution, but it has some issues (which charset? Always UTF-8
>> or just any that matches? etc).
>
> My intention has always been that "all the 8-bit world is UTF-8", and that
> 8-bit characters in mailbox names and headers are unambiguously UTF-8.

I think this should be clarified in the draft, right now the draft
references only RFC 822 (+ MIME) which clearly forbids 8-bit
characters in headers.  UTF-8 is not mentioned except for mailbox
names.  Adding a references for message syntax to USEFOR would solve
this (but would require a careful look through the document to see if
something else needs to be updated as well).

RFC822.HEADER, SEARCH HEADER etc all needs to be described as being
UTF-8 (if this is the intention).  Which probably means they will have
to use literals instead of strings...  which adds roundtrips.

> The historical problem has been the insistance of certain individuals in
> Europe that 8-bits means ISO 8859-1.

And ISO-2022 in CJK, or KOI-8 in Russia, etc...  all non-ASCII places.

If you need non-ASCII characters to talk with people, you jump for the
easiest solution.  UTF-8 didn't exist at the time, neither did MIME,
so it's hard to blame them.  (Maybe for persisting the habit, but
habits are hard to break, especially 10+ year old ones.)

> I am quite happy to let newsgroups suffer the pain and horror caused
> by this shortsightedness first.

News will only have a small problem, it is 8bit clean and charsets
depend on MIME or where you read, and headers will now be UTF-8.  Mail
will have bigger problems, especially in applications such as IMAP
that deals with both news and mail.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f97CiOS27594 for ietf-imapext-bks; Sun, 7 Oct 2001 05:44:24 -0700 (PDT)
Received: from Tomobiki-Cho.CAC.Washington.EDU (gibb@tomobiki-cho.cac.washington.edu [128.95.135.58]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97CiHD27590 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 05:44:17 -0700 (PDT)
Date: Sun, 7 Oct 2001 05:40:11 -0700 (PDT)
From: Mark Crispin <MRC@cac.washington.edu>
Subject: re: IMAP, UseNet and UTF-8 Newsgroups names
To: Simon Josefsson <jas@extundo.com>
cc: ietf-imapext@imc.org
In-Reply-To: <iluofnjaciw.fsf@barbar.josefsson.org>
Message-ID: <MailManager.1002458411.11783.mrc@Ikkoku-Kan.Panda.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

On Sun, 07 Oct 2001 13:57:11 +0200, Simon Josefsson wrote:
> First, is it the intention that reading UseNet via IMAP is officially
> supported?

Yes.

> It is mentioned in the draft (#news) but everything is
> very RFC 822 centric.  (Which btw should probably be updated to 2822.)

I've just made the update.

> Is the UseNet-via-IMAP widely used at all?

Yes, it's used.

> Maybe noone cares if UTF-8
> newsgroups aren't accessible via IMAP?

People do care.

> The immediate problems that comes to mind is unencoded 8-bit
> characters in headers. UTF-8 newsgroups breaks this.  Recommending
> that Newsgroups: should be RFC 2047 encoded during IMAP transport may
> be one solution, but it has some issues (which charset? Always UTF-8
> or just any that matches? etc).

My intention has always been that "all the 8-bit world is UTF-8", and that
8-bit characters in mailbox names and headers are unambiguously UTF-8.

The historical problem has been the insistance of certain individuals in
Europe that 8-bits means ISO 8859-1.  I am quite happy to let newsgroups
suffer the pain and horror caused by this shortsightedness first.



Received: from localhost (localhost [[UNIX: localhost]]) by above.proper.com (8.11.6/8.11.3) id f97Bv0l26200 for ietf-imapext-bks; Sun, 7 Oct 2001 04:57:00 -0700 (PDT)
Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by above.proper.com (8.11.6/8.11.3) with ESMTP id f97BuvD26196 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 04:56:58 -0700 (PDT)
Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f97Bv00r009884 for <ietf-imapext@imc.org>; Sun, 7 Oct 2001 13:57:01 +0200
To: ietf-imapext@imc.org
Subject: IMAP, UseNet and UTF-8 Newsgroups names
From: Simon Josefsson <jas@extundo.com>
Date: Sun, 07 Oct 2001 13:57:11 +0200
Message-ID: <iluofnjaciw.fsf@barbar.josefsson.org>
Lines: 16
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-imapext@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-imapext/mail-archive/>
List-ID: <ietf-imapext.imc.org>
List-Unsubscribe: <mailto:ietf-imapext-request@imc.org?body=unsubscribe>

In USEFOR it seems as if Newsgroups: names are to be UTF-8 in the
future.  With a little tweaking, this works fine (over NNTP) in the
client I use, but I wonder how it will integrate with IMAP.

First, is it the intention that reading UseNet via IMAP is officially
supported?  It is mentioned in the draft (#news) but everything is
very RFC 822 centric.  (Which btw should probably be updated to 2822.)

Is the UseNet-via-IMAP widely used at all?  Maybe noone cares if UTF-8
newsgroups aren't accessible via IMAP?

The immediate problems that comes to mind is unencoded 8-bit
characters in headers. UTF-8 newsgroups breaks this.  Recommending
that Newsgroups: should be RFC 2047 encoded during IMAP transport may
be one solution, but it has some issues (which charset? Always UTF-8
or just any that matches? etc).


