From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8EWDNwqWZGTPygAASxT56A (envelope-from ) for ; Wed, 17 May 2023 10:53:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eM+ZNwqWZGTkagEA9RJhRA (envelope-from ) for ; Wed, 17 May 2023 10:53:30 +0200 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 BAAB730CAD for ; Wed, 17 May 2023 10:53:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzCuB-00056B-5y; Wed, 17 May 2023 04:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzCu6-00055o-B4 for guix-patches@gnu.org; Wed, 17 May 2023 04:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzCu6-0001xB-34 for guix-patches@gnu.org; Wed, 17 May 2023 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzCu5-0003wN-QP for guix-patches@gnu.org; Wed, 17 May 2023 04:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62969] [PATCH v3] home: Add msmtp service. Resent-From: Tanguy LE CARROUR Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 May 2023 08:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62969 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 62969@debbugs.gnu.org, mirai@makinata.eu Received: via spool by 62969-submit@debbugs.gnu.org id=B62969.168431353415065 (code B ref 62969); Wed, 17 May 2023 08:53:01 +0000 Received: (at 62969) by debbugs.gnu.org; 17 May 2023 08:52:14 +0000 Received: from localhost ([127.0.0.1]:48883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzCtK-0003uv-GA for submit@debbugs.gnu.org; Wed, 17 May 2023 04:52:14 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:41275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzCtI-0003ug-HH for 62969@debbugs.gnu.org; Wed, 17 May 2023 04:52:13 -0400 Received: (Authenticated sender: tanguy@bioneland.org) by mail.gandi.net (Postfix) with ESMTPSA id EA6C5240009; Wed, 17 May 2023 08:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org; s=gm1; t=1684313526; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=bD8E14P15rIFumqk4wEQWRznne7SQJ7p+8wkdyW6auA=; b=Z37F+pOHWBzsJXzPBB/m3xmB2piMoAUcK2bHrBDFakBovKo7/fNGVDUTkOOMwmvWSmvppy EiG91YiPYCeZWoQEKsWttYPQ5HaLZsZ1eVOOVlfEc7NpfqFQ+b6/uBtDhnI8BpU39LazO4 wXwTbk1HDw34gEbSG/XDkPI8dWjK0o03GZI2MY8q2DfaqAPw4GW9xkTzCvcxBD3FUEmN0a /LEOJzvzQ0Zn83oLV9+Tf2w8sCm8XYhRIzTwqRDlfbLdEUoZMw+5wpkqoD8VQXub6otUk2 m4zLVFwGGUW1jSN/HZtaUNe35nZj+JZKrNgjooc+B9P4DXozOWMNPOKTM8027g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20230420144230.9392-1-tanguy@bioneland.org> <20230423171217.14894-1-tanguy@bioneland.org> <87ilddnjml.fsf_-_@gnu.org> <168310810854.1650.852938763274164245@localhost> <87ednxyxd4.fsf@gnu.org> From: Tanguy LE CARROUR In-Reply-To: <87ednxyxd4.fsf@gnu.org> Date: Wed, 17 May 2023 10:52:05 +0200 Message-ID: <168431352507.9673.2828328652177284378@localhost> User-Agent: alot/0.10 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684313610; a=rsa-sha256; cv=none; b=T3JqdyF/UZbog31qBxzXElUZcWLiXqbSdxwdnQ+FXJv2EU5IkL2xx4fIjITXnQhM6jLqTa 38Oql2odKPIsAO1r4/4AXrhtEg4kjRISXFazQxXTYkWpdtcLF8Fgd3ry8zKbjCbeWFQSmq KoePrOIGL4Kk/yaOmv8pDoOHtat2FE0ly/riQCH/IS+JMb3z/IPAxTaU4B44KL2pCuPMEo UovPpMWqNsekinEv3pEId7clZYx3QPBghlGfQotjErcl5LbvBaKUTkebKo3SfpWO0GOp1Z K9eikPmJcPd/YEQs8bM3PU5KuTMfDf3wRKc6nTB3rSYa0EUG2yEASigDqKDidg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=gm1 header.b=Z37F+pOH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=bioneland.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684313610; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bD8E14P15rIFumqk4wEQWRznne7SQJ7p+8wkdyW6auA=; b=e9ZLZnM4hSa+PFvnh8nchOKmILp57c1oxLicNVM4ixnlr9AWB3r1kVWBWeqG31/NzfXMOB 2YUBkGx90nP/M3dMejHDvgN9IwREvpB4KNPuVmsGdgNdaJ7g2sOctfyGOY4ORaOaP79eY3 3HZdSNgssQ2U3JJrm2mBg/XPuu38sygP1lT2u1/Z/Z9L8Y49dOYmBl5Kc8ROnv3bt0GRkN o128nG23BY5wyD9D0JREUz+mhZbjxYBYKNCFF1Wt0UDg37A180ka8b2GpJIMKjaABmBv/Q O7OU5G5HZi+mh7QzKiEs8q1/WfE9/On8qlK70n0nTP81utnyIrzahk7xr/SPCw== X-Migadu-Spam-Score: -1.19 X-Spam-Score: -1.19 X-Migadu-Queue-Id: BAAB730CAD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=gm1 header.b=Z37F+pOH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=bioneland.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: 6EFI/bJ6zHqW Hi, Quoting Ludovic Court=C3=A8s (2023-05-03 22:27:03) > Tanguy LE CARROUR skribis: >=20 > > Quoting Ludovic Court=C3=A8s (2023-04-30 23:30:10) > >> Tanguy Le Carrour skribis: > >>=20 > >> > * gnu/home/services/mail.scm: New file. > >> > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > >> > * doc/guix.texi (Mailing): New node. > >>=20 > >> I get: > >>=20 > >> --8<---------------cut here---------------start------------->8--- > >> [ 94%] GUILEC gnu/home/services/mail.go > >> gnu/home/services/mail.scm:52:0: warning: possibly unbound variable `s= erialize-string' > >> gnu/home/services/mail.scm:53:0: warning: possibly unbound variable `s= erialize-boolean' > >> gnu/home/services/mail.scm:54:0: warning: possibly unbound variable `s= erialize-integer' > >> --8<---------------cut here---------------end--------------->8--- > >> > >> I guess these procedures should be provided as well? > > > > I also get them when making `gnu/home/services/mail.go`. But aren't > > those "just" warnings. >=20 > It means that there=E2=80=99s code referring to these procedures, and tha= t they > don=E2=80=99t exist. It=E2=80=99s worth investigating anyway. I have noooo clue where to start! #noob=E2=80=99 =F0=9F=98=85 > A couple of minor things: > [=E2=80=A6] > > +The @code{(gnu home services mail)} modules provides services that help >=20 > =E2=80=9Cmodule=E2=80=9D (singular) Done! > > +@uref{https://marlam.de/msmtp, MSMTP} is a @acronym{SMTP, Simple Mail > > +Transfer Protocol} client. It sends mails to a predefined SMTP server >=20 > =E2=80=9Cmail=E2=80=9D (singular) Done! > > +@code{~/.config/msmtp/config} file. >=20 > =E2=80=9C@file=E2=80=9D Done! > This new intro + example look nice to me! >=20 > > +@item @code{logfile} (type: maybe-string) >=20 > [...] >=20 > > +@item @code{passwordeval} (type: maybe-string) > > +Set the password for authentication to the output (stdout) of the > > +command cmd. >=20 > Sorry for not noticing earlier but I=E2=80=99d suggest =E2=80=98log-file= =E2=80=99 and > =E2=80=98password-evaluation=E2=80=99 (?) to stick with the established n= aming > convention. Done! > So I think beyond this the main issue is figuring out the missing > serialization procedures, and then we=E2=80=99re done! I'm sending a v4! Cheers, --=20 Tanguy