From 3870b1fca8c4b4259000e157a97c1ed834d57c2f Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 15 Mar 2010 10:19:38 +0000 Subject: [PATCH] Move "L" to "I". Local delivery enforcement is task of the MTA, not sieve. "I" should discard messages. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16515 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc b/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc index 97971a415..367917671 100644 --- a/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc +++ b/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc @@ -548,7 +548,7 @@ class mailMethodCyrus extends mailMethod{ $script= ""; if (is_integer(strpos($gosaMailDeliveryMode, "R")) || is_integer(strpos($gosaMailDeliveryMode, "C")) || - !is_integer(strpos($gosaMailDeliveryMode, "L")) || + !is_integer(strpos($gosaMailDeliveryMode, "I")) || is_integer(strpos($gosaMailDeliveryMode, "V")) || is_integer(strpos($gosaMailDeliveryMode, "S"))){ @@ -587,7 +587,7 @@ class mailMethodCyrus extends mailMethod{ } /* If no local delivery is wanted, tell the script to discard the mail */ - if (!is_integer(strpos($gosaMailDeliveryMode, "L"))){ + if (!is_integer(strpos($gosaMailDeliveryMode, "I"))){ $text= preg_replace('/"/', '\\"', implode ("", file(CONFIG_DIR."/sieve-discard.txt"))); eval ("\$script.=\"$text\";"); } -- 2.30.2