diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile index 555bbb3f9..5b17dff14 100644 --- a/mail/rspamd/Makefile +++ b/mail/rspamd/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= rspamd PLUGIN_VERSION= 1.3 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Protect your network from spam PLUGIN_DEPENDS= rspamd PLUGIN_MAINTAINER= franz.fabian.94@gmail.com diff --git a/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/antivirus.conf b/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/antivirus.conf index 3f191b265..403ade205 100644 --- a/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/antivirus.conf +++ b/mail/rspamd/src/opnsense/service/templates/OPNsense/Rspamd/antivirus.conf @@ -9,9 +9,9 @@ clamav { action = "reject"; {% endif %} {% if helpers.exists('OPNsense.Rspamd.av.attachments-only') and OPNsense.Rspamd.av['attachments-only'] == '1' %} - attachments_only = true; + scan_mime_parts = true; {% else %} - attachments_only = false; + scan_mime_parts = false; {% endif %} {% if helpers.exists('OPNsense.Rspamd.av.max-size') and OPNsense.Rspamd.av['max-size'] != '' %} # If `max_size` is set, messages > n bytes in size are not scanned