GNU bug report logs - #71613
[PATCH] Enable the enqueuing of offline messages by OpenSMTPd.

Previous Next

Package: guix-patches;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Mon, 17 Jun 2024 16:17:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: guix-patches <at> gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH] Enable the enqueuing of offline messages by OpenSMTPd.
Date: Mon, 17 Jun 2024 09:15:48 -0700
Change-Id: I6da8c3650be66f7e2297ea6174a66b7f0b1bc0c0
---
 gnu/packages/mail.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d853fab4d3..29b727eaaa 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3293,6 +3293,10 @@ (define-public opensmtpd
          ;; Fix some incorrectly hard-coded external tool file names.
          (add-after 'unpack 'patch-FHS-file-names
            (lambda _
+             ;; avoids warning smtpd: couldn't enqueue offline message
+             ;; smtpctl exited abnormally
+             (substitute* "usr.sbin/smtpd/smtpd.h"
+               (("/usr/bin/smtpctl") "/run/setuid-programs/smtpctl"))
              (substitute* "usr.sbin/smtpd/smtpctl.c"
                ;; ‘gzcat’ is auto-detected at compile time, but ‘cat’ isn't.
                (("/bin/cat") (which "cat")))

base-commit: 71c678a16aae416298a0e3fa322b425315bb7b00
-- 
2.41.0





This bug report was last modified 320 days ago.

Previous Next


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