From 384e5a2e6462fa1a519f7b216821ddf7f1c8e1fe Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Tue, 9 Jul 2024 19:52:15 +0200 Subject: [PATCH] Don't expose SMTP/IMAP if announced "not provided" via SRV Fixes #5944 --- data/web/autoconfig.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/web/autoconfig.php b/data/web/autoconfig.php index 95952df0d..750463419 100644 --- a/data/web/autoconfig.php +++ b/data/web/autoconfig.php @@ -39,6 +39,9 @@ header('Content-Type: application/xml'); %EMAILADDRESS% password-cleartext + @@ -46,6 +49,7 @@ header('Content-Type: application/xml'); %EMAILADDRESS% password-cleartext + %EMAILADDRESS% password-cleartext + @@ -84,6 +91,7 @@ if (count($records) == 0 || $records[0]['target'] != '') { ?> %EMAILADDRESS% password-cleartext + If you didn't change the password given to you by the administrator or if you didn't change it in a long time, please consider doing that now.