
From nobody Mon May  1 11:28:21 2017
Return-Path: <murch@andrew.cmu.edu>
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 A396C129464 for <sieve@ietfa.amsl.com>; Mon,  1 May 2017 11:28:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.501
X-Spam-Level: 
X-Spam-Status: No, score=-1.501 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-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 wUBbOiH5t_jI for <sieve@ietfa.amsl.com>; Mon,  1 May 2017 11:28:18 -0700 (PDT)
Received: from smtp.andrew.cmu.edu (SMTP.ANDREW.CMU.EDU [128.2.157.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E633F12025C for <sieve@ietf.org>; Mon,  1 May 2017 11:25:34 -0700 (PDT)
Received: from [192.168.1.22] (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.15.2/8.15.2) with ESMTPSA id v41IPW0A014430 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <sieve@ietf.org>; Mon, 1 May 2017 14:25:33 -0400
To: sieve@ietf.org
References: <7357c8a0-4256-963c-3122-039053135f3b@andrew.cmu.edu>
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
Message-ID: <c6760805-2b7c-04a2-6ec4-e7b89af12571@andrew.cmu.edu>
Date: Mon, 1 May 2017 14:25:32 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <7357c8a0-4256-963c-3122-039053135f3b@andrew.cmu.edu>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-PMX-Version: 6.3.0.2556906, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2017.5.1.181816
X-SMTP-Spam-Clean: 33% ( SXL_IP_DYNAMIC 3, TO_IN_SUBJECT 0.5, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, FROM_EDU_TLD 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, REFERENCES 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_POOLED_1 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_IN_SUBJECT2 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 33%
X-Scanned-By: MIMEDefang 2.78 on 128.2.157.39
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/801awyDIHjjkfoNA8AQW4u096_8>
Subject: Re: [sieve] Sieve :fcc option
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.22
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, 01 May 2017 18:28:20 -0000

On 01/17/2017 10:31 AM, Ken Murchison wrote:
> All,
>
> A vendor that uses Cyrus IMAP has some customers that would like to 
> have copies of outgoing Sieve-generated messages (e.g. reject, 
> vacation) stored in their Sent mailbox.  We could obviously do this 
> with a user configurable option, but I was thinking of extending Sieve 
> to support a :fcc <mailbox> option on reject, vacation and any new 
> actions where it might apply.  The option could also leverage  
> draft-bosch-sieve-special-use to do something like :fcc "\\Sent"

I have a complete implementation of :fcc for vacation which also 
interacts with specific fileinto options (mailbox, imap4flags, 
special-use).  My question, before I start writing up a draft, is what 
the exact grammar should look like:

vacation VACATION-OPTS [ ":fcc" FILEINTO-OPTS <mailbox: string>] 
<reason: string>

OR

vacation VACATION-OPTS [ ":fcc" <mailbox: string> FILEINTO-OPTS ] 
<reason: string>

OR

vacation VACATION-OPTS [ ":fcc" <mailbox: string> ] FILEINTO-OPTS 
<reason: string>


where VACATION-OPTS is the expected:

[":days" number | ":seconds" number] [":subject" string] [":from" string]
  [":addresses" string-list] [":mime"] [":handle" string]


and FILEINTO-OPTS is:

[ ":create" ] [ ":flags" <list-of-flags: string-list> ] [ ":specialuse" 
<special-use-flag: string> ]



At this point I prefer the first choice since it looks a lot like 
fileinto itself and has the FILEINTO-OPTS booked-ended.  The last choice 
allows all of the options to appear in any order (including 
inter-mingling of VACATION-OPTS with FILEINTO-OPTS), but also removes 
the dependency of FILEINTO-OPTS on :fcc, which would allow a nonsensical 
:create or :flags to be used outside of :fcc.

Note that we do have at least one existing action command that has an 
option dependent on another:

deleteheader" [":index" <fieldno: number> [":last"]] ...


Thoughts?

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From nobody Wed May 10 17:05:34 2017
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 115C9124BFA for <sieve@ietfa.amsl.com>; Wed, 10 May 2017 17:05:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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 mgG-kg6Jy-fg for <sieve@ietfa.amsl.com>; Wed, 10 May 2017 17:05:30 -0700 (PDT)
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 E563F1204DA for <sieve@ietf.org>; Wed, 10 May 2017 17:05:30 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 5100EB812F9; Wed, 10 May 2017 17:05:21 -0700 (PDT)
To: kjetilho@ifi.uio.no, ben@nostrum.com, alissa@cooperw.in, aamelnikov@fastmail.fm, cyrus@daboo.name, aaron@serendipity.cx
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: stan@glyphein.mailforce.net, sieve@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20170511000521.5100EB812F9@rfc-editor.org>
Date: Wed, 10 May 2017 17:05:21 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/Pk8DFXWQVAOblKnyz8zBMv5E7WY>
Subject: [sieve] [Technical Errata Reported] RFC5229 (5015)
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 11 May 2017 00:05:32 -0000

The following errata report has been submitted for RFC5229,
"Sieve Email Filtering: Variables Extension".

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

--------------------------------------
Type: Technical
Reported by: Stan Kalisch <stan@glyphein.mailforce.net>

Section: 3.2

Original Text
-------------
# Imagine the header
      # Subject: [acme-users] [fwd] version 1.0 is out
      if header :matches "Subject" "[*] *" {
          #  will hold "acme-users",
          #  will hold "[fwd] version 1.0 is out"
          fileinfo "INBOX.lists."; stop;
      }

Corrected Text
--------------
# Imagine the header
      # Subject: [acme-users] [fwd] version 1.0 is out
      if header :matches "Subject" "[*] *" {
          #  will hold "acme-users",
          #  will hold "[fwd] version 1.0 is out"
          fileinto "INBOX.lists."; stop;
      }

Notes
-----
This suggestion corrects the spelling of the "fileinto" action in the example.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC5229 (draft-ietf-sieve-variables-08)
--------------------------------------
Title               : Sieve Email Filtering: Variables Extension
Publication Date    : January 2008
Author(s)           : K. Homme
Category            : PROPOSED STANDARD
Source              : Sieve Mail Filtering Language
Area                : Applications
Stream              : IETF
Verifying Party     : IESG


From nobody Thu May 11 01:00:13 2017
Return-Path: <kjetilho@ifi.uio.no>
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 ABF0E1200ED for <sieve@ietfa.amsl.com>; Thu, 11 May 2017 01:00:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 lEoLT5oIEJWg for <sieve@ietfa.amsl.com>; Thu, 11 May 2017 01:00:07 -0700 (PDT)
Received: from mail-out01.uio.no (mail-out01.uio.no [IPv6:2001:700:100:10::50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F263F1274D2 for <sieve@ietf.org>; Thu, 11 May 2017 01:00:06 -0700 (PDT)
Received: from mail-mx03.uio.no ([129.240.10.15]) by mail-out01.uio.no with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from <kjetilho@ifi.uio.no>) id 1d8j0y-0005EG-K5; Thu, 11 May 2017 10:00:00 +0200
Received: from scribus.ms.redpill-linpro.com ([87.238.42.169]) by mail-mx03.uio.no with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) user kjetilho (Exim 4.82_1-5b7a7c0-XX) (envelope-from <kjetilho@ifi.uio.no>) id 1d8j0x-000CQg-TI; Thu, 11 May 2017 10:00:00 +0200
Message-ID: <1494489592.5978.3.camel@ifi.uio.no>
From: Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
To: RFC Errata System <rfc-editor@rfc-editor.org>, ben@nostrum.com,  alissa@cooperw.in, aamelnikov@fastmail.fm, cyrus@daboo.name, aaron@serendipity.cx
Cc: stan@glyphein.mailforce.net, sieve@ietf.org
Date: Thu, 11 May 2017 09:59:52 +0200
In-Reply-To: <20170511000521.5100EB812F9@rfc-editor.org>
References: <20170511000521.5100EB812F9@rfc-editor.org>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-UiO-SPF-Received: Received-SPF: neutral (mail-mx03.uio.no: 87.238.42.169 is neither permitted nor denied by domain of ifi.uio.no) client-ip=87.238.42.169;  envelope-from=kjetilho@ifi.uio.no; helo=scribus.ms.redpill-linpro.com; 
X-UiO-Ratelimit-Test: rcpts/h 8 msgs/h 1 sum rcpts/h 8 sum msgs/h 1 total rcpts 1437 max rcpts/h 8 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, AWL=0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: 7C9B5EE4FE4D025BA9A26E9A7C519BC37EB4041C
X-UiO-SPAM-Test: remote_host: 87.238.42.169 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 74 max/h 3 blacklist 0 greylist 0 ratelimit 0
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/DCLhwh658s5--m35awHtmpsSeks>
Subject: Re: [sieve] [Technical Errata Reported] RFC5229 (5015)
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 11 May 2017 08:00:11 -0000

on. den 10. 05. 2017 klokka 17.05 (-0700) skreiv RFC Errata System:
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5015
> 
> --------------------------------------
> Type: Technical
> Reported by: Stan Kalisch <stan@glyphein.mailforce.net>
> 
> Section: 3.2
> 
> Original Text
> -------------
> # Imagine the header
>       # Subject: [acme-users] [fwd] version 1.0 is out
>       if header :matches "Subject" "[*] *" {
>           #  will hold "acme-users",
>           #  will hold "[fwd] version 1.0 is out"
>           fileinfo "INBOX.lists."; stop;
>       }
> 
> Corrected Text
> --------------
> # Imagine the header
>       # Subject: [acme-users] [fwd] version 1.0 is out
>       if header :matches "Subject" "[*] *" {
>           #  will hold "acme-users",
>           #  will hold "[fwd] version 1.0 is out"
>           fileinto "INBOX.lists."; stop;
>       }
> 
> Notes
> -----
> This suggestion corrects the spelling of the "fileinto" action in the example.

mea culpa!  the fix is correct.

aside: it is interesting that the mail copy of this notification has
removed the "${1}" and "${2}" from the text.  it is correct in the web
version.

-- 
regards,
Kjetil T.


From nobody Fri May 19 06:20:20 2017
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 47892129A9F; Fri, 19 May 2017 06:20:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.203
X-Spam-Level: 
X-Spam-Status: No, score=-4.203 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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 xEo1imnD75eP; Fri, 19 May 2017 06:20:09 -0700 (PDT)
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 0D73A12EB13; Fri, 19 May 2017 06:14:11 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id BB1DAB80D41; Fri, 19 May 2017 06:14:03 -0700 (PDT)
To: stan@glyphein.mailforce.net, kjetilho@ifi.uio.no
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: <20170519131403.BB1DAB80D41@rfc-editor.org>
Date: Fri, 19 May 2017 06:14:03 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sieve/i37866g5MDK4QtDu2PJiYPnvY3E>
Subject: [sieve] [Errata Verified] RFC5229 (5015)
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 19 May 2017 13:20:10 -0000

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

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

--------------------------------------
Status: Verified
Type: Technical

Reported by: Stan Kalisch <stan@glyphein.mailforce.net>
Date Reported: 2017-05-10
Verified by: Alexey Melnikov (IESG)

Section: 3.2

Original Text
-------------
# Imagine the header
      # Subject: [acme-users] [fwd] version 1.0 is out
      if header :matches "Subject" "[*] *" {
          #  will hold "acme-users",
          #  will hold "[fwd] version 1.0 is out"
          fileinfo "INBOX.lists."; stop;
                ^
      }

Corrected Text
--------------
# Imagine the header
      # Subject: [acme-users] [fwd] version 1.0 is out
      if header :matches "Subject" "[*] *" {
          #  will hold "acme-users",
          #  will hold "[fwd] version 1.0 is out"
          fileinto "INBOX.lists."; stop;
      }

Notes
-----
This suggestion corrects the spelling of the "fileinto" action in the example.

--------------------------------------
RFC5229 (draft-ietf-sieve-variables-08)
--------------------------------------
Title               : Sieve Email Filtering: Variables Extension
Publication Date    : January 2008
Author(s)           : K. Homme
Category            : PROPOSED STANDARD
Source              : Sieve Mail Filtering Language
Area                : Applications
Stream              : IETF
Verifying Party     : IESG

