Re: [Extra] Sieve Vacation question

Ken Murchison <murch@fastmail.com> Tue, 31 March 2020 19:55 UTC

Return-Path: <murch@fastmail.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63CC23A2AAE for <extra@ietfa.amsl.com>; Tue, 31 Mar 2020 12:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.com header.b=FIsu6ymK; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ybAJSbSz
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 zZABFQQkgyh8 for <extra@ietfa.amsl.com>; Tue, 31 Mar 2020 12:55:15 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 299FB3A2AAD for <extra@ietf.org>; Tue, 31 Mar 2020 12:55:15 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 599125C0407; Tue, 31 Mar 2020 15:55:14 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 31 Mar 2020 15:55:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=d tfjjtShT/z4g8Gjq32iWmDg6k+LzsjtIXxws5UxSbE=; b=FIsu6ymKljawZPJPc 2kFkfXcUFQD9fQ/BNE+V4p/y1DQBYLsB4KWPjxbgQLrpFxP2mkGaDUJsBA082EsM ZRDWaojNIsffyktyb3LIsq2VJtYIVoiCxt1RSKyTSaHEzo4KwXaOxSZghPlflEe/ BMP2RLAKUpZ2iapnmRNrcjnP3+vvrB/ObZfT/5PacTfESZhsvGtEAXjTsPj3Rr1N os7KZzZ1CNSM4oKrNm/psY9QRMYJkVGNCgTwGBG249qKOYN1ESkjP/YcUQqhynuU cdTPRJjdzV0W/UswdPsQTQ5Kz358OrGua2dhlLA1aRaoIvmxEVno92wPisphyK4K aRlxw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=dtfjjtShT/z4g8Gjq32iWmDg6k+LzsjtIXxws5UxS bE=; b=ybAJSbSzd+QWTctR9jS8yn5ERu4fL/1P+3+4M2xK7GRcV0oVi1arPf9vt QUYlsReHkdaqTS/JTZ7AhBTmQLgC87SapNpdv7w9EfOmUdrVlPb8PziEWDyztWJn lTpUCnAeVcZflWxzGgZjsA/7bpvD+yLUIPe5CfoqQrh55xo7X0LAX59DSrs4URnv SY8QrR+42OooWZKSVoC2IbDjpNs+VxEne87aE8w6g6/tjHrB5/t3jWJ9+eO0SsNi +5cf2Ao1hLrZPBqIkIBNwRd6KwOCRsxWoqDdDMeeUOocvYEnUGBoAWrv5oDuTNYM mft1oI1/L/OONhPYWEjVo2H+0xV0w==
X-ME-Sender: <xms:IaCDXtTDxNpcD0QlPP9Kn-LJTIoxRE7yuMJ9-RUSJD0G41c4cyjV9A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddtgdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefmvghn ucfouhhrtghhihhsohhnuceomhhurhgthhesfhgrshhtmhgrihhlrdgtohhmqeenucffoh hmrghinhepfiefrdhorhhgpdgvgigrmhhplhgvrdgtohhmnecukfhppeejgedrjeejrdek hedrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmuhhrtghhsehfrghsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:IaCDXhYJqM4d95Cu7vk8gXiLMjFccm2KPyBSF-_vYO4sX3d8EixljQ> <xmx:IaCDXo1Yn3uvmMT8AEcBSmrTxl2_fSOmCVThlaZCMYi9juHIXNZHsQ> <xmx:IaCDXkpean3_Z_fku_axV95VB0Y--u6cn0vjhUVLY7sBcmzE8iKyzA> <xmx:IqCDXlFr_jEJGrGIeRMZZOh92KUWfNlHXKW3PUU4eH9RBn6HDxJF0A>
Received: from localhost.localdomain (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) by mail.messagingengine.com (Postfix) with ESMTPA id C6A2D306CBC6; Tue, 31 Mar 2020 15:55:12 -0400 (EDT)
To: Ned Freed <ned.freed@mrochek.com>
Cc: extra@ietf.org
References: <f53622e3-aba8-5c0d-b601-0709aa3c12e2@fastmail.com> <01RJ5KSSZ2FA000058@mauve.mrochek.com>
From: Ken Murchison <murch@fastmail.com>
Organization: FastMail US LLC
Message-ID: <23430a57-2636-2cad-ddfe-671f01188cc4@fastmail.com>
Date: Tue, 31 Mar 2020 15:55:12 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <01RJ5KSSZ2FA000058@mauve.mrochek.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/dZKHWQRG3ch7WTvkuGt29OTONX4>
Subject: Re: [Extra] Sieve Vacation question
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Mar 2020 19:55:18 -0000

Thanks for the quick response Ned.


On 3/31/20 3:45 PM, Ned Freed wrote:
> I don't see anything in there saying to insert an extra entity level, so
> no, there's no wrapping involved.
>
> And as a practical matter, if you wrap the supplied example in either
> a multipart/something or a message/rfc822, it's not going to work
> correctly in some clients.
>                 Ned
>
> P.S. The reason it limits things to "MIME entity" is that way you 
> can't specify
> message headers, only MIME stuff, using this mechanism.
>> All,
>
>> Reading and re-reading Section 4.4 of RFC5230, I'm not sure if the :mime
>> data is supposed to be inserted into the response message as-is (after
>> To, From, Date, Subject, etc), or if it needs to be wrapped in another
>> MIME entity.
>
>> In other words, is the complete outgoing message simply:
>
>
>> To: foo@example.org
>> From: bar@example.net
>> Subject: Automated Reply
>> Date: Tue, 31 Mar 2020 15:00:00 -0400
>> Auto-Submitted: auto-replied (vacation)
>> Content-Type: multipart/alternative; boundary=foo
>
>> --foo
>
>> I'm at the beach relaxing.  Mmmm, surf...
>
>> --foo
>> Content-Type: text/html; charset=us-ascii
>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
>>   "http://www.w3.org/TR/REC-html40/strict.dtd">
>> <HTML><HEAD><TITLE>How to relax</TITLE>
>> <BASE HREF="http://home.example.com/pictures/"></HEAD>
>> <BODY><P>I'm at the <A HREF="beach.gif">beach</A> relaxing.
>> Mmmm, <A HREF="ocean.gif">surf</A>...
>> </BODY></HTML>
>
>> --foo--
>
>
>> -- 
>> Ken Murchison
>> Cyrus Development Team
>> Fastmail US LLC
>
-- 
Ken Murchison
Cyrus Development Team
Fastmail US LLC