[Web] Show hint when SOGo admin login is enabed, fix sieve preset in API
parent
7017360b8c
commit
9b6d915160
|
@ -1097,16 +1097,16 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
|||
switch ($object) {
|
||||
default:
|
||||
$data = dkim('details', $object);
|
||||
process_get_return($data);
|
||||
break;
|
||||
process_get_return($data);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "presets":
|
||||
switch ($object) {
|
||||
case "rspamd":
|
||||
process_get_return(presets('get', 'rspamd'));
|
||||
case "sieve":
|
||||
break;
|
||||
case "sieve":
|
||||
process_get_return(presets('get', 'sieve'));
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -556,6 +556,7 @@
|
|||
},
|
||||
"mailbox": {
|
||||
"tls_policy_maps": "TLS-Richtlinien",
|
||||
"sogo_allow_admin_hint": "Administrative SOGo Logins sind nur für Mailboxen verfügbar, die bereits ein SOGo Profil besitzen. Ein Benutzer muss zumindest einmal in SOGo eingeloggt gewesen sein, um ein Profil zu besitzen.",
|
||||
"tls_policy_maps_long": "Ausgehende TLS-Richtlinien",
|
||||
"tls_policy_maps_info": "Nachstehende Richtlinien erzwingen TLS-Transportregeln unabhängig von TLS-Richtlinieneinstellungen eines Benutzers.<br>\r\n Für weitere Informationen zur Syntax sollte <a href=\"http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps\" target=\"_blank\">die \"smtp_tls_policy_maps\" Dokumentation</a> konsultiert werden.",
|
||||
"tls_enforce_in": "TLS eingehend erzwingen",
|
||||
|
|
|
@ -555,6 +555,7 @@
|
|||
},
|
||||
"mailbox": {
|
||||
"tls_policy_maps": "TLS policy maps",
|
||||
"sogo_allow_admin_hint": "Administrative SOGo logins are only available for mailboxes with an existing SOGo profile. A user must have been logged in to SOGo at least once.",
|
||||
"tls_policy_maps_long": "Outgoing TLS policy map overrides",
|
||||
"tls_policy_maps_info": "This policy map overrides outgoing TLS transport rules independently of a users TLS policy settings.<br>\r\n Please check <a href=\"http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps\" target=\"_blank\">the \"smtp_tls_policy_maps\" docs</a> for further information.",
|
||||
"tls_enforce_in": "Enforce TLS incoming",
|
||||
|
|
|
@ -67,6 +67,15 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
|
|||
<button class="btn btn-xs btn-default refresh_table" data-draw="draw_mailbox_table" data-table="mailbox_table"><?=$lang['admin']['refresh'];?></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["ALLOW_ADMIN_EMAIL_LOGIN"])):
|
||||
?>
|
||||
<div class="panel-body help-block">
|
||||
<?=$lang['mailbox']['sogo_allow_admin_hint'];?>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<div class="table-responsive">
|
||||
<table id="mailbox_table" class="table table-striped"></table>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue