summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a8502c9)
raw | patch | inline | side by side (parent: a8502c9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Jun 2008 11:40:14 +0000 (11:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 9 Jun 2008 11:40:14 +0000 (11:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11266 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc b/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc
index 552fccff402dab74f6fe48d63e088151744bac01..c4a81e9edc72f6eedf569fb29d1d7a12ab633779 100644 (file)
if(empty($this->goImapSieveServer)){
$message[] = msgPool::required(_("Sieve connect URL"));
- }elseif(!preg_match('/^\{[^:]+:[0-9]+.*\}$/', $this->goImapSieveServer)){
+ }elseif(!preg_match('/^\{[^:]+:[0-9]*\/(no|)tls\}$/', $this->goImapSieveServer)){
$message[]= msgPool::invalid(_("Sieve connect URL"),"","","{server-name:port/options}"." ".
sprintf(_("Valid options are: %s"),"tls,notls"));
}