From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YKLQCRhTQGFyjgAAgWs5BA (envelope-from ) for ; Tue, 14 Sep 2021 09:45:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kEdkBRhTQGHwZAAAbx9fmQ (envelope-from ) for ; Tue, 14 Sep 2021 07:45:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D7BEC323E for ; Tue, 14 Sep 2021 09:45:26 +0200 (CEST) Received: from localhost ([::1]:45872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ389-0005Au-Qu for larch@yhetil.org; Tue, 14 Sep 2021 03:45:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ37m-00058X-KN for guix-patches@gnu.org; Tue, 14 Sep 2021 03:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ37m-0000ib-Cw for guix-patches@gnu.org; Tue, 14 Sep 2021 03:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQ37m-0002HC-6l for guix-patches@gnu.org; Tue, 14 Sep 2021 03:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49486] [PATCH] gnu: msmtp: Make it configurable with envrinoment variables Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Sep 2021 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 49486@debbugs.gnu.org Received: via spool by 49486-submit@debbugs.gnu.org id=B49486.16316054568670 (code B ref 49486); Tue, 14 Sep 2021 07:45:02 +0000 Received: (at 49486) by debbugs.gnu.org; 14 Sep 2021 07:44:16 +0000 Received: from localhost ([127.0.0.1]:47401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ371-0002Fm-RK for submit@debbugs.gnu.org; Tue, 14 Sep 2021 03:44:16 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:38727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ36z-0002FV-Mj for 49486@debbugs.gnu.org; Tue, 14 Sep 2021 03:44:14 -0400 Received: by mail-lj1-f175.google.com with SMTP id g14so22092743ljk.5 for <49486@debbugs.gnu.org>; Tue, 14 Sep 2021 00:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=rsITSYFjAc92XNrmVz1L9ZZDG5dAXT3+VYqkxEdF/yg=; b=QbI9uxozA/Lj9A6irk27g0zB2Hw4SC1bjTZZd2mQMZmGKcU7ROXYofQCrlVclb+sie gxkdwxdBjnnnUiEPpOWnr+IWeuVXd13oP5AvTfbS2eAVmhR9w7qEthfepGdlB/iyjoZ7 B4X7UpoixureK0xvS+yB/mxPMu1iY/wot1WF7eJF1VLQ7j7zll7QF+FNbvjxfvCWNGy5 8cIoaUKkiTMBw0f5QLDejDzcQRiOLxV4S/XLrUNWJ0Ip70dLMl3BjuxYhtIXefK28nSe nTKxyTLrLpWDuN3w5ImAXAwjfvkiSoY0xtuiCJQnm9GRpzUEui6wjUx4U+xw9qnsSKMC dfGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=rsITSYFjAc92XNrmVz1L9ZZDG5dAXT3+VYqkxEdF/yg=; b=8HeHK2U9CobAeRY2GTlUcg3llZGw5mli/8WQ71PNdZHfNFsu10Jkfa8v8BYZOENM3T P4wQMjQd8Onehj1rsF6Phy9z0U5Ihp04KbFzpr8rzNryAWRAJAqUk8ZPkJWgT7BMThsc a7zh/B5/vjx32TaRnBjmt5HuTm14kpv6pcz6GoD+zeaSQTQL2a2EeA8cI0Fo4KCvIWrz DqUsBcnhLZHh7u1fwRpHRN2f9FnYIzE5Kc8fx7Ilg5edIn6K2yoA4umeE9xKwewj2Hgm SMrCDl0mGXHp4NiyYLUHsth9Ju81E3l+7K66Abexl5PdKmmV/x67IxfJ5rVqcoNQ7R8h qhsA== X-Gm-Message-State: AOAM53267m47aA9O8+C+q3z4MCedTs1R6BHaaGUZYD2/UgK3OyFW59jE SLmfHSCkfgupADcvMqviAOZM5eH2J64sIw== X-Google-Smtp-Source: ABdhPJzzYbIKbuR41sZW5Ar+hLZev6c8KjId6bDnBUX1sbagZCSZyQ+2eSYzsF5ehabTYRmHmiJQag== X-Received: by 2002:a2e:901a:: with SMTP id h26mr13896742ljg.76.1631605447592; Tue, 14 Sep 2021 00:44:07 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id v5sm1304615ljg.117.2021.09.14.00.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 00:44:06 -0700 (PDT) From: Andrew Tropin In-Reply-To: References: <877dhzzstl.fsf@trop.in> <87mtqsrytk.fsf@trop.in> Date: Tue, 14 Sep 2021 10:44:03 +0300 Message-ID: <874kanmwjg.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631605527; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=rsITSYFjAc92XNrmVz1L9ZZDG5dAXT3+VYqkxEdF/yg=; b=TFbhs+jZ4iDp0d8tBYec1m6uf5CapYCmN+Cp54ubqjbhicjwFOY98QHod+dnKMjuJb6NOt WURGeRBz7m8Rz8Htqa4Z5GZ07zWa04N7eeCNvZv/rV3+zO+w2NjO2HvwJHcPyKRhdp6Row TDs4uTodaB1Szaaqlx0CRCfpuuj1IDEhUmrTRcVwR5SkTgvKRsYE58yDvhKfcdvCkpGqcY VanQdsPT7zgXcwGO/7aROMDqoUDqnRJtrl4jy/TlLs2/bsgK/u8oZ1gTskKQ+S4ZJzkIrU iZG+JawuucLSvEUjiExODktXjPzTXI3r+Wh+5vju9pIASe/mxFXR+wtBYnespw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631605527; a=rsa-sha256; cv=none; b=kYPA1Sz53jNU9BCd42SAbRAIh2xm2sFV6fYaO/kEXD0DNfizH5a9tzslq9S8AucjSIR/8A clvC7XHjq7P8hjZNcJascOJuSgqD6JZBaJtr2HZdbjtKKrmreLtj8PdTXJRL40YyvxwhuM 8AutHTugSNbia+IEiEplwhgkqMbl0uD5bYfRlm3lxtOv8uGera4xCTcb+bys+JLAk6wctA WfDEtqSIwYUZGW7XLchlQ4dVED0vzzkLgTjlV7RYfCxci/8C4IhpCb6skmsUUIxKCdzpGt 3nryMSHqQM+UwJB/X6Dz+xqX5amHLPiER+YMAEwlfv02hyumD2GP8qJXr+n9Kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=QbI9uxoz; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b=QbI9uxoz; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D7BEC323E X-Spam-Score: -2.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: DTx5SnZAqQYm --=-=-= Content-Type: text/plain On 2021-07-12 10:56, Leo Famulari wrote: > On Mon, Jul 12, 2021 at 06:33:11AM +0300, Andrew Tropin wrote: >> Agree, --enqueue is a feature and probably doesn't belong to the PM >> repo, the rest is more like a fix. Ok, let's see, what Martin will >> reply to proposed changes and I'll adjust this patch accordingly. > > Thanks, let us know what happens. I use msmtp so I'm interested :) On 2021-08-26 08:59, Martin Lambers wrote: > Hi, sorry for the late response. > I am not sure about the changes. Changing behavior via environment > variables is fragile and non-obvious to users. And there's a reason > 'make install' does not put msmtpq in the user's $PATH: in its > current state, the script is really only an example that needs to be > customized. > I would prefer a more complete solution, possibly including a > configuration file. > But interest in updating or maintaining the script has been very low in > the last years, so I assume the user base is very small. This would mean > that just keeping it as an example is ok. It seems that this script is unmaintained and served as an example. Martin also proposed to take the maintanance responsibility of it in the other message, but I needed it only for testing and don't use it anymore and thus don't want to take this duty. However, the patches themselves still seems good to me and they can be useful for other people. So we can keep them downstream and provide a little more flexible version of msmtpq script for guix users or close this ticket and keep them only in that thread for the history) The first one is a little more userfriendly IMO, the second one reduces maintanance burden, which also is a good thing. I'm ok with both options. LMKWYT. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmFAUsMACgkQIgjSCVjB 3rArow//ZrwDnQ7XtPa5yYgTtC267w7QLE8Y2gb9rE/FQvYL3FGauMNX8LZ8eL2k q5tpu7/SNukBzy0lvPbVJyQX2QtRMPmuAGXOS6hP82q4NoG7yYwxT7uVdAQNvdfc V3sSCTsixZzSFoYhL8YmCTwQ5Xc6un18rxrN9Meus9FrevTL8RtWqfm0wdtY4wKP bNiJRKMlAvw5qAtaeWI7ACYsXiz7kec7wO+/puj9ht6rktZWT8yF6wdOsDXQf1cu 799sGl5fYhMCKinD8L85MBKvr/GqqaWraxUvO2GoTP1uyu4LqyQfK2fkv2Xs9Pj7 u3PVEQMf6fNNNuUQf5YbX9s2qOvrp0OXqXkySYqFcdpCxDNRe7orYRCeBq6C/vGH ONJ6Gl4qLzzF2wQQpJ8QCWwpZRBwHLP6IosTWXm4ah2uqYa50PYYJsFsFsKx7UaN Fflt/6FaXdIw6iCYuVZ0sOg0dw8r3TmS7lpjXSaBwpXNUodKyNqDLus1ENAgDdOm gdJ3sRyIFfH2yWzbW5I0qBkdAT3W19qMsC+TyI8LZIOBRtqtjhtnQJxToeMteB9N AUwTD+2ngRtE6bEWp3rhiuTDS9VGdClkQVdVYaUY8MVop1U6bOeRTfpWz4ZvWdF7 SGN1uqXJlEyyvsOm30iLNtKzCE8kU00vIJj5QKnelkH+UvIr36E= =GrSZ -----END PGP SIGNATURE----- --=-=-=--