Re: [sieve] problem with sieve syntax

Stephan Bosch <stephan@rename-it.nl> Mon, 15 February 2016 20:42 UTC

Return-Path: <stephan@rename-it.nl>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 024201A8AF1 for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 12:42:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.867
X-Spam-Level: ****
X-Spam-Status: No, score=4.867 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DEAR_SOMETHING=1.973, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, SPF_PASS=-0.001] autolearn=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 7QYq8rzGHZae for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 12:42:04 -0800 (PST)
Received: from sogo.guto.nl (guto.nl [178.21.117.49]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 172841ACD48 for <sieve@ietf.org>; Mon, 15 Feb 2016 12:41:54 -0800 (PST)
Received: from klara.student.utwente.nl ([130.89.162.218] helo=[10.168.3.2]) by sogo.guto.nl with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stephan@rename-it.nl>) id 1aVPxv-0003CG-0z; Mon, 15 Feb 2016 21:41:51 +0100
To: InterNetworX | Pascal Heverhagen <ph@inwx.de>, sieve@ietf.org
References: <56C1C459.3070007@inwx.de>
From: Stephan Bosch <stephan@rename-it.nl>
Message-ID: <56C237D2.3010101@rename-it.nl>
Date: Mon, 15 Feb 2016 21:40:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56C1C459.3070007@inwx.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-SA-Exim-Connect-IP: 130.89.162.218
X-SA-Exim-Mail-From: stephan@rename-it.nl
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on sogo.guto.nl)
Archived-At: <http://mailarchive.ietf.org/arch/msg/sieve/XNR5ocFnf2J3b_6pHBCL5kGBo44>
Subject: Re: [sieve] problem with sieve syntax
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.15
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, 15 Feb 2016 20:42:06 -0000

Op 2/15/2016 om 1:28 PM schreef InterNetworX | Pascal Heverhagen:
> Dear sirs,
>
> I have trouble while setting up some sieve roules via roundcube plugin
> ("managesieve"). When set up an autoresponder with 2
> automatically-sent messages I won't receive any automatic e-mails
> anymore. When I remove one of these, it works fine again.
>
> Heres my syntax:
>
> # rule:[max@mustermann.de]
> if allof (address :contains "to" "max@mustermann.de")
> {
>     vacation :days 1 :addresses "max@mustermann.de" :subject "Re:
> ${1}" text:
> This is my automated mail number one
> .
> ;
>     vacation :addresses "max@mustermann.de" :subject "Re: ${1}" text:
> This is my automated mail number two
> .
> ;
> }
>
> Can you tell me whats the problem?

https://tools.ietf.org/html/rfc5230#section-4.7:

"Vacation can only be executed once per script.  A script MUST fail with an appropriate error if it attempts to execute two or more vacation actions."

Your software will probably log something about this problem. Ask the supplier for more information. I remember seeing this before and I think Roundcube developers know about this issue.

Regards,

Stephan.