summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee9056f)
raw | patch | inline | side by side (parent: ee9056f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 14:24:33 +0000 (14:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 14:24:33 +0000 (14:24 +0000) |
-kolab < 2.2 can handle only one mail domain
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13209 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13209 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc | patch | blob | history |
diff --git a/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc b/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc
index f1e8b04c705fe8bde510909b5c32f5258af25888..e4f4c73fd0c2be5b3a2adbb97fea3167951ddafa 100644 (file)
/* Call common method to give check the hook */
$message= plugin::check();
+ if(mailMethod::get_current_method($this->config) != "mailMethodKolab22" && count($this->postfix_mydestination) != 1){
+ $message[] = _("Only kolab version >= 2.2 is able to handle multiple mail domains. Please provide only one mail domain.");
+ }
+
if(($this->kolabFreeBusyFuture=="")) {
$message[] = msgPool::required(_("Future days"));
}elseif(!tests::is_uid($this->kolabFreeBusyFuture) || $this->kolabFreeBusyFuture < 0){