RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

RFC 6558, "Sieve Extension for Converting Messages before Delivery", March 2012

Source of RFC: sieve (app)
See Also: RFC 6558w/ inline errata

Errata ID: 5561
Status: Verified
Type: Editorial
Publication Format(s) : TEXT

Reported By: Thomas Schmid
Date Reported: 2018-11-25
Verifier Name: Alexey Melnikov
Date Verified: 2018-11-26

Section 3.2 says:

       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";
        }
       }

It should say:

       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.

Report New Errata