Change outgoing mail hostname to ping.cacert.org

Fixes bug #1541
This commit is contained in:
Jan Dittberner 2022-07-05 18:01:00 +00:00 committed by Jan Dittberner
parent bf7dcbd080
commit 9140217aa7

View file

@ -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-");