mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-02-10 22:41:38 +00:00
[Rspamd] apply domain wide footer to alias domains
This commit is contained in:
@@ -289,9 +289,9 @@
|
||||
{{ lang.edit.domain_footer_info_vars.custom }}</pre>
|
||||
<form class="form-horizontal mt-4" data-id="domain_footer">
|
||||
<div class="row mb-4">
|
||||
<label class="control-label col-sm-2" for="mbox_exclude">{{ lang.edit.mbox_exclude }}</label>
|
||||
<label class="control-label col-sm-2" for="exclude">{{ lang.edit.footer_exclude }}</label>
|
||||
<div class="col-sm-10">
|
||||
<select data-live-search="true" data-width="100%" style="width:100%" id="editMboxExclude" name="mbox_exclude" size="10" multiple>
|
||||
<select data-live-search="true" data-width="100%" style="width:100%" id="editFooterExclude" name="exclude" size="10" multiple>
|
||||
{% for mailbox in mailboxes %}
|
||||
<option value="{{ mailbox }}" {% if mailbox in domain_footer.mbox_exclude %}selected{% endif %}>
|
||||
{{ mailbox }}
|
||||
@@ -302,6 +302,11 @@
|
||||
{{ alias }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
{% for alias_domain in alias_domains %}
|
||||
<option data-subtext="Alias-Domain" value="{{ alias_domain }}" {% if alias_domain in domain_footer.alias_domain_exclude %}selected{% endif %}>
|
||||
{{ alias_domain }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user