Re: [sieve] [Editorial Errata Reported] RFC5804 (6345)
Alexey Melnikov <alexey.melnikov@isode.com> Mon, 30 November 2020 18:07 UTC
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A5F63A0FC2 for <sieve@ietfa.amsl.com>; Mon, 30 Nov 2020 10:07:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
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 lu91Lq7TyE8d for <sieve@ietfa.amsl.com>; Mon, 30 Nov 2020 10:07:46 -0800 (PST)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id E9D1B3A0FCA for <sieve@ietf.org>; Mon, 30 Nov 2020 10:07:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606759664; d=isode.com; s=june2016; i=@isode.com; bh=xiaB87VpqitPJQTfHLRtc2njqQ4EBd8W85w3imYY45w=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=sH0hph+/xjsTN1uHUyluT+Rqruy5RB+GoPLIHRuZ0d9W2tn+YzZzMD4GtLdWu9PnrZZS2u aJsHMc76y6iTX/cq5rukd6xi5RUBwNmh4mCGBQJcC18NUD6dWb0e/JS8xMfebD5jmdRMrf qSHCY1oMDoc22IxzgcAH1ssoI2utPME=;
Received: from [172.27.248.183] (connect.isode.net [172.20.0.72]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <X8U07gB1e1e=@statler.isode.com>; Mon, 30 Nov 2020 18:07:44 +0000
To: Ned Freed <ned.freed@mrochek.com>, barryleiba@computer.org, RFC Errata System <rfc-editor@rfc-editor.org>
Cc: timmartin@alumni.cmu.edu, superuser@gmail.com, cyrus@daboo.name, aaron@serendipity.cx, sieve@ietf.org, me@kasparetter.com
References: <20201130090507.61F6EF4074C@rfc-editor.org> <01RSM434UFD60085YQ@mauve.mrochek.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <d1057b86-380c-6f28-9b0f-26695a625d1c@isode.com>
Date: Mon, 30 Nov 2020 18:07:05 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3
In-Reply-To: <01RSM434UFD60085YQ@mauve.mrochek.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------CA5EB1AC9C99975467A730E8"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/6BrvmatGtDa4Surl_vnyiZ4oWHc>
Subject: Re: [sieve] [Editorial Errata Reported] RFC5804 (6345)
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sieve>, <mailto:sieve-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sieve/>
List-Post: <mailto:sieve@ietf.org>
List-Help: <mailto:sieve-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Nov 2020 18:07:49 -0000
Hi all, On 30/11/2020 14:41, Ned Freed wrote: >> The following errata report has been submitted for RFC5804, >> "A Protocol for Remotely Managing Sieve Scripts". >> -------------------------------------- >> You may review the report below and at: >> https://www.rfc-editor.org/errata/eid6345 >> -------------------------------------- >> Type: Editorial >> Reported by: Kaspar Etter <me@kasparetter.com> >> Section: 2.6 >> Original Text >> ------------- >> Examples: >> […] >> C: Putscript "mysievescript" {110+} >> C: require ["fileinto"]; >> C: >> C: if envelope :contains "to" "tmartin+sent" { >> C: fileinto "INBOX.sent"; >> C: } >> S: OK >> C: Putscript "myforwards" {190+} >> C: redirect "111@example.net"; >> C: >> C: if size :under 10k { >> C: redirect "mobile@cell.example.com"; >> C: } >> C: >> C: if envelope :contains "to" "tmartin+lists" { >> C: redirect "lists@groups.example.com"; >> C: } >> S: OK (WARNINGS) "line 8: server redirect action >> limit is 2, this redirect might be ignored" >> Corrected Text >> -------------- >> Examples: >> […] >> C: Putscript "mysievescript" {99+} >> C: require ["fileinto"]; >> C: >> C: if envelope :contains "to" "tmartin+sent" { >> C: fileinto "INBOX.sent"; >> C: } >> C: >> S: OK >> C: Putscript "myforwards" {190+} >> C: redirect "111@example.net"; >> C: >> C: if size :under 10k { >> C: redirect "mobile@cell.example.com"; >> C: } >> C: >> C: if envelope :contains "to" "tmartin+lists" { >> C: redirect "lists@groups.example.com"; >> C: } >> C: >> S: OK (WARNINGS) "line 8: server redirect action >> limit is 2, this redirect might be ignored" >> Notes >> ----- >> The octet count of the second example is wrong. Additionally, both the second >> and the third example should have an empty client line after the code like the >> first example. Otherwise, the octet count of the last example is also wrong. > The analysis here is correct: I both hand-counted and cut-and-pasted the > original and revised objects into my managesieve to be sure. However, my > managesieve implementation rejected both scripts because they both use an > envelope test but envelope isn't listed in the require clause. Yes, good point. And thank you for the corrected scripts. > In order to > correct this, the examples need to be changed to: > > C: Putscript "mysievescript" {110+} > C: require ["fileinto", "envelope"]; > C: > C: if envelope :contains "to" "tmartin+sent" { > C: fileinto "INBOX.sent"; > C: } > C: > S: OK > > C: Putscript "myforwards" {213+} > C: require "envelope"; > C: > C: redirect "111@example.net"; > C: > C: if size :under 10k { > C: redirect "mobile@cell.example.com"; > C: } > C: > C: if envelope :contains "to" "tmartin+lists" { > C: redirect "lists@groups.example.com"; > C: } > C: > S: OK (WARNINGS) "line 8: server redirect action > S: limit is 2, this redirect might be ignored" > > I also added the missing S: from the last line of server response and > removed the preceeding whitespace. Actually this last addition of "S:" is incorrect. As per section 1.9: In examples, "C:" and "S:" indicate lines sent by the client and server respectively. Line breaks that do not start a new "C:" or "S:" exist for editorial reasons. Basically each "S:" implies that there is a CRLF at the end of the line, but in the above case there is none. Quoted strings can't contain embedded CRLFs. Best Regards, Alexey > > Given the errata is correct as far as it goes but incomplete, I have > no idea how you want to handle it. > > Ned > >> Instructions: >> ------------- >> This erratum is currently posted as "Reported". If necessary, please >> use "Reply All" to discuss whether it should be verified or >> rejected. When a decision is reached, the verifying party >> can log in to change the status and edit the report, if necessary. >> -------------------------------------- >> RFC5804 (draft-ietf-sieve-managesieve-09) >> -------------------------------------- >> Title : A Protocol for Remotely Managing Sieve Scripts >> Publication Date : July 2010 >> Author(s) : A. Melnikov, Ed., T. Martin >> Category : PROPOSED STANDARD >> Source : Sieve Mail Filtering Language >> Area : Applications >> Stream : IETF >> Verifying Party : IESG >> _______________________________________________ >> sieve mailing list >> sieve@ietf.org >> https://www.ietf.org/mailman/listinfo/sieve
- [sieve] [Editorial Errata Reported] RFC5804 (6345) RFC Errata System
- Re: [sieve] [Editorial Errata Reported] RFC5804 (… Barry Leiba
- Re: [sieve] [Editorial Errata Reported] RFC5804 (… Barry Leiba
- Re: [sieve] [Editorial Errata Reported] RFC5804 (… Alexey Melnikov