From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0NbrHJYn1V+EEAAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 20:27:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGfBGJYn1V84OAAA1q6Kng (envelope-from ) for ; Sat, 12 Dec 2020 20:27:02 +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 066D494062D for ; Sat, 12 Dec 2020 20:27:02 +0000 (UTC) Received: from localhost ([::1]:60258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koBTo-0007qs-Ka for larch@yhetil.org; Sat, 12 Dec 2020 15:27:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koBSs-0007py-N5 for guix-patches@gnu.org; Sat, 12 Dec 2020 15:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koBSs-0005ya-G4 for guix-patches@gnu.org; Sat, 12 Dec 2020 15:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koBSs-0001dI-Ca for guix-patches@gnu.org; Sat, 12 Dec 2020 15:26:02 -0500 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 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-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: , Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter , 45153@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.90 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 066D494062D X-Spam-Score: -3.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: qn/bn1m0xFZq --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--