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:date:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=LEDE vubJRRegVVn4CnKYHUwhOYtmSQucrFU6zoo/YCHrl29CQrD8gbPe5VId4EQ8r5Jg +u34i5rkgNXbu+7o9E0tktjbuqATJcxHx9sBcpBgB/gIC7ldroO6Amn7czU9gWVE jxmzbCyr1Zzk0iJAJSavoOcWNIOgDA2cW0g2uMg= 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:date:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=EgLas48hqM PV5zA0IzIOZCa6DbM=; b=SZdpUzfJZoTih9SXF6dD2TXCpCJZuStZF1EpJlg43Z payFXp8avFwIoezSPDgjGuWqdM9dOwiGMOJYYInBMaEgadK9rFc9UQ8Fc/+HOv5d hrMMrAzHF98Rk2njm7gPu9K2F6xxy4n9wAaagX9hA86OLCwG0nA/R7GHQ+luC2wH Q= 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=-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 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== From: Stephen Carrier Date: Wed, 2 Oct 2019 11:18:38 -0700 To: cygwin AT cygwin DOT com Subject: Re: location of msmtp system-wide configuration Message-ID: <20191002181838.GA3281@zebra> References: <20191002004739 DOT GA5215 AT 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 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