[sieve] Script Runtime errors via X-Headers
Thomas Schmid <schmid-thomas@gmx.net> Fri, 12 October 2012 20:49 UTC
Return-Path: <schmid-thomas@gmx.net>
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 AA70921F8779 for <sieve@ietfa.amsl.com>; Fri, 12 Oct 2012 13:49:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0XF5+lMFjKBb for <sieve@ietfa.amsl.com>; Fri, 12 Oct 2012 13:49:08 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id 55D7B21F876A for <sieve@ietf.org>; Fri, 12 Oct 2012 13:49:04 -0700 (PDT)
Received: (qmail invoked by alias); 12 Oct 2012 20:49:02 -0000
Received: from dslb-088-067-182-072.pools.arcor-ip.net (EHLO [192.168.178.29]) [88.67.182.72] by mail.gmx.net (mp027) with SMTP; 12 Oct 2012 22:49:02 +0200
X-Authenticated: #550355
X-Provags-ID: V01U2FsdGVkX18jeCtPtcUjpEBrUVG5MTlymGZlsbGMu+LsbLj/5r g7cTYGUDYhauVV
Message-ID: <5078823E.8030403@gmx.net>
Date: Fri, 12 Oct 2012 22:49:02 +0200
From: Thomas Schmid <schmid-thomas@gmx.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:19.0) Gecko/19.0 Thunderbird/19.0a1
MIME-Version: 1.0
To: sieve@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Subject: [sieve] Script Runtime errors via X-Headers
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 12 Oct 2012 20:49:08 -0000
Hi, recently I stumbled upon a server, which returns run time errors of a sieve script as an X-Header. I did not find any documentation regarding this behavior, so I think it non standard. Never the less it's quite handy. Especially if you move, rename or misspell an imap folder. Such an error X-Header looks like this: X-Nemesis-Sieve: missing mailbox "\example" Is there a chance to standardize this within the Sieve RFCs? It makes debugging script for inexperienced users with no access to the server logs way easier. Especially since Paragraph "2.10.6. Errors" of "rfc5228" requires implementation to represent script errors to the user but does not offer any suggestions how to do that. Thus I would suggest adding the following to paragraph 2.10.6 : When an error happens, implementations MUST notify the user that an error occurred and which actions (if any) were taken, and do an implicit keep. + This can be achieved by adding an "X-Sieve-Error" header containing + the runtime error message to the mail. What are your thought on that? Regards Thomas Schmid
- [sieve] Script Runtime errors via X-Headers Thomas Schmid
- Re: [sieve] Script Runtime errors via X-Headers Stephan Bosch
- Re: [sieve] Script Runtime errors via X-Headers NED+mta-filters
- Re: [sieve] Script Runtime errors via X-Headers Tim Showalter
- Re: [sieve] Script Runtime errors via X-Headers Stephan Bosch