From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting. Resent-From: dftxbs3e Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Dec 2020 03:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45153@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160757169913877 (code B ref -1); Thu, 10 Dec 2020 03:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2020 03:41:39 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpm-0003bl-Mx for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:39756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpk-0003bd-Pl for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpk-0001DU-DA for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:36 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:27898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpi-0004kL-8n for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:35 -0500 Received: from [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6] (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 88849200390 for ; Thu, 10 Dec 2020 04:41:29 +0100 (CET) Message-ID: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> From: dftxbs3e Date: Thu, 10 Dec 2020 04:41:29 +0100 Content-Type: multipart/mixed; boundary="=-7R7JQZQOKQMDlr1xaSNJ" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: none client-ip=212.27.42.2; envelope-from=dftxbs3e@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.341, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.976 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-7R7JQZQOKQMDlr1xaSNJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hello! I was getting errors like this in my GNU Guix System installation: # cat /var/log/mcron.log /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found I am guessing this means sendmail needs to be added as propagated- inputs to ensure it is available to rottlog at runtime. Attached patch with these changes! Thank you! --=-7R7JQZQOKQMDlr1xaSNJ Content-Disposition: attachment; filename="0001-gnu-rottlog-Fix-mail-reporting.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0001-gnu-rottlog-Fix-mail-reporting.patch"; charset="UTF-8" RnJvbSA2YWFiNDY0NTcwNmY5ZmUyODVjMjUzMTQyZWZlNGU5ZmQ0MGYyYzNhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/TD1DMz1BOW89MjBMZT0yMEJvdXRlcj89IDxs bGUtYm91dEB6YWNseXMubmV0PgpEYXRlOiBUaHUsIDEwIERlYyAyMDIwIDA0OjM1OjM4ICswMTAw ClN1YmplY3Q6IFtQQVRDSF0gZ251OiByb3R0bG9nOiBGaXggbWFpbCByZXBvcnRpbmcuCgoqIGdu dS9wYWNrYWdlcy9hZG1pbi5zY20gKHJvdHRsb2cpOgpbcHJvcGFnYXRlZC1pbnB1dHNdOiBBZGQg c2VuZG1haWwuCi0tLQogZ251L3BhY2thZ2VzL2FkbWluLnNjbSB8IDEgKwogMSBmaWxlIGNoYW5n ZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2FkbWluLnNjbSBi L2dudS9wYWNrYWdlcy9hZG1pbi5zY20KaW5kZXggOWRmMTRiNWNhMC4uNWMyMmQ0MGQxZCAxMDA2 NDQKLS0tIGEvZ251L3BhY2thZ2VzL2FkbWluLnNjbQorKysgYi9nbnUvcGFja2FnZXMvYWRtaW4u c2NtCkBAIC0xMzg1LDYgKzEzODUsNyBAQCBhdCBvbmNlIGJhc2VkIG9uIGEgUGVybCByZWd1bGFy IGV4cHJlc3Npb24uIikKICAgICAgICAgICAgICAgICAgICAgICgiYXV0b21ha2UiICxhdXRvbWFr ZSkKICAgICAgICAgICAgICAgICAgICAgICgidXRpbC1saW51eCIgLHV0aWwtbGludXgpKSkgOyBm b3IgJ2NhbCcKICAgICAoaW5wdXRzIGAoKCJjb3JldXRpbHMqIiAsY29yZXV0aWxzKSkpCisgICAg KHByb3BhZ2F0ZWQtaW5wdXRzIGAoKCJzZW5kbWFpbCIgLHNlbmRtYWlsKSkpCiAgICAgKGhvbWUt cGFnZSAiaHR0cHM6Ly93d3cuZ251Lm9yZy9zb2Z0d2FyZS9yb3R0bG9nLyIpCiAgICAgKHN5bm9w c2lzICJMb2cgcm90YXRpb24gYW5kIG1hbmFnZW1lbnQiKQogICAgIChkZXNjcmlwdGlvbgotLSAK Mi4yOS4yCgo= --=-7R7JQZQOKQMDlr1xaSNJ-- From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH] gnu: rottlog: Fix mail reporting. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Dec 2020 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: dftxbs3e Cc: 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160770947430167 (code B ref 45153); Fri, 11 Dec 2020 17:58:02 +0000 Received: (at 45153) by debbugs.gnu.org; 11 Dec 2020 17:57:54 +0000 Received: from localhost ([127.0.0.1]:42870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knmfy-0007qV-0O for submit@debbugs.gnu.org; Fri, 11 Dec 2020 12:57:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knmfw-0007qH-Ad for 45153@debbugs.gnu.org; Fri, 11 Dec 2020 12:57:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51149) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knmfq-0002Zi-Eu; Fri, 11 Dec 2020 12:57:46 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=32878 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knmfp-0008Nn-GW; Fri, 11 Dec 2020 12:57:45 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> Date: Fri, 11 Dec 2020 18:57:44 +0100 In-Reply-To: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> (dftxbs3e@free.fr's message of "Thu, 10 Dec 2020 04:41:29 +0100") Message-ID: <87r1nw444n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, dftxbs3e skribis: > From 6aab4645706f9fe285c253142efe4e9fd40f2c3a Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?L=3DC3=3DA9o=3D20Le=3D20Bouter?=3D > Date: Thu, 10 Dec 2020 04:35:38 +0100 > Subject: [PATCH] gnu: rottlog: Fix mail reporting. > > * gnu/packages/admin.scm (rottlog): > [propagated-inputs]: Add sendmail. > --- > gnu/packages/admin.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm > index 9df14b5ca0..5c22d40d1d 100644 > --- a/gnu/packages/admin.scm > +++ b/gnu/packages/admin.scm > @@ -1385,6 +1385,7 @@ at once based on a Perl regular expression.") > ("automake" ,automake) > ("util-linux" ,util-linux))) ; for 'cal' > (inputs `(("coreutils*" ,coreutils))) > + (propagated-inputs `(("sendmail" ,sendmail))) A better approach would be to avoid the propagated inputs and instead replace the reference to =E2=80=98mail=E2=80=99 (or =E2=80=98sendmail=E2=80= =99?) in the code by a reference to its absolute file name (if it=E2=80=99s =E2=80=98mail=E2=80=99= , I=E2=80=99d suggest picking the =E2=80=98mail=E2=80=99 command from Inetutils.) Thanks, Ludo=E2=80=99. From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> In-Reply-To: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> Resent-From: John Doe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45153@debbugs.gnu.org Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160776284210921 (code B ref 45153); Sat, 12 Dec 2020 08:48:02 +0000 Received: (at 45153) by debbugs.gnu.org; 12 Dec 2020 08:47:22 +0000 Received: from localhost ([127.0.0.1]:43877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko0Yk-0002q4-BX for submit@debbugs.gnu.org; Sat, 12 Dec 2020 03:47:22 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:10549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko0Yg-0002pu-L7 for 45153@debbugs.gnu.org; Sat, 12 Dec 2020 03:47:20 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 0D9CA2003F2; Sat, 12 Dec 2020 09:47:13 +0100 (CET) From: John Doe Date: Sat, 12 Dec 2020 09:46:39 +0100 Message-Id: <20201212084639.29377-1-dftxbs3e@free.fr> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: =?UTF-8?Q?L=C3=A9o?= Le Bouter * gnu/packages/admin.scm (rottlog): [inputs]: Add sendmail. [phases]: Modify 'patch-paths to substitute sendmail command with /gnu/store item. --- gnu/packages/admin.scm | 10 +++++++--- 1 file changed [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 HK_RANDOM_ENVFROM Envelope sender username looks random 0.3 HK_RANDOM_FROM From username looks random -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.27.42.2 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.27.42.2 listed in wl.mailspike.net] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dftxbs3e[at]free.fr) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 SPOOFED_FREEMAIL No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) From: Léo Le Bouter * gnu/packages/admin.scm (rottlog): [inputs]: Add sendmail. [phases]: Modify 'patch-paths to substitute sendmail command with /gnu/store item. --- gnu/packages/admin.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9df14b5ca0..9394545003 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -107,6 +107,7 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages lua) + #:use-module (gnu packages mail) #:use-module (gnu packages man) #:use-module (gnu packages mcrypt) #:use-module (gnu packages mpi) @@ -1343,9 +1344,11 @@ at once based on a Perl regular expression.") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-paths - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (substitute* "rc/rc" - (("/usr/sbin/sendmail") "sendmail")) + (("/usr/sbin/sendmail") + (string-append (assoc-ref inputs "sendmail") + "/usr/sbin/sendmail"))) #t)) (add-after 'unpack 'fix-configure (lambda* (#:key inputs native-inputs #:allow-other-keys) @@ -1384,7 +1387,8 @@ at once based on a Perl regular expression.") (native-inputs `(("texinfo" ,texinfo) ("automake" ,automake) ("util-linux" ,util-linux))) ; for 'cal' - (inputs `(("coreutils*" ,coreutils))) + (inputs `(("coreutils*" ,coreutils) + ("sendmail" ,sendmail))) (home-page "https://www.gnu.org/software/rottlog/") (synopsis "Log rotation and management") (description -- 2.29.2 From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Doe Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter , 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.16078047466245 (code B ref 45153); Sat, 12 Dec 2020 20:26:02 +0000 Received: (at 45153) by debbugs.gnu.org; 12 Dec 2020 20:25:46 +0000 Received: from localhost ([127.0.0.1]:46800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBSb-0001cd-O9 for submit@debbugs.gnu.org; Sat, 12 Dec 2020 15:25:46 -0500 Received: from flashner.co.il ([178.62.234.194]:41454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBSZ-0001cK-6l for 45153@debbugs.gnu.org; Sat, 12 Dec 2020 15:25:43 -0500 Received: from localhost (unknown [31.210.180.46]) by flashner.co.il (Postfix) with ESMTPSA id F1ACF4033F; Sat, 12 Dec 2020 20:25:36 +0000 (UTC) Date: Sat, 12 Dec 2020 22:25:34 +0200 From: Efraim Flashner Message-ID: References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> <20201212084639.29377-1-dftxbs3e@free.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vE7JTD5V4cAVLg7t" Content-Disposition: inline In-Reply-To: <20201212084639.29377-1-dftxbs3e@free.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --vE7JTD5V4cAVLg7t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable If there's no mail server setup on the Guix System machine where does the mail go? On Sat, Dec 12, 2020 at 09:46:39AM +0100, John Doe wrote: > From: L=C3=A9o Le Bouter >=20 > * gnu/packages/admin.scm (rottlog): > [inputs]: Add sendmail. > [phases]: Modify 'patch-paths to substitute sendmail command with > /gnu/store item. > --- > gnu/packages/admin.scm | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) >=20 > diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm > index 9df14b5ca0..9394545003 100644 > --- a/gnu/packages/admin.scm > +++ b/gnu/packages/admin.scm > @@ -107,6 +107,7 @@ > #:use-module (gnu packages libusb) > #:use-module (gnu packages linux) > #:use-module (gnu packages lua) > + #:use-module (gnu packages mail) > #:use-module (gnu packages man) > #:use-module (gnu packages mcrypt) > #:use-module (gnu packages mpi) > @@ -1343,9 +1344,11 @@ at once based on a Perl regular expression.") > =20 > #:phases (modify-phases %standard-phases > (add-after 'unpack 'patch-paths > - (lambda _ > + (lambda* (#:key inputs #:allow-other-keys) > (substitute* "rc/rc" > - (("/usr/sbin/sendmail") "sendmail")) > + (("/usr/sbin/sendmail") > + (string-append (assoc-ref inputs "sendmail") > + "/usr/sbin/sendmail"))) > #t)) > (add-after 'unpack 'fix-configure > (lambda* (#:key inputs native-inputs #:allow-other-k= eys) > @@ -1384,7 +1387,8 @@ at once based on a Perl regular expression.") > (native-inputs `(("texinfo" ,texinfo) > ("automake" ,automake) > ("util-linux" ,util-linux))) ; for 'cal' > - (inputs `(("coreutils*" ,coreutils))) > + (inputs `(("coreutils*" ,coreutils) > + ("sendmail" ,sendmail))) > (home-page "https://www.gnu.org/software/rottlog/") > (synopsis "Log rotation and management") > (description > --=20 > 2.29.2 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --vE7JTD5V4cAVLg7t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/VJz4ACgkQQarn3Mo9 g1HCzhAAlgtuu1KlcLXJiCmF2LnU/rem/L80srEvyObvpu9KBMWEQORnJP945Vkb 8cr6nZq5AvRlPYeJ+q+SrAF51b4x+ukB8THeOcq+4WjnsSxAhGPX4kIQGi0OlVdW e/UIpFga2QK9jOVIU5gnGVX1eN7OcfI4zM/yi+uy1HNbWY47438riPNaLRpzy16c UVYTv61QrfoO8u7QOsmk+Mme8xG3oTxbXCJ59sqKAAw2xqZ5OpY/9YCCQitP1GZ9 tUBRG0zZRUProdCxocpt7xPwSTqXZbfvCNSgt3Wn5PqO6DWUOObacLdkjnBFFK3t rbXkP5eaBYLxhNm9SnhqRp9X8FxnQHXUi35qwSzprMKpRINHopEnZATdvZBOn6xS S263KfRjlI/rbUXKvBtRxeDd+i22//wbDvyhmmvO1+n7VgAeDdoA1g9PIz0vqFDK PVuqe6MbYWFKKINjE0L/CmViVZKo6yKgqDEGTw4PVsYWoINHw+EbZ/7l8HiFqwXH 2Ww7WXkQzsng0maXD8iU4yn0LdCn5lpJfyLyo5CAgLphL4pmqPnFkQXvDZ3mp5Hd rXM9crRl+vqoXfBtgmaWhGwXKVAm0byqVQKDW4fLgKQeMpHFifVQmcpa+PNvAeLD /YRRwKShcvaEJGqyhGd8TgK8/rXdq29EKDfaE4GlV1C7SH8ApUA= =O6vt -----END PGP SIGNATURE----- --vE7JTD5V4cAVLg7t-- From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. Resent-From: dftxbs3e Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160780616016909 (code B ref 45153); Sat, 12 Dec 2020 20:50:02 +0000 Received: (at 45153) by debbugs.gnu.org; 12 Dec 2020 20:49:20 +0000 Received: from localhost ([127.0.0.1]:46871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBpP-0004Oe-OP for submit@debbugs.gnu.org; Sat, 12 Dec 2020 15:49:19 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:56537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koBpO-0004OW-A4 for 45153@debbugs.gnu.org; Sat, 12 Dec 2020 15:49:18 -0500 Received: from [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6] (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id D27582003D0 for <45153@debbugs.gnu.org>; Sat, 12 Dec 2020 21:49:15 +0100 (CET) Message-ID: <08f072066189b6e55b4b38fa2cee860ae6dadfbf.camel@free.fr> From: dftxbs3e Date: Sat, 12 Dec 2020 21:49:15 +0100 In-Reply-To: References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> <20201212084639.29377-1-dftxbs3e@free.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Sat, 2020-12-12 at 22:25 +0200, Efraim Flashner wrote: > If there's no mail server setup on the Guix System machine where does > the mail go? Not sure, I don't know how rottlog works and what parameters it gives to sendmail. Can emails be sent without a mail server? Like when they are sent to a UNIX account for example? That's what I would guess it does, write mail to /var/mail/root or something. Actually fixing mail reporting might need additional patching, I focused on fixing the issue I met and had logs of. From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Dec 2020 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Doe Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter , 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160873578510647 (code B ref 45153); Wed, 23 Dec 2020 15:04:02 +0000 Received: (at 45153) by debbugs.gnu.org; 23 Dec 2020 15:03:05 +0000 Received: from localhost ([127.0.0.1]:53805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks5fN-0002le-3e for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:03:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks5fJ-0002l9-Jh for 45153@debbugs.gnu.org; Wed, 23 Dec 2020 10:03:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks5fD-00006V-Ae; Wed, 23 Dec 2020 10:02:55 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46042 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ks5fC-0002zq-8c; Wed, 23 Dec 2020 10:02:54 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> <20201212084639.29377-1-dftxbs3e@free.fr> Date: Wed, 23 Dec 2020 16:02:51 +0100 In-Reply-To: <20201212084639.29377-1-dftxbs3e@free.fr> (John Doe's message of "Sat, 12 Dec 2020 09:46:39 +0100") Message-ID: <87sg7wwoo4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! John Doe skribis: > From: L=C3=A9o Le Bouter > > * gnu/packages/admin.scm (rottlog): > [inputs]: Add sendmail. > [phases]: Modify 'patch-paths to substitute sendmail command with > /gnu/store item. [...] > + (("/usr/sbin/sendmail") > + (string-append (assoc-ref inputs "sendmail") > + "/usr/sbin/sendmail"))) I thought this was a typo and then realized that our =E2=80=98sendmail=E2= =80=99 package is this broken, due to an incorrect use of =E2=80=98DESTDIR=E2=80=99. The patch below is an attempt to fix that but some of the files are silently not getting installed. Anyone has ideas here? Anyhow, can we instead use =E2=80=98mail=E2=80=99 from =E2=80=98mailutils= =E2=80=99 instead? (I wrongfully mentioned Inetutils earlier, sorry for the confusion.) Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index f85713433e..1f06450e6a 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2759,23 +2759,39 @@ powerful user customization features.") (("SHELL=/bin/sh") (string-append "SHELL=" (which "sh")))) #t)) (replace 'configure - (lambda _ + (lambda* (#:key outputs #:allow-other-keys) ;; Render harmless any attempts to chown or chgrp (substitute* "devtools/bin/install.sh" (("owner=\\$2") "owner=''") (("group=\\$2") "group=''")) - (with-output-to-file "devtools/Site/site.config.m4" - (lambda () - (format #t " + (let ((out (assoc-ref outputs "out"))) + (with-output-to-file "devtools/Site/site.config.m4" + (lambda () + ;; See 'devtools/M4/UNIX/defines.m4' for the list of + ;; installation directories. + (format #t " define(`confCC', `gcc') define(`confOPTIMIZE', `-g -O2') define(`confLIBS', `-lresolv') define(`confINSTALL', `~a/devtools/bin/install.sh') define(`confDEPEND_TYPE', `CC-M') define(`confINST_DEP', `') -" (getcwd)))) + +define(`confMBINDIR', `~a/bin') +define(`confUBINDIR', `~a/bin') +define(`confSBINDIR', `~a/sbin') +define(`confEBINDIR', `~a/libexec') +define(`confMANROOT', `~a/share/man')~%" + (getcwd) + out out out out out)))) + + (substitute* "cf/cf/Makefile" + (("^MAILDIR=.*") + (string-append "MAILDIR = " + (assoc-ref outputs "out") + "/etc/mail\n"))) #t)) (replace 'build (lambda _ @@ -2787,10 +2803,9 @@ define(`confINST_DEP', `') (add-before 'install 'pre-install (lambda _ (let ((out (assoc-ref %outputs "out"))) - (mkdir-p (string-append out "/usr/bin")) - (mkdir-p (string-append out "/usr/sbin")) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/sbin")) (mkdir-p (string-append out "/etc/mail")) - (setenv "DESTDIR" out) (with-directory-excursion "cf/cf" (invoke "sh" "Build" "install-cf")) #t)))) --=-=-=-- From unknown Fri Sep 05 11:01:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. Resent-From: Leo Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Dec 2020 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160873678320338 (code B ref 45153); Wed, 23 Dec 2020 15:20:01 +0000 Received: (at 45153) by debbugs.gnu.org; 23 Dec 2020 15:19:43 +0000 Received: from localhost ([127.0.0.1]:53842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks5vT-0005Hx-9g for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:19:43 -0500 Received: from mail.zaclys.net ([178.33.93.72]:60895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks5vP-0005Hf-Pp for 45153@debbugs.gnu.org; Wed, 23 Dec 2020 10:19:41 -0500 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 0BNFJWsb035665 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 23 Dec 2020 16:19:33 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 0BNFJWsb035665 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1608736773; bh=qJJKQtjtKONwLOVYTC44dlQHU4lbUYUIpBxatftG9Us=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=lGWV6grFRR8bGrlX9uYIFaYjJESmfHE2K15LXfsK7kNS5aXlHfEPZm2NZ4sMPIDjT eh2+UD8BH8+D9uRk2lwVpCtk4qPagWjMMlg+alCsisujlDzIn4xB8QCeB+cO1jV8xC JWd0PAQ5EImVEV4fWtFJbNxn7/JWSlwKzV2HNRXg= Message-ID: <709c31cd9a6df5372cffb6fec9c8117d269e4c0a.camel@zaclys.net> From: Leo Le Bouter Date: Wed, 23 Dec 2020 16:19:26 +0100 In-Reply-To: <87sg7wwoo4.fsf@gnu.org> References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> <20201212084639.29377-1-dftxbs3e@free.fr> <87sg7wwoo4.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-gV+35jXDBl2Pf/ftve3b" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-gV+35jXDBl2Pf/ftve3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-12-23 at 16:02 +0100, Ludovic Court=C3=A8s wrote: > Hi! Hello! > I thought this was a typo and then realized that our =E2=80=98sendmail=E2= =80=99 > package > is this broken, due to an incorrect use of =E2=80=98DESTDIR=E2=80=99. Ah! Well I did not notice that as something wrong outright but now that you say that yes I see the correct behavior :-) > The patch below is an attempt to fix that but some of the files are > silently not getting installed. Anyone has ideas here? Will take a look! > Anyhow, can we instead use =E2=80=98mail=E2=80=99 from =E2=80=98mailutils= =E2=80=99 instead? (I > wrongfully mentioned Inetutils earlier, sorry for the confusion.) Is it going to be compatible? If so then I'll do it! > Thanks, > Ludo=E2=80=99. Thank *you*! :-) --=-gV+35jXDBl2Pf/ftve3b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAl/jX/4ACgkQRaix6GvN EKbSVw/8DLzF7BskMavWaNo5Fo50pv4SjqbOLove+zrLCYTV+/HjMp2fedLxCv90 CUc2QY2SvE/qfKnokRTlXXrbfIYcoFl+iNaV0uUoUEyDoVEOWCH104O4pAdTK/Kg VKruQ24idTwPY/8O3o5ZcdWz306vG0Ssd636s8yiHQiKyK+h1sBPh2F0BZ815pHR Y2OPvjCTTyIGMWX3DUdyl6UImaKJmBJrInMd6jT2KFCXOu68+enBnA0YMkWWnhbV cbbauhpGo36W9mfDrqLKugOQAkvjDNW//QfEVbMdxX6VJhLVS6hitTXMjBQ6h7+E 2JP2pcBw72YvE2LDFvQz7YKW76MgTlL0Q2vw+nfONRDmhZB3Bs8g4O3VZIzC/CGk GjjLO51h2WfTxLHbj6xqIonyCvxUgraotZ4J2pQvRxPx1O9apT16dN7IMnJ0aO79 q4KOYSH9WyumnYpCANlbs6ldRQDOQ1WzKn7pTvoyc8Bt/YLZUFj1SxOjPE6FYrFw Ecq+Dk0r1AqBqWpytkSxY/Gq3fVZxMYuEgiuWRBq3gRWDkB0Faj3kCnM2O1sLapt hvvr5pUCI6l7sUhJJ1lpTrq2Vyu4+xYIV/3nNuqex5TNAMEzBgO/iFmZzVvjy7QM IDO+T7HWa/tKfRDGu2+U8iOQzstktjh/Tll/NZRvt3OWhcM6H3U= =q7lG -----END PGP SIGNATURE----- --=-gV+35jXDBl2Pf/ftve3b-- From unknown Fri Sep 05 11:01:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: dftxbs3e Subject: bug#45153: closed (Re: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting.) Message-ID: References: <87ft3rthh5.fsf@gnu.org> <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> X-Gnu-PR-Message: they-closed 45153 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 45153@debbugs.gnu.org Date: Sun, 27 Dec 2020 15:08:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1609081681-12866-1" This is a multi-part message in MIME format... ------------=_1609081681-12866-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45153: [PATCH] gnu: rottlog: Fix mail reporting. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45153@debbugs.gnu.org. --=20 45153: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45153 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1609081681-12866-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45153-done) by debbugs.gnu.org; 27 Dec 2020 15:08:00 +0000 Received: from localhost ([127.0.0.1]:33243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktXeJ-0003LI-VO for submit@debbugs.gnu.org; Sun, 27 Dec 2020 10:08:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktXeI-0003L6-A4 for 45153-done@debbugs.gnu.org; Sun, 27 Dec 2020 10:07:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50254) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktXeC-0004XS-IJ; Sun, 27 Dec 2020 10:07:52 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51560 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ktXeB-00019F-SM; Sun, 27 Dec 2020 10:07:52 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Le Bouter Subject: Re: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> <20201212084639.29377-1-dftxbs3e@free.fr> <87sg7wwoo4.fsf@gnu.org> <709c31cd9a6df5372cffb6fec9c8117d269e4c0a.camel@zaclys.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 =?utf-8?Q?Niv=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 27 Dec 2020 16:07:50 +0100 In-Reply-To: <709c31cd9a6df5372cffb6fec9c8117d269e4c0a.camel@zaclys.net> (Leo Le Bouter's message of "Wed, 23 Dec 2020 16:19:26 +0100") Message-ID: <87ft3rthh5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45153-done Cc: 45153-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Leo Le Bouter skribis: >> I thought this was a typo and then realized that our =E2=80=98sendmail= =E2=80=99 >> package >> is this broken, due to an incorrect use of =E2=80=98DESTDIR=E2=80=99. > > Ah! Well I did not notice that as something wrong outright but now that > you say that yes I see the correct behavior :-) > >> The patch below is an attempt to fix that but some of the files are >> silently not getting installed. Anyone has ideas here? > > Will take a look! Great. >> Anyhow, can we instead use =E2=80=98mail=E2=80=99 from =E2=80=98mailutil= s=E2=80=99 instead? (I >> wrongfully mentioned Inetutils earlier, sorry for the confusion.) > > Is it going to be compatible? If so then I'll do it! Yes, I think so, again provided there=E2=80=99s a mail setup on the machine. I went ahead and made this change since it was a minor change compared to the patch you had sent earlier. Thanks! Ludo=E2=80=99. ------------=_1609081681-12866-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Dec 2020 03:41:39 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpm-0003bl-Mx for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:39756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCpk-0003bd-Pl for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:41:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpk-0001DU-DA for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:36 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:27898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCpi-0004kL-8n for guix-patches@gnu.org; Wed, 09 Dec 2020 22:41:35 -0500 Received: from [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6] (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 88849200390 for ; Thu, 10 Dec 2020 04:41:29 +0100 (CET) Message-ID: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> Subject: [PATCH] gnu: rottlog: Fix mail reporting. From: dftxbs3e To: guix-patches@gnu.org Date: Thu, 10 Dec 2020 04:41:29 +0100 Content-Type: multipart/mixed; boundary="=-7R7JQZQOKQMDlr1xaSNJ" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: none client-ip=212.27.42.2; envelope-from=dftxbs3e@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.341, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.976 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-7R7JQZQOKQMDlr1xaSNJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hello! I was getting errors like this in my GNU Guix System installation: # cat /var/log/mcron.log /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found /gnu/store/8q2i735qhdivn5pn87b6ay7z16xnf6py-rottlog- 0.72.2/sbin/rottlog: line 1596: sendmail: command not found I am guessing this means sendmail needs to be added as propagated- inputs to ensure it is available to rottlog at runtime. Attached patch with these changes! Thank you! --=-7R7JQZQOKQMDlr1xaSNJ Content-Disposition: attachment; filename="0001-gnu-rottlog-Fix-mail-reporting.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0001-gnu-rottlog-Fix-mail-reporting.patch"; charset="UTF-8" RnJvbSA2YWFiNDY0NTcwNmY5ZmUyODVjMjUzMTQyZWZlNGU5ZmQ0MGYyYzNhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/TD1DMz1BOW89MjBMZT0yMEJvdXRlcj89IDxs bGUtYm91dEB6YWNseXMubmV0PgpEYXRlOiBUaHUsIDEwIERlYyAyMDIwIDA0OjM1OjM4ICswMTAw ClN1YmplY3Q6IFtQQVRDSF0gZ251OiByb3R0bG9nOiBGaXggbWFpbCByZXBvcnRpbmcuCgoqIGdu dS9wYWNrYWdlcy9hZG1pbi5zY20gKHJvdHRsb2cpOgpbcHJvcGFnYXRlZC1pbnB1dHNdOiBBZGQg c2VuZG1haWwuCi0tLQogZ251L3BhY2thZ2VzL2FkbWluLnNjbSB8IDEgKwogMSBmaWxlIGNoYW5n ZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2FkbWluLnNjbSBi L2dudS9wYWNrYWdlcy9hZG1pbi5zY20KaW5kZXggOWRmMTRiNWNhMC4uNWMyMmQ0MGQxZCAxMDA2 NDQKLS0tIGEvZ251L3BhY2thZ2VzL2FkbWluLnNjbQorKysgYi9nbnUvcGFja2FnZXMvYWRtaW4u c2NtCkBAIC0xMzg1LDYgKzEzODUsNyBAQCBhdCBvbmNlIGJhc2VkIG9uIGEgUGVybCByZWd1bGFy IGV4cHJlc3Npb24uIikKICAgICAgICAgICAgICAgICAgICAgICgiYXV0b21ha2UiICxhdXRvbWFr ZSkKICAgICAgICAgICAgICAgICAgICAgICgidXRpbC1saW51eCIgLHV0aWwtbGludXgpKSkgOyBm b3IgJ2NhbCcKICAgICAoaW5wdXRzIGAoKCJjb3JldXRpbHMqIiAsY29yZXV0aWxzKSkpCisgICAg KHByb3BhZ2F0ZWQtaW5wdXRzIGAoKCJzZW5kbWFpbCIgLHNlbmRtYWlsKSkpCiAgICAgKGhvbWUt cGFnZSAiaHR0cHM6Ly93d3cuZ251Lm9yZy9zb2Z0d2FyZS9yb3R0bG9nLyIpCiAgICAgKHN5bm9w c2lzICJMb2cgcm90YXRpb24gYW5kIG1hbmFnZW1lbnQiKQogICAgIChkZXNjcmlwdGlvbgotLSAK Mi4yOS4yCgo= --=-7R7JQZQOKQMDlr1xaSNJ-- ------------=_1609081681-12866-1--