If virtualmin is installed, just assume that it's in charge of spam delivery

This commit is contained in:
Jamie Cameron
2024-12-18 09:53:52 -08:00
parent b82c01c4ff
commit 9329829732

View File

@@ -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(