From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ywSKBX5zkWE9RAEAgWs5BA (envelope-from ) for ; Sun, 14 Nov 2021 21:37:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6P19AH5zkWE1VAAAB5/wlQ (envelope-from ) for ; Sun, 14 Nov 2021 20:37:18 +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 454529E90 for ; Sun, 14 Nov 2021 21:37:17 +0100 (CET) Received: from localhost ([::1]:52206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmMFY-0007Et-01 for larch@yhetil.org; Sun, 14 Nov 2021 15:37:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmMFK-0007Ek-No for guix-patches@gnu.org; Sun, 14 Nov 2021 15:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmMFK-0001wO-Ff for guix-patches@gnu.org; Sun, 14 Nov 2021 15:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmMFK-0007KW-DU; Sun, 14 Nov 2021 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51853] [PATCH 0/2] gnu: sendgmail: Rename package; don't limit domain. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip+debbugs.cc@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51853@debbugs.gnu.org Cc: Philip McGrath X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Philip McGrath Received: via spool by submit@debbugs.gnu.org id=B.163692218128112 (code B ref -1); Sun, 14 Nov 2021 20:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Nov 2021 20:36:21 +0000 Received: from localhost ([127.0.0.1]:51831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmMEf-0007JM-El for submit@debbugs.gnu.org; Sun, 14 Nov 2021 15:36:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:53820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmMEd-0007JD-Fj for submit@debbugs.gnu.org; Sun, 14 Nov 2021 15:36:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmMEd-0007B5-95 for guix-patches@gnu.org; Sun, 14 Nov 2021 15:36:19 -0500 Received: from [2607:f8b0:4864:20::831] (port=43671 helo=mail-qt1-x831.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmMEb-0001sP-22 for guix-patches@gnu.org; Sun, 14 Nov 2021 15:36:18 -0500 Received: by mail-qt1-x831.google.com with SMTP id q14so13738436qtx.10 for ; Sun, 14 Nov 2021 12:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=znWRmze/QVFAx4bEhUN+uNz4JoGV/4BKUKoHXxf/EYc=; b=glhtiWAWZ1jM4n3PiWaXKAz9qT7UZf869j8TnOb4H21JgpJr7hgz4qM+vzXBhEw3Pm 519m03TLUEhKr+Sf8+q+B6Y5sOxHXhvZnbwfTknxHB76SlVKArn1326p8/0JHI6e0csw 34996GYK3YYdIwSNgyT2gFyoWfy0b30b3OZiuQpjMyu4pSHpF76G28omwLC2otuFJ1yi 49bRHLWWiPpL/GWlixfrJO+kymqGVpm9z12I81e5CLQeM4Vs9h6l4x3nhP1DKwBJ30Pi HamgDpSEvlmsU0MCGBO4SXHop6+TBy/90jy0ma4/D+1fEYwhoPlvVzECVWaQARHFfmAH lh3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=znWRmze/QVFAx4bEhUN+uNz4JoGV/4BKUKoHXxf/EYc=; b=0HiP+6mdzl50M3RRhqwx+mhcYdyWgH8qU9W68yxqlEILXwxL39URZ1Ra7DVHxkX2el o8ummS3+xIlg08Ma9CeQcZkL7ZlhcgQWZKFywgPAU5D/qDw1w3Bx2oePaK63tEcFY41c U+Tf0/p3hVE54G0lF/i0yF6FgbtGgGOVxBuPoawmCSuM1IHCqp9xQdh3KDtZO5S8pVAh yRjUfDARkEyVZCAHTsKXQ0e/8JjbXQS/ZnaVtjrNBMGpuFg42oZn6lJa3D+dQBy/RMfs 1YIEvhD2Y+YuyeYsjVlzs25cInh/5qaaig7JJ6JGO3wHwX33DUrxdhyDqFkKv9rdpPvj yxRg== X-Gm-Message-State: AOAM531lH1DIn+cIffDsQKMp/FWyffdzTxRxC+AWQJUc97q8KH8er++D pZVqRyftXtLwhBeAkZ2PJmmEdw0wKIjkuyBw X-Google-Smtp-Source: ABdhPJykxoIjfkj7jwWDWK2bMKNuDwyEaSgwhHPJSjhsWpNrbLFFrwUiG2OH57e3kVfD28XCDzPz2w== X-Received: by 2002:ac8:5a01:: with SMTP id n1mr760781qta.13.1636922175743; Sun, 14 Nov 2021 12:36:15 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id i6sm6122482qkn.26.2021.11.14.12.36.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Nov 2021 12:36:15 -0800 (PST) From: Philip McGrath Date: Sun, 14 Nov 2021 15:36:14 -0500 Message-Id: <20211114203614.89441-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::831 (failed) Received-SPF: neutral client-ip=2607:f8b0:4864:20::831; envelope-from=philip@philipmcgrath.com; helo=mail-qt1-x831.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action 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=1636922237; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=znWRmze/QVFAx4bEhUN+uNz4JoGV/4BKUKoHXxf/EYc=; b=CWweVIzJMm/4q8Fucv/uDsoNUiMwiofbY1K5Tb92LLl9kSz5qoMAyfO7QF/znKbx2qsQl3 g6FrOyH078TBtOH/jN31vOUEDRZ52ZbwEeCOzLuA4aBCgXo96tiGrg7unsnAXQR+82xanm uhFuP/BP6toOJ7dlRVO84EQIncjjpQ6omAVRB28CG0Fu+9n10pxrhHlMRRnyhfWLZeQ3oZ 44IuHW5/EyBL+X7pC6N3O3ovG8oWD8rZpD7HZRXwBwJbFaKyRGfe+jHIwYC111BA3pHnIf fRg/+e0t/YqItmjbB6dRjv5DsPIcMqgS1ZlD7lMNCIvSDcQkNkbzXF7wx4ebKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636922237; a=rsa-sha256; cv=none; b=Kqu9JKNOJlTxVT/I1Q6s+pqpJ/bghngxAfwXD1sYRwLv0HEf+Bj7sPQD4ve9vFOJnYA4D2 oP7twanXLyykPk5daqWLNnOZ6Ny1UkZZLU22XKEbx5lXXR5uvytEhSieZNC97d9FudTOAB VypPoLX/SdpYlNnLw1d2KMrt8471rIF2GXvZCC9Q1deaR0HQmjfiT7YNGPlheTh41bHi8Z +fx0g55eLstsyIgW4KrtJDB9cGhTzc+z7ZVkCE19gVsX5+RVGbua0QXAb5qvtupmBJB+y4 340eV1q6BRetsm48L9aRztVMquX7hoJTWt+DBS6JaYWbNvVsG7cmr77e9lYuoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=glhtiWAW; 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: 0.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=glhtiWAW; 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: 454529E90 X-Spam-Score: 0.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: J/yuTBTFOrjQ This patch series continues where the discussion in left off. For anyone who isn't aware of `sendgmail` at all, one reason it's notable is that it's recommended in (by the SourceHut developers). The first commit renames the sendgmail package to match the name of the command, rather than the (remarkably long) Go import path. The second commit applies some patches to let the command also work for non-`@gmail.com` email addresses, with an interface compatible with all known forks. There's more detail on that below. I am using the resulting package: /gnu/store/38bv07yrqzqwfgbdg8f1qswp1kpidw1l-sendgmail-0.0.0-1.e322915 to send these emails. Philip McGrath (2): gnu: sendgmail: Rename package to match command. gnu: sendgmail: Don't limit domain name of sender. gnu/local.mk | 2 + gnu/packages/golang.scm | 36 +--------------- gnu/packages/mail.scm | 43 +++++++++++++++++++ ...sendgmail-accept-ignored-gsuite-flag.patch | 39 +++++++++++++++++ .../sendgmail-remove-domain-restriction.patch | 34 +++++++++++++++ 5 files changed, 119 insertions(+), 35 deletions(-) create mode 100644 gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch create mode 100644 gnu/packages/patches/sendgmail-remove-domain-restriction.patch -- 2.32.0