Subject: [sieve] [Errata Verified] RFC5232 (4952)

From: RFC Errata System <[email-masked]>
Date: Tue, 28 Feb 2017 07:31:19 -0800 (PST)

The following errata report has been verified for RFC5232,
"Sieve Email Filtering: Imap4flags Extension". 

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=5232&eid=4952

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

Reported by: Thomas Schmid <[email-masked]>
Date Reported: 2017-02-26
Verified by: Alexey Melnikov (IESG)

Section: 9.  Extended

Original Text
-------------
#
# Keep all messages to or from people in my company
#
elsif anyof address :domain :is ["From", "To"] "company.example.com"
           {

Corrected Text
--------------
#
# Keep all messages to or from people in my company
#
elsif address :domain :is ["From", "To"] "company.example.com"
           {

Notes
-----
The anyof test is defined in the RFC 5228 as
anyof <tests: test-list> 
test-list    = "(" test *("," test) ")"

Which means the parentheses after anyof are mandatory/required.
 
I would suggest dropping the anyof completely. An anyof with a single test is equivalent to a single test.

Alexey Melnikov: I've updated the corrected text to match your latest suggestion.

--------------------------------------
RFC5232 (draft-ietf-sieve-imapflags-05)
--------------------------------------
Title               : Sieve Email Filtering: Imap4flags Extension
Publication Date    : January 2008
Author(s)           : A. Melnikov
Category            : PROPOSED STANDARD
Source              : Sieve Mail Filtering Language
Area                : Applications
Stream              : IETF
Verifying Party     : IESG