From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21429 invoked by alias); 9 Oct 2019 20:10:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21415 invoked by uid 89); 9 Oct 2019 20:10:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: NAM01-BY2-obe.outbound.protection.outlook.com Received: from mail-eopbgr810111.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) (40.107.81.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Oct 2019 20:10:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nQY/fYAUTJGFjkOilfqPNUl4XgXiW/kqolcNkp/Lz4YscKZHgqmlbwFZpwtFiadGLw3GjWY10ByKQT3S4eGSxR8p9gvFV+CE/EkZAACFEORGZVTk0ften86FYa73iGBUG6n0mp2ueHe/IObvA7rq4plC9metsHM+CUa8tRf5IRhP6ax/ta9WQAUXSe+hDESj0GD8kS9jOIQWFGQAZjdB0HXIEM/xIp66wRklDar4pAWkD8Ojmkb/jzTGMxHcAuFqdiEsLe9eI2OhP9AJJzoIM23gGS3oMKqxJ4E7bPe2WNs9HrwaD5q/eLokfHkVDy+d0t2q9IUtxzSyfBdOfuTIPw== 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-SenderADCheck; bh=ajNY3rLw3UgeaLdfLnWnTEf5Ba8Hpnrbf76QAa+YPhc=; b=TmDUE5FRMamSWn9SGSIc12JFSpu8VW/HmCNPRXkIKSEI5J4lX/2NsdwY+Px5jLXZOE8326XdPtmKTsgz/3lF0HxbE8VYxl1myz1z3Nkx/qzp3In/A//4ilrfmm+XOiAz5PE2gv6VRFBtNXXrc6L4FTuruLmQZDzZlU28kajwO3S0eF9LH7uvDCfzNId662E3ixCgAuv4Oda9V5WWtxJhUhP88giryIdCV6xDvPVWHOOrDQAen0T3p3GZuarkJb84sPPr8iCpft2SQyNAcf0eGiYFSnXo1EmOKuIxzKA/nzYTQiErZ+EWJ6RVBUEVs7cXFlnu+L7OxNFtD4k1D8mwLg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ajNY3rLw3UgeaLdfLnWnTEf5Ba8Hpnrbf76QAa+YPhc=; b=cOv+71RFmCDFfZGjs2PePZ3VVC9hZKwUaNba6NaOxL3U5Ok7VXUOxw4UYkpZAsL0GSf5zostVLFe282hXDNRCQYSh3s6weHx1f78w/blNHa4Vsof8tpDy0E5SOwr1tlIdWJ4mzFAzKfRbVg7BxXrJo1VY0Lv4TBcK/5toqpL7GA= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB6460.namprd04.prod.outlook.com (10.141.163.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Wed, 9 Oct 2019 20:10:06 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::6998:197f:bcff:7172]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::6998:197f:bcff:7172%4]) with mapi id 15.20.2327.023; Wed, 9 Oct 2019 20:10:06 +0000 From: Ken Brown To: "cygwin@cygwin.com" CC: Jari Aalto Subject: Re: msmtp 1.8.5 built using ${prefix}/${SYSCONFDIR} Date: Wed, 09 Oct 2019 20:10:00 -0000 Message-ID: References: <20191002004739.GA5215@zebra> <20191002181838.GA3281@zebra> <20191009200338.GA3790@zebra> In-Reply-To: <20191009200338.GA3790@zebra> user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:10000; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-ID: <0B4E23912B9653458AB3DB7D6984B3E1@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OWVHf/49JQnajmF8NebiAWcVrSbJ5ckV7cDEiKn+PEB4a/d84cKv4loN8pYvhsc25CIKIdl49SolkECd5UlArg== X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00049.txt.bz2 On 10/9/2019 4:03 PM, Stephen Carrier wrote: > On Wed, Oct 02, 2019 at 01:38:13PM -0600, Brian Inglis wrote: >> On 2019-10-02 12:18, Stephen Carrier wrote: >>> On Tue, Oct 01, 2019 at 08:43:40PM -0600, Brian Inglis wrote: >>>> On 2019-10-01 18:47, Stephen Carrier wrote: >>>>> The latest verion of the msmtp package: 1.8.5+20190811+git7912c76-1 . >>>>> Differs from the previous version: 1.6.6-1 . >>>>> >>>>> In that the location of the system-wide configuration file is changed >>>>> from /etc/msmtprc to /usr/etc/msmtprc. >>>>> >>>>> I think this has the potential to break installations during an upgra= de. >>>>> >>>>> In my case it only confused me as I set up a new system. >>>>> >>>>> Please consider changing this default back to what it was for the >>>>> convenience of those who will otherwise need to figure this out. >>>> >>>> Definitely not a standard location and nothing there currently on my s= ystem. >>>> The package contents shows only server configuration, nothing on /usr/= etc/, no >>>> defaults provided in /etc/defaults/usr/etc/, and /usr/bin/msmtp-config= defaults >>>> the CONFDIR to /etc, so unless you have a symlink, link or junction fr= om /etc to >>>> /usr/etc, or changed the location during the server config, /etc/ shou= ld have >>>> been used. >>> >>> This is not what I meant. The package doesn't provide a configuration >>> file. msmtp-config generates one in /etc/msmtprc, exactly as I would >>> want and expect since that's where to find the configuration file for >>> previous versions. >>> >>> The problem is that the binary looks for its configuration file in a >>> different place: >> >>> $ msmtp --version >>> msmtp version 1.8.5 >>> Platform: x86_64-pc-cygwin >>> .... >>> System configuration file name: /usr/etc/msmtprc >> >>> and only after I moved the configuration file to that nonstandard locat= ion >>> would msmtp start working instead of complaining that it couldn't find >>> any configuration file. >>> >>> This seems like something that could be fixed by tweaking the package >>> build scripts; I think it would be great to do that. >> >> So this is a discrepancy between the built exe and the config script, wh= ich >> should be resolved by having the built exe use the standard SYSCONFDIR, = by >> removing ${prefix} from its definition. >> [changing subject] >=20 > Could the package maintainer join in? I don't see how discussing the > minutae of the build process actually helps without the maintainer's > participation. >=20 > Pre-existing msmtp installations use /etc/msmtprc, and the current > configuration script creates a valid configuration in that same location. > Clearly, fixing the binary and not the configuration script is the way > forward, unless there is compelling reason to move the configuration > file from where it used to be. I've added the maintainer, Jari Aalto, to the Cc. I don't think he reads t= he=20 list regularly. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple