Disabling spamfilter for domain does not disable it for inherited mailboxes (rspamd)
Summary
When setting "- not enabled -" as spamfilter policy for a domain, all mailboxes with "- inherit domain setting" will keep their current configuration. So the spamfilter for them is still enabled.
The config files for those mailboxes are not updated when the policy is updated, because according to the database there would be no file for them.
Steps to reproduce
- Create a domain with a spamfilter enabled.
- Create a mailbox for this domain that inherits the spamfilter setting
- Disable the spamfilter for the domain
Correct behaviour
The config file should be removed or set to allow everything?
Environment
Server OS + version: Debian 10
ISPConfig version: 3.2.4
Software version of the related software:
Rspamd daemon version 2.7