GNU bug report logs - #77501
[PATCH] Restore logging of OpenSMTPd to /var/log/maillog.

Previous Next

Package: guix-patches;

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

Date: Thu, 3 Apr 2025 18:07:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: bug#77501: closed (Re: [bug#77501] [PATCH] Log OpenSMTPd to
 /var/log/mail.log via a configurable option. (Closes: #77501))
Date: Thu, 10 Apr 2025 13:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77501: [PATCH] Restore logging of OpenSMTPd to /var/log/maillog.

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 77501 <at> debbugs.gnu.org.

-- 
77501: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77501
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Tomas Volf <~@wolfsden.cz>, Gabriel Wicki <gabriel <at> erlikon.ch>,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Felix Lechner <felix.lechner <at> lease-up.com>, 77501-done <at> debbugs.gnu.org
Subject: Re: [bug#77501] [PATCH] Log OpenSMTPd to /var/log/mail.log via a
 configurable option. (Closes: #77501)
Date: Thu, 10 Apr 2025 15:41:52 +0200
I have added a commit message and a copyright header, turned the list
into one line and pushed.

Thanks to all!

Andreas


[Message part 3 (message/rfc822, inline)]
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] Restore logging of OpenSMTPd to /var/log/maillog.
Date: Thu,  3 Apr 2025 11:04:28 -0700
Please see this thread for details:

    https://lists.gnu.org/archive/html/help-guix/2025-04/msg00009.html

Change-Id: I485e040d680ccb39fa62e49d2e6ea916f047972c
---
 gnu/services/mail.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index b9a61163d5..5a627dbbaf 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1742,8 +1742,11 @@ (define (opensmtpd-shepherd-service config)
            (documentation "Run the OpenSMTPD daemon.")
            (start (let ((smtpd (file-append package "/sbin/smtpd")))
                     #~(make-forkexec-constructor
-                       (list #$smtpd "-f" #$config-file)
-                       #:pid-file "/var/run/smtpd.pid")))
+                       (list #$smtpd
+                             "-d"
+                             "-f" #$config-file)
+                       #:pid-file "/var/run/smtpd.pid"
+                       #:log-file "/var/log/maillog")))
            (stop #~(make-kill-destructor))))))
 
 (define %opensmtpd-accounts

base-commit: 52ce48e754a77675da69e14d8f0dfa5fb76539ef
-- 
2.48.1




This bug report was last modified 31 days ago.

Previous Next


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