summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 541d3de)
raw | patch | inline | side by side (parent: 541d3de)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Dec 2008 09:45:19 +0000 (09:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Dec 2008 09:45:19 +0000 (09:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13169 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/sieve/class_sieve.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc
index 7eaccfa6a20a77a3e9f43120fc3c717fe6c77fa5..cfd4686381aca0f44a3bea8ed7bffbedd2275f70 100644 (file)
/* Check if a TLS bases connection is required
*/
- if(preg_match("/^tls$/",$this->options)){
+ if($this->options == "tls"){
/* Check if PHP supports TLS encryption for sockets
*/
$this->line=fgets($this->fp,1024);
if(sieve::status($this->line) == F_NO){
- $this->error_raw = "Failed to authenticate!";
+ $this->error_raw = $this->line;
return false;
}
$this->loggedin=true;