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: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Tomas Volf <~@wolfsden.cz>, Andreas Enge <andreas <at> enge.fr>, Gabriel Wicki <gabriel <at> erlikon.ch>, 77501 <at> debbugs.gnu.org, Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [bug#77501] [PATCH] Log OpenSMTPd to /var/log/mail.log via a configurable option. (Closes: #77501)
Date: Mon, 14 Apr 2025 09:52:53 +0900
Hi Andreas,

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

> Andreas Enge <andreas <at> enge.fr> skribis:
>
>> The "-d" flag passed to #$smtpd prevents it from "daemonizing". So we
>> concluded that the #:pid-file thing was not needed (maybe it is needed,
>> but then the documentation should be adapted).

From my understanding, a pid file is still useful for *synchronization*
reasons, whether the service daemonizes or not.  It's a token that lets
the service notify the init system that "OK, I've done my basic startup,
I'm ready to receive client requests".

That's been progressively replaced by socket activation in the systemd
world (and we support that via make-systemd-constructor, though I've
found some issue with it when using TLS connections -- to be reported
separately).

-- 
Thanks,
Maxim




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.