[Errata Verified] RFC6558 (5561)

RFC Errata System <[email protected]>
Newsgroups gmane.ietf.mta-filters
Message-ID <[email protected]>
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 <[email protected]>
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

_______________________________________________
sieve mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sieve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.