From: hickert Date: Wed, 2 May 2012 09:45:38 +0000 (+0000) Subject: fixes: #1175 X-Git-Url: https://git.tokkee.org/?p=gosa.git;a=commitdiff_plain;h=6304333e4e58e87f0dca4e48d4b85aafe95a3b6d fixes: #1175 Applied patch from 'stoneracer' Fixed problems with sieve, login was not able if plain was onyl available under a layer. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@21137 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc index cab0fdd34..91c826f40 100644 --- a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc +++ b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc @@ -394,7 +394,7 @@ class sieve } /* Fill error message if no auth types are present */ - if (!isset($this->capabilities["auth"])){ + if (($this->options != "tls") && (!isset($this->capabilities["auth"]))){ $this->error=EC_UNKNOWN; $this->error_raw = "No authentication methods found - please check your sieve setup for missing sasl modules"; return false;