From 9140217aa70f42b55a105c90641ace5d04dd6ff6 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 5 Jul 2022 18:01:00 +0000 Subject: [PATCH] Change outgoing mail hostname to ping.cacert.org Fixes bug #1541 --- includes/general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/general.php b/includes/general.php index db30314..cedf444 100644 --- a/includes/general.php +++ b/includes/general.php @@ -612,7 +612,7 @@ continue; } - fputs($fp, "EHLO www.cacert.org\r\n"); + fputs($fp, "EHLO ping.cacert.org\r\n"); do { $line = fgets($fp, 4096); $has_starttls |= substr(trim($line),4) == "STARTTLS"; @@ -634,7 +634,7 @@ stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); - fputs($fp, "EHLO www.cacert.org\r\n"); + fputs($fp, "EHLO ping.cacert.org\r\n"); do { $line = fgets($fp, 4096); } while(substr($line, 0, 4) == "250-");