From 6304333e4e58e87f0dca4e48d4b85aafe95a3b6d Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 2 May 2012 09:45:38 +0000 Subject: [PATCH] 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 --- gosa-plugins/mail/personal/mail/sieve/class_sieve.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2