cygwin /usr/bin/email

Paul McKinley Cygwin_Forums@ariesinternet.com
Tue Dec 31 23:49:40 GMT 2024


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_team@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_team@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
>
>


More information about the Cygwin mailing list