From 9329829732eeea852626950de82e73c55fdaad93 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 18 Dec 2024 09:53:52 -0800 Subject: [PATCH] If virtualmin is installed, just assume that it's in charge of spam delivery --- spam/spam-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spam/spam-lib.pl b/spam/spam-lib.pl index c899d1dc4..fd17aa447 100755 --- a/spam/spam-lib.pl +++ b/spam/spam-lib.pl @@ -1173,7 +1173,8 @@ foreach my $pmrc (@pmrcs) { $delivery_enabled ||= 1; } } - if (&find_virtualmin_recipe(\@recipes)) { + if (&find_virtualmin_recipe(\@recipes) || + &foreign_installed("virtual-server")) { # Controlled by Virtualmin if ($isglobal && &find_force_default_receipe(