
From ph@inwx.de  Mon Feb 15 04:28:14 2016
Return-Path: <ph@inwx.de>
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 49A6C1B3228 for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 04:28:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.072
X-Spam-Level: **
X-Spam-Status: No, score=2.072 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DEAR_SOMETHING=1.973, RCVD_IN_DNSWL_LOW=-0.7, 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 WjjL5r4t52T9 for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 04:28:12 -0800 (PST)
Received: from ken.inwx.net (ken.inwx.net [217.70.142.126]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 294491B3225 for <sieve@ietf.org>; Mon, 15 Feb 2016 04:28:12 -0800 (PST)
Received: from nibbler.inwx.net (nibbler.inwx.net [217.70.142.69]) by ken.inwx.net (Postfix) with ESMTPS id 993B920655 for <sieve@ietf.org>; Mon, 15 Feb 2016 13:28:10 +0100 (CET)
Received: from [10.0.0.178] ([::ffff:217.70.142.13]) (AUTH: PLAIN ph@inwx.de, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by nibbler.inwx.net with ESMTPSA; Mon, 15 Feb 2016 13:28:10 +0100 id 0000000000087BC2.0000000056C1C45A.00006028
To: sieve@ietf.org
From: InterNetworX | Pascal Heverhagen <ph@inwx.de>
Message-ID: <56C1C459.3070007@inwx.de>
Date: Mon, 15 Feb 2016 13:28:09 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/sieve/zRSgmCWaxsIQdiHvT6ArazJuFf0>
Subject: [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 13:12:56 -0000

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?

Many thanks,
Pascal


From nobody Mon Feb 15 06:39:35 2016
Return-Path: <NED+mta-filters@mauve.mrochek.com>
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 45C461B34A0 for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 06:39:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.765
X-Spam-Level: **
X-Spam-Status: No, score=2.765 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DEAR_SOMETHING=1.973, RP_MATCHES_RCVD=-0.006, SPF_HELO_PASS=-0.001, 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 LigTvK6IZmtR for <sieve@ietfa.amsl.com>; Mon, 15 Feb 2016 06:39:33 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) (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 E6BB11B3495 for <sieve@ietf.org>; Mon, 15 Feb 2016 06:39:32 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PWPCU0131C002AMD@mauve.mrochek.com> for sieve@ietf.org; Mon, 15 Feb 2016 06:34:33 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii; Format=flowed
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PWLL3KZ0CW00008P@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Mon, 15 Feb 2016 06:34:24 -0800 (PST)
From: NED+mta-filters@mauve.mrochek.com
Message-id: <01PWPCTYAI2600008P@mauve.mrochek.com>
Date: Mon, 15 Feb 2016 06:25:01 -0800 (PST)
In-reply-to: "Your message dated Mon, 15 Feb 2016 13:28:09 +0100" <56C1C459.3070007@inwx.de>
References: <56C1C459.3070007@inwx.de>
To: InterNetworX | Pascal Heverhagen <ph@inwx.de>
Archived-At: <http://mailarchive.ietf.org/arch/msg/sieve/QwzM-zkf7q-Sq3if3Eoysdkqrck>
Cc: sieve@ietf.org
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 14:39:34 -0000

> 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?

It's not really the purpose of this list to provide assistance in debugging
sieve problems, but FWIW, I see two problems here:

(1) No require statement for the vacation extension:
 
    require "vacation";

(2) You're clearly trying to perform a variable substition, but there's
    no code to do that and no require statement for the variables extension
    either.

Now, both of these may be due to your not having provided the entire
script. If that's the case, and you have the necessary require commands
as well as some sort of preceeding :matches operation, then I don't
see any sieve problem here.

				Ned


From nobody Mon Feb 15 12:42:07 2016
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. 


