Hide relayhosts when ACL does not allow
@@ -58,6 +58,7 @@
</div>
+ {% if acl.domain_relayhost == '1' %}
<div class="row mb-2">
<label class="control-label col-sm-2" for="relayhost">{{ lang.edit.relayhost }}</label>
<div class="col-sm-10">
@@ -76,6 +77,7 @@
</select>
+ {% endif %}
{% if mailcow_cc_role == 'admin' %}
<label class="control-label col-sm-2" for="aliases">{{ lang.edit.max_aliases }}</label>
@@ -114,6 +114,7 @@
<small class="text-muted d-block">{{ lang.edit.sender_acl_info|raw }}</small>
+ {% if acl.mailbox_relayhost == '1' %}
@@ -134,6 +135,7 @@
<small class="text-muted d-block mb-4">{{ lang.edit.mailbox_relayhost_info }}</small>
<label class="control-label col-sm-2">{{ lang.user.tag_handling }}</label>