Re: [Extra] AD review of draft-ietf-extra-sieve-mailboxid-03

Barry Leiba <barryleiba@computer.org> Fri, 04 September 2020 18:51 UTC

Return-Path: <barryleiba@gmail.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6CA233A0D81; Fri, 4 Sep 2020 11:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.402
X-Spam-Level:
X-Spam-Status: No, score=-1.402 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KeFm8OzdsGaT; Fri, 4 Sep 2020 11:51:24 -0700 (PDT)
Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 473823A0D7F; Fri, 4 Sep 2020 11:51:24 -0700 (PDT)
Received: by mail-il1-f169.google.com with SMTP id t13so7228239ile.9; Fri, 04 Sep 2020 11:51:24 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=grsoFLg792r7yoRFbMNBaHo2NIl3OdXjjgI77GKEgpE=; b=aJqOBGuncwE2r2asSVVq3LA++Io+D3lU8LdFiGq2CYvVaMYLgX3c8WdJuh0mZdl2J1 c40rrjfYOAl1IBhMt+si9Ia28+6IPEpJ9OUKQPzsprKMqaIZIxqkv6NF82J/yDeXvTxx Hg9nxieaE8U/ApHizcRJlW66fwNjUGmLyUBNIo4nA6D0WdN9SdcEqO04sv+L5h5B+6zv Hua0nvwULs8FhrEF1ff6gyORnNQKQpACFi1yFQzXp59ap48iKwuszFa2p0JWABBOm9JW ns031kihWMSr7nLUratfQ5ZRELXbgl5GlG+s9xQ5igsrVZhirm9pYyPi1GJ59I7z2lbV h4TQ==
X-Gm-Message-State: AOAM531WUpP1jYYuZhHLVTE98/QHR1WD254xsrBfIjv+SK/mNlJu2iV3 aPcvXhhf1D2EbOxOcY4YgYTPcRq9PT9zigMIRxJLLZoz8voG5g==
X-Google-Smtp-Source: ABdhPJwbhqcwRfsOFnKQ8QAWJ50pcVEEJ4wrKoF+e7/OIuZZFSvcpUD26b+rlHLy+4HjS9q2fRgrWgw+QhQ4gO7OZWI=
X-Received: by 2002:a92:750a:: with SMTP id q10mr7425804ilc.59.1599245483444; Fri, 04 Sep 2020 11:51:23 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJ+zuKm=eK=KxfyFNecZPXN_F0TxQAERxapmnHNYLdj_hg@mail.gmail.com> <8af3b476-abf4-3677-208d-dbcf7a2b9ee2@isode.com>
In-Reply-To: <8af3b476-abf4-3677-208d-dbcf7a2b9ee2@isode.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Fri, 04 Sep 2020 14:51:12 -0400
Message-ID: <CALaySJK0QLZbT4srg84EHswQ-bz8usG+O11ppg40=cJ9uX4kQg@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: draft-ietf-extra-sieve-mailboxid.all@ietf.org, extra@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/g2lH39dzU37wyFNM-JIc8w9ByrU>
Subject: Re: [Extra] AD review of draft-ietf-extra-sieve-mailboxid-03
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2020 18:51:26 -0000

Thanks for the quick reply, Alexey.

> >     The server advertises the capability "mailboxid"
> >
> > How are sieve capabilities advertised?
>
> The text from the draft you quoted is a bit misleading. Scripts specify
> that they require an extension by listing it in "require". Server can
> advertise supported Sieve extensions through ManageSieve or JMAP Sieve
> extension, but this is outside the scope of this draft.

Yes, exactly.  I'm asking that the text be changed, either to not talk
about the capability being advertised or saying just a few more words
to make the situation clearer.

> > — Section 4 —
> >
> > Two things here:
> >
> > 1. I think this is underspecified.  It’s not clear what the behaviour
> > is when the specified mailboxid does exist, but matches a mailbox with
> > a different name that what’s specified.  If I say:
> >
> >     fileinto :mailboxid “12” “xyzzy”
> >
> > …and there’s a mailbox named “xyzzy” with mailboxid 4, and a mailbox
> > named “plugh” with mailboxid 12, what happens?  It needs to be
> > explicitly clear.
>
> I thought Section 4 is quite clear that :mailboxid takes precedence if
> there is a mailbox with the correspond id. So in your case it is mailbox
> with name “plugh”.

I don't think it's clear, and would like to see the text be clearer.
That should be easy to fix.

> > 2. Did the working group consider not requiring the mailbox name at
> > all, if the mailboxid is specified?  So I could say:
> >
> >     fileinto :mailboxid “12”
> >
> > …and in the example above it would behave as though I’d said:
> >
> >     fileinto :mailboxid “12” “plugh”
> >
> > I’m not sure that it ever makes sense to specify both the mailbox name
> > and the mailboxid.
>
> RFC 5228 (basic Sieve) requires mailbox name parameter to be present.

Sure, but it could be "" (so, fileinto :mailboxid “12” "").

Alternatively, ":mailboxid" could take no argument, but would instead
change the meaning of the required string from being a mailbox name to
being a mailboxid.  Of course, that would mean you couldn't specify
both name and id on the same command, so that might not work.  What's
the use case for including both?  It still seems to me that one would
want one or the other, but why both?

Barry