Fixes for exim and divecot work
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user