Setup-SMTPGraphRelay.ps1 aktualisiert

This commit is contained in:
manuel.maier committed 2026-10-13 11:46:23 +02:00
1 parent 09a4721d4e
commit 1998601ba6
1 file changed
+4 -4
+4 -4
View File
@@ -1942,7 +1942,7 @@ function Manage-SmtpAuth {
# Config nach jeder Änderung neu laden, damit Serialisierung/Arrays exakt
# dem installierten Zustand entsprechen.
$config = Get-RelayConfig -TargetPath$InstallPath
$config = Get-RelayConfig -TargetPath $InstallPath
$config = Ensure-SmtpAuthConfig -Config$config
}
}
@@ -1963,7 +1963,7 @@ function Invoke-FailureModeTests {
function Uninstall-Relay {
Write-Title "SMTPGraphRelay - Deinstallation"
$config = Get-RelayConfig -TargetPath$InstallPath
$config = Get-RelayConfig -TargetPath $InstallPath
Write-Warn "Lokale Deinstallation entfernt Task, Firewallregel und auf Wunsch das lokale Zertifikat."
if (-not (Confirm-Yes "Lokale SMTPGraphRelay-Installation wirklich entfernen?")) {
@@ -2050,7 +2050,7 @@ function Show-Status {
if (Test-Path -LiteralPath $configPath) {
Write-Ok "config.json vorhanden."
try {
$config = Get-RelayConfig -TargetPath$InstallPath
$config = Get-RelayConfig -TargetPath $InstallPath
Write-Host " Sender: $($config.Graph.SenderMailbox) (ForceSender: $($config.Graph.ForceSender))"
Write-Host " SMTP: $($config.Smtp.ListenAddress):$($config.Smtp.Port)"
Write-Host " Client: $($config.Graph.ClientId)"
@@ -2085,7 +2085,7 @@ function Show-Menu {
Write-Title "SMTPGraphRelay - Bootstrap / Repair / Online Update"
Write-Host "Installationspfad: $InstallPath" -ForegroundColor DarkGray
$installedVersion = Get-InstalledVersion -TargetPath$InstallPath
$installedVersion = Get-InstalledVersion -TargetPath $InstallPath
if ($installedVersion -and$installedVersion.Version) {
Write-Host "Installiert: $($installedVersion.Version)" -ForegroundColor DarkGray