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


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

From: Andreas Enge <andreas <at> enge.fr>
To: Felix Lechner <felix.lechner <at> lease-up.com>
Cc: Gabriel Wicki <gabriel <at> erlikon.ch>, 77501 <at> debbugs.gnu.org
Subject: Re: OpenSMTP logging
Date: Thu, 3 Apr 2025 20:55:45 +0200
Hello,

Am Thu, Apr 03, 2025 at 11:13:50AM -0700 schrieb Felix Lechner via:
> P.S. I linked to my Debbugs clone since Mumi did not pick it up.

this was probably just a question of time; I can see it now on issues.

> I can confirm that logging in OpenSMTPd is broken.  I fixed it locally
> with the patch in Bug#77501. [1]

This looks good to me as someone who knows very little about services...
I have looked at the shepherd manual, and in
   https://www.gnu.org/software/shepherd/manual/shepherd.html#Service-De_002d-and-Constructors
it says the following about make-fork-exec-constructor:
"Note: This will not work as expected if the process “daemonizes”
(forks); in that case, you will need to pass #:pid-file, as explained
below."

Now that you do not daemonize, is #:pid-file still needed or useful?

#:log-file "/var/log/maillog"
And is this the good file name? Not mail.log?

Andreas





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.