From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66914 invoked by alias); 2 Oct 2019 18:18:44 -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 66906 invoked by uid 89); 2 Oct 2019 18:18:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1884 X-HELO: mail-pg1-f179.google.com Received: from mail-pg1-f179.google.com (HELO mail-pg1-f179.google.com) (209.85.215.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Oct 2019 18:18:42 +0000 Received: by mail-pg1-f179.google.com with SMTP id 23so3803629pgk.3 for ; Wed, 02 Oct 2019 11:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3xxwg40UciBYzZroY818odyobhrEcz7rVjKrBt/hjHc=; b=sEV+sWUZOsumy1KBuAwOgf+x7DiJaQJtzxvKhyOswBhfSfai5KhQx6gY6yd6IN57nA x/bKYYpIFgh9JO/hGg0/wslYlrzeF4nhKCYedjw0mfwv4D8Vy4RPnVEzYsiaN2ZYnhm8 7hFiYiFaojb7ssCxPsKpQ48GaAftmV+0+K47zQBoHhE+GqNHAnIOaTTFXbBJEeXBuBWJ q+oDSr05PGFEDoNOUF0S9E/0JjUEtqreidBijjPL6+AzpNrUfQQvV4/YU5sHqLmbZTcF FO6DGspo7XkQiu26VYdn8MnrWVhZwSmG72fKfn4dOoNtCyYUOUBKro5WM4b47N3o6F8m 0P6w== Return-Path: Received: from zebra.localdomain (173-164-243-238-SFBA.hfc.comcastbusiness.net. [173.164.243.238]) by smtp.gmail.com with ESMTPSA id s14sm134464pfe.52.2019.10.02.11.18.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Oct 2019 11:18:39 -0700 (PDT) From: Stephen Carrier Received: by zebra.localdomain (Postfix, from userid 510) id AAAB640C1C; Wed, 2 Oct 2019 11:18:38 -0700 (PDT) Date: Wed, 02 Oct 2019 18:18:00 -0000 To: cygwin@cygwin.com Subject: Re: location of msmtp system-wide configuration Message-ID: <20191002181838.GA3281@zebra> References: <20191002004739.GA5215@zebra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00011.txt.bz2 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. Thanks, Stephen Carrier -- 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