mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
mail/rspamd: rename attachments_only in templating (#945)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user