mail/rspamd: fix typos and copy and paste issue

This commit is contained in:
Fabian Franz
2018-03-18 08:58:40 +01:00
parent b1522ca966
commit 511946b442
2 changed files with 3 additions and 3 deletions
@@ -20,7 +20,7 @@
<label>Blocked File Extensions</label>
<type>select_multiple</type>
<style>tokenize</style>
<help>If an attached file has a suffix in this list, the mail will be rejected via an hard reject, which means that the server will be immeadiately informed about the policy violation..</help>
<help>If an attached file has a suffix in this list, the mail will be rejected via a hard reject, which means that the server will be immeadiately informed about the policy violation.</help>
</field>
</subtab>
</tab>
@@ -1,5 +1,5 @@
{% if helpers.exists('OPNsense.Rspamd.general.enabled') and OPNsense.Rspamd.general.enabled == '1' and helpers.exists('OPNsense.Rspamd.multimap.badfileextension') and OPNsense.Rspamd.multimap.badfileextension != '' %}
{% for host in OPNsense.Rspamd.multimap.badfileextension.split(',') %}
{{ host }}
{% for extension in OPNsense.Rspamd.multimap.badfileextension.split(',') %}
{{ extension }}
{% endfor %}
{% endif %}