From 511946b442c10485c9d6b5ea47cb1042c06aa97e Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Sun, 18 Mar 2018 08:58:40 +0100 Subject: [PATCH] mail/rspamd: fix typos and copy and paste issue --- .../mvc/app/controllers/OPNsense/Rspamd/forms/settings.xml | 2 +- .../service/templates/OPNsense/Rspamd/bad_file_extensions.map | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/rspamd/src/opnsense/mvc/app/controllers/OPNsense/Rspamd/forms/settings.xml b/mail/rspamd/src/opnsense/mvc/app/controllers/OPNsense/Rspamd/forms/settings.xml index d8eeb29c8..eb692e877 100644 --- a/mail/rspamd/src/opnsense/mvc/app/controllers/OPNsense/Rspamd/forms/settings.xml +++ b/mail/rspamd/src/opnsense/mvc/app/controllers/OPNsense/Rspamd/forms/settings.xml @@ -20,7 +20,7 @@ select_multiple - 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.. + 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. diff --git a/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/bad_file_extensions.map b/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/bad_file_extensions.map index 318141afd..1b27e3ec5 100644 --- a/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/bad_file_extensions.map +++ b/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/bad_file_extensions.map @@ -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 %}