delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/12/29/17:45:43

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BTMjhjP2049780
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BTMjhjP2049780
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Z1suPNMU
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E57CE3858417
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1735512340;
bh=dlgh7iC7vVPWA1EHbFTpiHBuiWixNu5wQwW3Zx3mzcY=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Z1suPNMUEbGnxuuC2gvwIijw2Tw7RwgzPhETx4oL7U7lLpmH5uCWP62WgtHCvOuwL
F3IdYPREmqXPIOjSsNo+716QEHCaBV6GmBkdgD/Ch6cPFwiVdEuHM4BFmbUwK+b7NF
x+Jxa8Ef47DMHf8IFLlY0OuwF5eRUtGgk/c6azE0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4BE73858D34
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B4BE73858D34
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735512279; cv=none;
b=j8xwTWG+ps5IKvfmOjmGeIIo5670lyw9FAIb4OueMmEHKRvheCuCPIMxFezQVywSy/IQD0RBHy9h4ZGxJeHUi/M5OGrszs5rkdWBczmCZdFJ5SO3JztNxc80lL4MpM8YuuEmQm9TGOIEIWVI/ovEyuMoT8gyXpI4oitlbAVlNAQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1735512279; c=relaxed/simple;
bh=83gIlfj6NdLahtkgyJX/5+JVwP1QCuGYKEsMZP2f08o=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=MJBYPwcZXXbFfEw59doc5KbFsC9RJs0493wUbcQPDgxCCtev8JhZCIRYPrgGeijnoyBMAnbWjV9BC11vtjA3TASheBWK+7eyNT1QRkqlCDDJKFEE3+Gb2nXIe7yXP6dgx7X03Iee/RGVdM19dzbMqMtIeWavy0qV6PtsRCtjmD8=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4BE73858D34
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1735512278; x=1736117078;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=I41YxAfuYum7bJPcS1P5VlEI9mZkr/1o63tkgvCHMoo=;
b=tYiXwO4KCtm1Ivdf9emXYY/Goc82TN2TtAupdt7AAdcy17t0L8mByUCd8uvz9iedeL
L1bXTENxyUJkaCm5OYND5+UiWBSg9K+RzDV90SM/9RX+dASQJEWMB6kO5h4iG8AgQT8S
jX8tDll1V1GmYbXMIIGwrTFM/WIikm7o4/2VPew3b+7/aQ/vhHkQ1dI0kkSkeOnsnR+n
l1Spm4Ezy5JLXuvQFRnedXiJ9EjLZm1POmiPGBSzYgrTXj8Pr05siRpNBr/lfwzri/aV
yDplRCXybfyAw1WxrYyGdVeJECgFN7ayLdnToLiG/ESpR5FgGrKqgQI5cOtbz3wfBwkr
HNJQ==
X-Gm-Message-State: AOJu0YyOsoYYGWgG4d+dTOWGKX9wZmn5/ZoLOdDFyJ8YWegVK06q43Dl
xYtiqVQEDJWvgyNdnqZbqnpeyFua9SPhweZPWBThZAOg0UTckUpZge/drg==
X-Gm-Gg: ASbGncvQmuejn1Yi0KCOdOfndMPFXtW4em9Yu/oztQvTDFUdVuL33/hglc1n01sXWRF
e7FMqpUTQzWtXus9unl9/4UT0vG2bFkdrBtxONK5HBAbg2SxkP8mF+3fEJbnuM/EUVHy4VPxn/1
DY7WuEcna8yGWiZ5R9CW/6A0pPycztl/1CB2qyYK7c0GsQ3z0RtuBHoZferUhj81lUJwY3h8Zjt
ra33F03IKADchGrNM8T75qz6Z76L0IWr+zXdE5kxaGn7F13NsU3U/1JCbUKyOVyTfIZTrKRGe8=
X-Google-Smtp-Source: AGHT+IHG9zFfTpY5mgnffIgccy0Z/01zQ04Y7GwA8Sy8sE0OXKgQl4yeytvxbwACgkZTe7NiZap1rA==
X-Received: by 2002:a05:6830:4122:b0:710:fef4:3c92 with SMTP id
46e09a7af769-720ff8b0395mr22049516a34.21.1735512278167;
Sun, 29 Dec 2024 14:44:38 -0800 (PST)
Message-ID: <ce6c3673-ac82-4790-be59-becf7e4b1719@gmail.com>
Date: Sun, 29 Dec 2024 16:44:37 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygwin /usr/bin/email
To: cygwin AT cygwin DOT com
References: <df8bd7d9-af0a-47aa-a234-2bd0e3d68b42 AT ariesinternet DOT com>
In-Reply-To: <df8bd7d9-af0a-47aa-a234-2bd0e3d68b42@ariesinternet.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=C3=A9_Berber?= <rene DOT berber AT gmail DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4BTMjhjP2049780

On 12/28/2024 5:57 PM, Paul McKinley via Cygwin wrote:

> I'm trying to set up cygwin /usr/bin/email to send the output of various 
> cron jobs to email.
> 
> I previously had this set up and working on Windows 10, and with another 
> hosting provider (WHM/Cpanel on CentOS with exim).  Now I am running 
> Windows 11 (24H2), with a fresh Cygwin install CYGWIN_NT-10.0-26100 
> 3.5.5-1.x86_64.  The SMTP server is with a new hosting provider - 
> InMotion Hosting, a vps running AlmaLinux v8.10.0 STANDARD virtuozzo 
> cpanel/whm 124.0.21 with exim email server.
> 
> I'm getting a timeout connecting to the smtp server using a test 
> command-line call to /usr/bin/email (names have been changed to protect 
> the guilty):
> 
[snip]
> USE_TLS = 'true'
> SMTP_AUTH = 'LOGIN'
> SMTP_AUTH_USER = 'myuser AT mydomain DOT com'
> SMTP_AUTH_PASS = 'mypassword'
> 
> I've also tried using port 465, get
> 
> Init connection...
> email: FATAL: Smtp error: Timeout(10) while trying to read from SMTP server
> 
> The notes on /usr/bin/email mention the TLS is somewhat primitive, I'm 
> wondering if there's an issue with connecting to the later version of 
> exim?  Or maybe I'm missing - or messing - something in the 
> configuration either cygwin or server side?

Perhaps this is relevant (from Microsoft):

"Starting in Windows 11 Insider Preview builds for September 2023 and 
continuing in future Windows OS releases, TLS 1.0 and 1.1 will be 
disabled by default. This change increases the security posture of 
Windows customers and encourages modern protocol adoption. For 
organizations that need to use these versions, there's an option to 
re-enable TLS 1.0 or TLS 1.1. For more information, see Resources for 
deprecated features."

and:

"If there are no alternatives available and TLS 1.0 or TLS 1.1 is 
needed, the protocol versions can be re-enabled with a system registry 
setting. To override a system default and set a (D)TLS or SSL protocol 
version to the Enabled state:
...
TLS 1.1:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 
1.1\Client]
       "Enabled" = dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 
1.1\Server]
       "Enabled" = dword:00000001
... (disclaimer)
"

The other option is to change eMail to use a newer version (I vaguely 
recall helping with this on the git issues page, but I might be 
mistaken.  It was a trivial change in the code, can't remember if it was 
accepted and its already there with version:

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

Anyway it is in my local install (I build it myself before it was a 
Cygwin package), and I'm pretty sure it doesn't work anymore, so more 
code changes are needed.

Hope this helps!
-- 
R.B.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019