[sieve] [Errata Verified] RFC6558 (5561)

RFC Errata System <rfc-editor@rfc-editor.org> Mon, 26 November 2018 18:18 UTC

Return-Path: <wwwrun@rfc-editor.org>
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 9A339129533; Mon, 26 Nov 2018 10:18:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 ymupuPTYhk9n; Mon, 26 Nov 2018 10:18:48 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15EC9124D68; Mon, 26 Nov 2018 10:18:48 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id 09F9FB80978; Mon, 26 Nov 2018 10:18:48 -0800 (PST)
To: schmid-thomas@gmx.net, Alexey.Melnikov@isode.com, barryleiba@computer.org, likepeng@huawei.com
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: aamelnikov@fastmail.fm, iesg@ietf.org, sieve@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20181126181848.09F9FB80978@rfc-editor.org>
Date: Mon, 26 Nov 2018 10:18:48 -0800 (PST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/HZN38w8GxyUmrDqZc0yIUcNL-i0>
Subject: [sieve] [Errata Verified] RFC6558 (5561)
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, 26 Nov 2018 18:18:50 -0000

The following errata report has been verified for RFC6558,
"Sieve Extension for Converting Messages before Delivery". 

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5561

--------------------------------------
Status: Verified
Type: Editorial

Reported by: Thomas Schmid <schmid-thomas@gmx.net>
Date Reported: 2018-11-25
Verified by: Alexey Melnikov (IESG)

Section: 3.2

Original Text
-------------
       require ["mime", "fileinto", "convert"];
       if header :mime :anychild :contenttype
                 "Content-Type" "image/tiff"
       {
        if (convert "image/tiff" "image/jpeg" ["pix-x=320","pix-y=240"])
        {
         fileinto "INBOX.pics";
        }
       }

Corrected Text
--------------
       require ["mime", "fileinto", "convert"];
       if header :mime :anychild :contenttype
                 "Content-Type" "image/tiff"
       {
        if convert "image/tiff" "image/jpeg" ["pix-x=320","pix-y=240"]
        {
         fileinto "INBOX.pics";
        }
       }

Notes
-----
the if condition is wrapped in parentheses which is invalid sieve syntax.

According to RFC 5288 a test has to start with and alpha numerical identifier. 

Which is not true in this case. Either the parentheses need to be removed or any "anyof" or "allof" needs to be added.

--------------------------------------
RFC6558 (draft-ietf-sieve-convert-06)
--------------------------------------
Title               : Sieve Extension for Converting Messages before Delivery
Publication Date    : March 2012
Author(s)           : A. Melnikov, B. Leiba, K. Li
Category            : PROPOSED STANDARD
Source              : Sieve Mail Filtering Language
Area                : Applications
Stream              : IETF
Verifying Party     : IESG