GNU bug report logs - #75819
[PATCH 0/3] Fix sending emails from mcron

Previous Next

Package: guix-patches;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Fri, 24 Jan 2025 23:45:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tomas Volf <~@wolfsden.cz>
To: 75819 <at> debbugs.gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [bug#75819] [PATCH 1/3] gnu: mcron: Use correct sendmail.
Date: Sat, 25 Jan 2025 00:46:36 +0100
When the crons are running, /run/privileged/bin is not in the $PATH, hence the
default of "sendmail -t" does not work.

* gnu/packages/guile-xyz.scm (mcron)[arguments]<#:configure-flags>: Set
sendmail path.

Change-Id: I86ffa5ddf26209acd8f706394ac13e63dcf4e0ec
---
 gnu/packages/guile-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index b59d19e9d8..79bd80135b 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3288,6 +3288,9 @@ (define-public mcron
     (build-system gnu-build-system)
     (arguments
      (list
+      #:configure-flags
+      #~(list
+         "--with-sendmail=/run/privileged/bin/sendmail -t")
       #:phases #~(modify-phases %standard-phases
                    (add-before 'check 'adjust-tests
                      (lambda _
-- 
2.47.1





This bug report was last modified 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.