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(_at_)gmx(_dot_)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
_______________________________________________
sieve mailing list
sieve(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/sieve