delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/20/17:27:34

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FC5F3858024
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1637447253;
bh=flCmhdQzG2kGNjE1kO4bFRo+4UMRp+knLObnJrq/Y4g=;
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=tGjUDf7DGv6uafunkQh4uYkB/jAxFeSGyo+/MR42WeiNA1Eb5VaHiKP3GqW25ujQB
XrUWtcB6qYkscvVpqecSAFato8nfeeD1LY/y48npI0WanXyAagiLTHhzBuAWk6oLAq
P6YCxiGUM1pATPa7mxqKF/0nC00LQzuadtNwM2C0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 881CB3858D39
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=MH3u0fPf7agkqjfOqrpT5UOHTS9LY/sYq6QQPyXRcCUMQMnPaP+sDWMa0EB5bbneNSKET2AOl/1w6ORq3RRQ8pcwwVIyL9iUP0+TxvUFi6wXh2RNpQLD19/IKrZI5/W3ceaS001uohOyUCyppO6C1xjp27dfa8819J6LxiizO76zs9cDSQ0XGNbikN8oHh17m1vUZ3HhuDSQLuf8rhvywf6BrAhd+Bu0TtUcv+fY8C/kVFGVlPKPdoEzkCKJ916hs1ktQuRxGgS3TEddZqTCsMDIG3T+wW5C0mUJatLp8qIzvZzuiN1wA9FADIFgEFP2HWo/vYveE2oxXNNzISYx7g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=8isM4u1LbariXBXms3+5lTYFzwGxv/MYdZukYK2d+6Y=;
b=WVct1JLQTqJ+IdXpjdox7PrVObEo2aoN8uC68b1SZEwJ7ryQTQCV6JdbDEDGQRrPP943GaoYUMw34PbgOM8GrDJ+qNCfrp0WPNubf/MulIcAUjN1rMA0O1ix3A+hT1TYOxbjhJfk5l2EqizMsJq+DnYKhaNyEoqkarG845TkR17DfuYR8TuLY7zg9ioAs6qvAew1inDqjhRWorM1Aa0RS5UVdZVwOoXpKWfDYI6NcWmUKjK3jMnyoBYIkAgP4oyZ3WvGHloXXp/Jp3MKFqXqGkMlgbvTf1qXdI328fT/mNA16SSDuopWhYTmyh2+VQ2m7Hu/ED7NHyapGuYVHefasw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Message-ID: <9f7af734-10b5-5f30-8038-8eb392d47c26@cornell.edu>
Date: Sat, 20 Nov 2021 17:26:52 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.1
Subject: Re: ssmtp-config fails on step 6
To: cygwin AT cygwin DOT com
References: <6f224c0f-9629-ab70-1bef-c2c1e742b5fc AT vt DOT edu>
<238898726 DOT 20211120030728 AT yandex DOT ru>
In-Reply-To: <238898726.20211120030728@yandex.ru>
X-ClientProxiedBy: BL1PR13CA0427.namprd13.prod.outlook.com
(2603:10b6:208:2c3::12) To BN7PR04MB4388.namprd04.prod.outlook.com
(2603:10b6:406:f8::19)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 5120fd82-1839-455f-e727-08d9ac74db7e
X-MS-TrafficTypeDiagnostic: BN8PR04MB5828:
X-Microsoft-Antispam-PRVS: <BN8PR04MB5828AFED2381B5B1ABD98A17D89D9 AT BN8PR04MB5828 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:3513;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 7Yk5k8HkquSFMb2c0XhHUfaqKo9eCKQu0cX6zPTdw/2eTgdSYl0uJZG3nvlNiNy9njaUaYBH/VXFnzgP3RCYi51fO8YrmUPVUEov9mM2BK8DqGQJ0s9oSFA0jJkpViH0PRd0hMZfaJlqHeREBpkJ/hHYCyEzaLvg6SqtcuQSdGu32sH5mewC9BilmCcCCCDa/1rhIF5muuYn7LfMYSQwjqfLfCIgrTVhC8aaBKAI1JZxdmEeXrF0V4psLT2O0Oy2DuJ0dlMIN8TXHLan1CykAHa5RK4CfEmTREs/BVNzdhqrWmU1J7kB2N9yY2koDKdKVK33Md09IQ5R2ONXqgKcdwROw+gZVTn38h1smsRpEqIfnehZJXI5ZVH/s8HX9OKkmzpkhz2lhI9xfMOW9CfEO06Ve2SSJxZGW4cTfwRJYeZWXFUQygsnBvsgUc1uu78kogH05DtUcmVweSUwJ0XYdjtqSr0YAiufR5UHbcirjo1ABojXTU+xX0evtwjrNRm2mhj6ZOqOPSrTRMvPhPUyGzarpkL0eqOb7a0i2R9lg2efvjeJScsz02XS4zBGUObtIt7FhQFphi3nNIK8F8bbkMieDCCyYO442pIFdRtyN5hTbo1HaCs/d0mqeKu19aRSSVdDqOK0GW8DouLceo0U12ee27nOTxfmHREX1eZh/y7j2/IaVKPiXWmUa4+ZkVCVp8DxI17YLo2JeL7DfaG/xK32Mfx4qVv/JT0o726zON59QMHLGbujROnLwif/VZilmCPEcKfLVG9PswpCEsI3GSAXKszOPHUuZiWfnTjhOnA=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(366004)(66476007)(31686004)(6486002)(508600001)(75432002)(6916009)(66556008)(66946007)(31696002)(4001150100001)(38100700002)(2906002)(786003)(16576012)(316002)(5660300002)(8676002)(36756003)(8936002)(53546011)(26005)(83380400001)(186003)(956004)(2616005)(86362001)(45980500001)(43740500002)(460985005)(2480315003);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OW1Xa1ZEanRqRWdCTkJHMUtzZ0lKY3Z4YkdOS29RYUZGL3ZEeVczSU00MVRR?=
=?utf-8?B?clNWeEdUcXZWbS96dHhvTEVZb1lEZ3FiV2ZYL1FzMy84R0tSZ2FUcGJBZEc4?=
=?utf-8?B?WmEvSk52SEI2OWlwdnFUNjV1NkJZOG42R3JDRjhvUXJBR05uNGJhbDBxdzVy?=
=?utf-8?B?dS90OXk3cnI0SzNpeG80TVNrc2NwbFVWNnowNWpYR1hRYjdvcmRyMmM4NjY5?=
=?utf-8?B?NTJQeGlxd2czWnRMVlBoODgwRGZhdWJEUVpDYVJHbFkxcExNc0RMOHRvbzFZ?=
=?utf-8?B?T0wvbDhXRXF6anphbit2MDg1L2pXSCtEVkpkMGIzQ211Tkh6TXlkc3NFcTF0?=
=?utf-8?B?NDdINitCMkcvbUdnMm41Ukg5djNtOUNEMjNqTFo0UlBlQk5IR3drM0o2ZFlG?=
=?utf-8?B?b29rSHdOdk9CVGFpNC9ReENnaGV6SENuNDNDRS92c2NLT0MxY0FXN2dTVDB1?=
=?utf-8?B?ZEtiYkRMenNvUlZBdS9DMVp3N1ZGSUNadDl2Y1d3UFNkWE9DaXBYSGdVQ3Fl?=
=?utf-8?B?R2twcWNvSzhUckxzZU9IWithamE0eVFvYVI1OHFJRlN6WnNuYkIrbWp4SlpS?=
=?utf-8?B?eGxMTmtTUE44eVNwZEc1Y2JDdC9HU0E2ZTBpQXhIdkl5VVJiY2pvQ2Z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TS9ibzRUME0rUWRjQ1NrRmcxL3VGRVRjYUZ5?=
=?utf-8?B?RFY5eHZWOFBzMWtqK0UzTGNoVngzM25TTmR5WXJEZEx1emVJODZRSDQ2YlJm?=
=?utf-8?B?TGtBUEZPbGVpdmlFTHdWUG85WkFkdmhURm5WbGJYcFNuMnJQR3pVRjcvMVhz?=
=?utf-8?B?dmFaS1lnN3pPSldVU3haSURQaVFGRFl0T3lwd2V0bFBTS3ZPMGZMaVFzUCtP?=
=?utf-8?B?Z2FFYnFHNEhBdlhyNWJWa1RrVWhVMmZ3M1lrL2VPc0QyOGVDdVViZ0Q1a1ZY?=
=?utf-8?B?cnJGQkw2QTY5TG94N1luV0xpQ2hDTktUMzdoVmpLNC9NbEVydTBUeVZyWEVj?=
=?utf-8?B?SnpnR1ZaNDRLYWpnaGdqSUIvNG5TOTdXRzRIaDVIczduNzRzWWp3ZXZlYVNw?=
=?utf-8?B?V2FpZ0M3dWQxY0dwNWloZHQxUEtXTjZGZmkwdTQ2dDI0VjJhOEJWelBTbzNa?=
=?utf-8?B?azkxZHdiZGhjTGxnM2JyUVFiRzRoK092TUxKMDVEOFJrS2JKdUNHNGpneHR2?=
=?utf-8?B?cTBtY3ZSV1B4WVVjbk42blhFNm5DMGJ2SDF3NzdiWWxSKzQ2Y1FCY3pidkZO?=
=?utf-8?B?eDVXZXJ1Wmp4a2tGaWpoOTN4a3JCUHlRZDBHdTJqbk4rQkpVTkxKY2IyelIz?=
=?utf-8?Q?gjRe1YBG4xE+2rF/D508Z44=3D?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 5120fd82-1839-455f-e727-08d9ac74db7e
X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2021 22:26:54.9246 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: T6g1NYxDR3I/0vc0Tk3WhBbeDA+BKMJQiWeql3/y36NWlDB66JHJtGqbjGdYjmE5Dar8eoUS79d8SYxfW9hVUg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB5828
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT,
MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 11/19/2021 7:07 PM, Andrey Repin via Cygwin wrote:
> alternatives is known to make links to nonexistent objects. While this is
> possible on *NIX, you can only link to existing objects on Windows.

You're talking about native Windows symlinks, not Cygwin symlinks.  The latter 
can point to nonexistent objects just as on *NIX.  This shouldn't fail unless 
the user has forced Cygwin to use native Windows symlinks by setting 
winsymlinks:nativestrict in the CYGWIN environment variable.

Kevin, have you done this?  If not, do you have any reason to think that 
alternatives failed to create symlinks?  What does 'ls -l 
/etc/alternatives/mta*' show?  On my system I see:

$ ls -l /etc/alternatives/mta*
lrwxrwxrwx 1 kbrown-admin None 19 2021-11-20 17:04 /etc/alternatives/mta -> 
/usr/sbin/ssmtp.exe*
lrwxrwxrwx 1 kbrown-admin None 19 2021-11-20 17:04 /etc/alternatives/mta-mailq 
-> /usr/sbin/ssmtp.exe*
lrwxrwxrwx 1 kbrown-admin None 19 2021-11-20 17:04 
/etc/alternatives/mta-newaliases -> /usr/sbin/ssmtp.exe*
lrwxrwxrwx 1 kbrown-admin None 19 2021-11-20 17:04 
/etc/alternatives/mta-sendmail -> /usr/sbin/ssmtp.exe*

I also have:

$ ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 kbrown-admin None 21 2021-11-20 17:04 /usr/sbin/sendmail -> 
/etc/alternatives/mta*

and

$ /usr/sbin/alternatives.exe --display mta
mta - status is manual.
  link currently points to /usr/sbin/ssmtp.exe
/usr/sbin/ssmtp.exe - priority 0
  slave mta-sendmail: /usr/sbin/ssmtp.exe
  slave mta-mailq: /usr/sbin/ssmtp.exe
  slave mta-newaliases: /usr/sbin/ssmtp.exe
Current `best' version is /usr/sbin/ssmtp.exe.

Do you see something different on your system?

Last question: You said in your first post that "ssmtp-config fails silently" 
and that you isolated this to the alternatives command failing.  What do you 
mean when you say it failed?  Since it failed "silently", do you mean that 'echo 
$?' showed a nonzero error code?  Or do you mean that something is not working 
as expected?

Ken

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