You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nethserver-yomi package installation overrides the force_actions rules in rspamd introduced with the #6665 issue.
This behavior disables the actions used by rspamd to reject e-mails from blacklisted senders and to temporary reject e-mails for which ClamAV scan fails.
This happens because we use a file into override.d path of rspamd to configure the Yomi Sandbox rule and, as stated into the rspamd documenation, this override completely the default force_actions configuration.
We need to move the Yomi Sendbox rule into the local.d/force_actions.conf template to merge it with the existing ones.
Steps to reproduce
Install E-mail server from Software Center;
Check the active force_actions rules in rspamd using the command: rspamadm configdump force_actions
Install Yomi Sandbox package (nethserver-yomi) on the same server;
Check again the active force_actions rules in rspamd: rspamadm configdump force_actions
Expected behavior
There should be 3 force_actions rules: REJECT_FROM_BLACKLIST, CLAM_VIRUS_FAIL, YOMI_FAIL
We could remove the /etc/rspamd/override.d/force_actions.conf static file and add a fragment to the /etc/rspamd/local.d/force_actions.conf template, for example:
nrauso
added
verified
All test cases were verified successfully
and removed
testing
Packages are available from testing repositories
labels
Mar 27, 2023
The
nethserver-yomi
package installation overrides theforce_actions
rules inrspamd
introduced with the #6665 issue.This behavior disables the actions used by
rspamd
to reject e-mails from blacklisted senders and to temporary reject e-mails for which ClamAV scan fails.This happens because we use a file into
override.d
path ofrspamd
to configure the Yomi Sandbox rule and, as stated into therspamd
documenation, this override completely the defaultforce_actions
configuration.We need to move the Yomi Sendbox rule into the
local.d/force_actions.conf
template to merge it with the existing ones.Steps to reproduce
force_actions
rules inrspamd
using the command:rspamadm configdump force_actions
nethserver-yomi
) on the same server;force_actions
rules inrspamd
:rspamadm configdump force_actions
Expected behavior
There should be 3
force_actions
rules:REJECT_FROM_BLACKLIST
,CLAM_VIRUS_FAIL
,YOMI_FAIL
Actual behavior
Only
YOMI_FAIL
rule is present.Components
The text was updated successfully, but these errors were encountered: