From: cajus Date: Mon, 15 Mar 2010 10:23:22 +0000 (+0000) Subject: Move "L" to "I". Local delivery enforcement is task of the MTA, not sieve. "I" should... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c172a7ef913f969fe52caa1ed5687c10db07bf84;p=gosa.git 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/trunk@16516 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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\";"); }