summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cab525)
raw | patch | inline | side by side (parent: 4cab525)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 07:35:15 +0000 (07:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 07:35:15 +0000 (07:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4774 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servKolab.inc | patch | blob | history |
index 7d8544a37a62188a4d3a4b74229d70d0099db085..3365211b96bee4bb46b8a62fadb5869848e14f9c 100644 (file)
Assign informations to smarty
***************/
- /* Set relayhost and if we have MX lookup enabled*/
- if($this->postfix_mxrelayenabled) {
- $smarty->assign("RelayMxSupportCheck"," checked ");
- } else {
- $smarty->assign("RelayMxSupportCheck","");
+ /* Set relayhost and if we have MX lookup enabled*/
+ if($this->acl_is_writeable("postfixmxrelayenabled")){
+ if($this->postfix_mxrelayenabled) {
+ $smarty->assign("RelayMxSupportCheck"," checked ");
+ } else {
+ $smarty->assign("RelayMxSupportCheck","");
+ }
}
/* Set acls */
/* Adapt relayhost */
$this->postfix_relayhost= preg_replace('/[\[\]]/', '', $this->postfix_relayhost);
- if (!$this->postfix_mxrelayenabled && $this->postfix_relayhost != ""){
+ if ($this->postfix_mxrelayenabled && $this->postfix_relayhost != ""){
$this->postfix_relayhost= "[".$this->postfix_relayhost."]";
}
"postfixmynetworks" => _("SMTP privileged networks") ,
"postfixenablevirusscan" => _("Enable virus scan") ,
"postfixrelayhost" => _("Relayhost") ,
+ "postfixmxrelayenabled" => _("Enable MX lookup for relayhost"),
"apachehttp" => _("HTTP FreeBusy service") ,
"apacheallowunauthenticatedfb" => _("Allow unauthenticated free busy"),
"postfixallowunauthenticated" => _("Accept Internet Mail") ,