Fixes for exim and divecot work

This commit is contained in:
Alexey Berezhok
2026-08-10 21:41:37 +03:00
parent b31dce3817
commit 5914f54e64
229 changed files with 104 additions and 17842 deletions

View File

@@ -45,7 +45,7 @@ if (!empty($_POST["save"])) {
}
}
$v_config_path = "/etc/exim/exim.conf";
$v_config_path = "/etc/exim/exim.conf.template";
$v_service_name = strtoupper("exim");
// Read config

View File

@@ -30,7 +30,7 @@ if (!empty($_POST["save"])) {
fwrite($fp, str_replace("\r\n", "\n", $_POST["v_config"]));
fclose($fp);
exec(
HESTIA_CMD . "v-change-sys-service-config " . $new_conf . " exim4 " . $v_restart,
HESTIA_CMD . "v-change-sys-service-config " . $new_conf . " exim " . $v_restart,
$output,
$return_var,
);
@@ -45,7 +45,7 @@ if (!empty($_POST["save"])) {
}
}
$v_config_path = "/etc/exim4/exim4.conf.template";
$v_config_path = "/etc/exim/exim.conf.template";
$v_service_name = strtoupper("exim");
// Read config