On Tue, 10 Mar 2015 18:06:57 +0100 IB Development Team <d...@ib.pl> wrote:
> Package: fusiondirectory-plugin-cyrus
> Version: 1.0.8.2-3
> 
> Hi,

hello,

> When you try to save sieve vacation using fusiondirectory-plugin-cyrus 
(cyrus-imapd, Jessie), you'll get FD errors like
> 
>         Cannot store SIEVE script: script errors:
>         line 3: vacation MUST be enabled with "require"
> 
> Fix that works for us:
> 
>         --- sieve_script.tpl_ 2015-03-10 17:43:21.000000000 +0100
>         +++ sieve_script.tpl  2015-03-10 17:50:43.332000000 +0100
>         @@ -1,8 +1,6 @@
>         -{if $content}
>          ###FUSIONDIRECTORY
>          require ["fileinto", "reject", "vacation"];
>          
>         -{/if}
>          {if $spamfilter}
>          # Sort mails with higher spam level
>          if header :contains "X-Spam-Level" "{$spamlevel}" {literal}
{{/literal}

yes that is a real bug. the patch a patch fixing the issue is here.

Cheers
-- 
Benoit Mortier
CEO 
OpenSides "logiciels libres pour entreprises" : http://www.opensides.eu/
Promouvoir et défendre le Logiciel Libre http://www.april.org/
Main developper in FusionDirectory : http://www.fusiondirectory.org/
Official French representative for OPSI : http://opsi.org/

From 497008368f89db54f810457633ca3c9bd2e97a95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernig...@opensides.be>
Date: Wed, 11 Mar 2015 10:34:13 +0100
Subject: [PATCH] Fixes #3638 Error in cyrus sieve script template

---
 cyrus/personal/mail/mail-methods/sieve_script.tpl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cyrus/personal/mail/mail-methods/sieve_script.tpl b/cyrus/personal/mail/mail-methods/sieve_script.tpl
index 3a85556..769f779 100644
--- a/cyrus/personal/mail/mail-methods/sieve_script.tpl
+++ b/cyrus/personal/mail/mail-methods/sieve_script.tpl
@@ -1,8 +1,6 @@
-{if $content}
 ###FUSIONDIRECTORY
 require ["fileinto", "reject", "vacation"];
 
-{/if}
 {if $spamfilter}
 # Sort mails with higher spam level
 if header :contains "X-Spam-Level" "{$spamlevel}" {literal}{{/literal}
-- 
1.9.1

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to