From 2e7c2f775922d4ec223cd8195b8a9fc8668db4e5 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 9 Dec 2008 14:24:33 +0000 Subject: [PATCH] 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 --- .../kolab/admin/systems/services/kolab/class_servKolab.inc | 4 ++++ 1 file changed, 4 insertions(+) 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){ -- 2.30.2