I accidentally sent the previous reply directly to René, so included below.

I created the registry entries and rebooted per other instructions from Google search:

C:\Windows\System32>reg query HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols /s HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client
    Enabled    REG_DWORD    0x1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server
    Enabled    REG_DWORD    0x1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client
    Enabled    REG_DWORD    0x1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server
    Enabled    REG_DWORD    0x1

No joy:

sh-5.2$ echo "hello" | /usr/bin/email -V -n "Cygwin cron is running" -subject "cygwin cron is running" admin_t...@mydomain.com
Connecting to server mail.mydomain.com on port 587
Greeting the SMTP server...
email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server
sh-5.2$ echo "hello" | /usr/bin/email -V -n "Cygwin cron is running" -subject "cygwin cron is running" admin_t...@mydomain.com
Connecting to server mail.mydomain.com on port 465
Init connection...
email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server

Thanks in advance,

-pcm

On 12/31/2024 5:42 PM, Paul McKinley wrote:
Thanks, René!

I'll try setting the registry thing.

I am running reasonably current Cygwin, and specifically reinstalled "email."

sh-5.2$ email --version
email - By Dean Jones; Version 3.2.3-git

Apparently TLS-1.3 is current, it would be nice if Cygwin supported it with "email."

I'll check back after trying with the registry setting to enable TLS-1.0/1.1 to verify that's what is the issue.

-pcm



--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to