From: hickert Date: Tue, 9 Dec 2008 14:24:33 +0000 (+0000) Subject: Updated kolab service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e7c2f775922d4ec223cd8195b8a9fc8668db4e5;p=gosa.git Updated kolab service -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 --- 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 f1e8b04c7..e4f4c73fd 100644 --- a/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc +++ b/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc @@ -301,6 +301,10 @@ class servkolab extends goService { /* 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){