From: hickert Date: Fri, 9 Apr 2010 14:21:19 +0000 (+0000) Subject: Updated mailAccount, for some reason "Do not deliver to own mailbox" was inverse X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca1ff8a991a26ea943965f4768e6659aae595a79;p=gosa.git Updated mailAccount, for some reason "Do not deliver to own mailbox" was inverse git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17567 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 367917671..a1b27a910 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, "I")) || + 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, "I"))){ + if (is_integer(strpos($gosaMailDeliveryMode, "I"))){ $text= preg_replace('/"/', '\\"', implode ("", file(CONFIG_DIR."/sieve-discard.txt"))); eval ("\$script.=\"$text\";"); }