X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; q=dns; s=default; b=y2jW2ovlaXVjoM/tL9rsCMLqj5W4+ qd9owm/wtJ1yRihka5/tE0L46LAY69sHdP+D/z/DrF3URUdHu8Ursg/+OEJev4/p ApHky3APmJXVQax2NKZNGlKsEe2FUjqEV0zHKOSC4B9ZffnciGZuQ6OK+Q5V3t1P 9lEHzv5E/5KpUQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; s=default; bh=Kq+UdKdsoWZovt+wiZsbzYwts5I=; b=oIq tqOQXz3gNC/EpwxzikOdD1HM/fitX9eGdOSWyxjn266PD9hryFTQ3PEA/mKpP8Pi oKg6eg6bS0s/GZOCSUvUWhGjpC7Pd7DacvO7cIdmsSoLqZ5dCn3gZLHDY9rAl4aE +FxPSRGflKFTeEZC5hWAM3vkv5WCgBKF0a+7f6Hw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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= From: Ken Brown To: "cygwin AT cygwin DOT com" CC: Jari Aalto Subject: Re: msmtp 1.8.5 built using ${prefix}/${SYSCONFDIR} Date: Wed, 9 Oct 2019 20:10:06 +0000 Message-ID: References: <20191002004739 DOT GA5215 AT zebra> <20191002181838 DOT GA3281 AT zebra> <20191009200338 DOT GA3790 AT 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 AT cornell DOT 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 AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OWVHf/49JQnajmF8NebiAWcVrSbJ5ckV7cDEiKn+PEB4a/d84cKv4loN8pYvhsc25CIKIdl49SolkECd5UlArg== X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x99KAi72032078 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 upgrade. >>>>> >>>>> 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 system. >>>> 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 from /etc to >>>> /usr/etc, or changed the location during the server config, /etc/ should 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 location >>> 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, which >> should be resolved by having the built exe use the standard SYSCONFDIR, by >> removing ${prefix} from its definition. >> [changing subject] > > 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. > > 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 the 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