DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BSNwWZb1598394 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 4BSNwWZb1598394 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=KIbQySAP X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50EF6385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735430310; bh=/0DTtbCv4nwEpEgr5G/BwbZWJCBGis2TxKW7LjTtaek=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KIbQySAPeyEqBMOXGxKrpS4+smx3ovjL5TeLDaOR5dyoY0g23twImcIjUd/HUZFPY 9cl47X9dnGFbIUMCjel4WMlphbCxykjpoVdkTULXEna40e8QQnDkWh8KxPIqEe1YB1 9m2CNVanT97yLpm6tuVwI8fas4B6hPP+5yJkD6Xk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D6473858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0D6473858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735430252; cv=none; b=LJrSOe4mW+FRPSrnk4dATjZSXUV/cdZdipQdl/g5TgsKOKsrt2Uytnz7UNUAmnhoP01uc/R/SvNOliaGngALo+bR6YIQw9Ox0H5P79/1+pC/IaG3noRBn01pps1dYwN4iKmDLKLvubyVmIpnu9xzcB/BIywOZoV5z1eay0zpDqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735430252; c=relaxed/simple; bh=SgElZ513IKVECHTmdCTppQTS6V67N++Gwbt7vHNc1V4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:To:Subject; b=AQsHaxroTRvST1ekV5blQnxdIrdHfjuL0CaE3tstJgVCS9bjALQSrW794SKlPOB5U8hyAEWmcDxelobSkAEJ6Pu5545SUr1uTLW6fRBCJzPP17R0J2c3ecQxhhJg7DU+2JTvMsiFVh0IzFq5L6/8RZRNNwbb7Cg/n8h+R07AOHo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D6473858D20 Message-ID: Date: Sat, 28 Dec 2024 18:57:32 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: cygwin AT cygwin DOT com Subject: cygwin /usr/bin/email X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps106844.inmotionhosting.com X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ariesinternet.com X-Get-Message-Sender-Via: vps106844.inmotionhosting.com: authenticated_id: cygwin DOT forums AT ariesinternet DOT com X-Authenticated-Sender: vps106844.inmotionhosting.com: cygwin DOT forums AT ariesinternet DOT com X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Paul McKinley via Cygwin Reply-To: Paul McKinley Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4BSNwWZb1598394 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): sh-5.2$ echo "hello" | /usr/bin/email -V -n "Cygwin cron is running" -subject "cygwin cron is running" test AT mydomain DOT 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 email.conf: SMTP_SERVER = 'mail.mydomain.com' SMTP_PORT='587' 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? Thanks in advance, Paul McKinley -- 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