Change outgoing mail hostname to ping.cacert.org

Fixes bug #1541
pull/1/head
Jan Dittberner 7 months ago committed by Jan Dittberner
parent bf7dcbd080
commit 9140217aa7

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

Loading…
Cancel
Save