From 0ce8fbe13c6727bf103dd568b6d62254f158afca Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 22 Aug 2023 13:44:08 +0300 Subject: [PATCH] Fix to also disable a new `spamd` service in Debian 12 --- lib/Virtualmin/Config/Plugin/SpamAssassin.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Virtualmin/Config/Plugin/SpamAssassin.pm b/lib/Virtualmin/Config/Plugin/SpamAssassin.pm index 56b722c..b30bd04 100644 --- a/lib/Virtualmin/Config/Plugin/SpamAssassin.pm +++ b/lib/Virtualmin/Config/Plugin/SpamAssassin.pm @@ -40,6 +40,8 @@ sub actions { # Stop it, so a default install is small. Can be enabled during wizard. init::disable_at_boot("spamassassin"); init::stop_action("spamassassin"); + init::disable_at_boot("spamd"); + init::stop_action("spamd"); $self->done(1); # OK! }; if ($@) {