OpenSMTPD ignores the system time zone in mail header and logfile

2022-11-03 Thread Nils
Hello, I have a problem with OpenSMTPD (version 6.8.0p2) on my Linux installation (Void Linux distribution). OpenSMTPD seems to write times in UTC instead of my configured system time zone (Europe/Berlin). Example header from a local delivered mail: From abc Wed Sep 28 21:09:55 2022 Retur

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2024-02-27 Thread Nils
Thomas L. schrieb am 10.12.2022 19:53 (GMT +01:00): > On Sat, 10 Dec 2022 19:03:23 +0100 (CET) > "Nils" wrote: >> And why does this problem occur in Linux, but *not* in OpenBSD? >> > > log_init calls tzset(3), which reads the timezone data early. not sure > why this does not work on Linux. > >

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-11-04 Thread Stuart D Gathman
On Thu, 3 Nov 2022, Nils wrote: The problem is probably Void Linux specific, since I don't have this problem on a OpenBSD installation. P.S.: This is a cross-post of https://github.com/void-linux/void-packages/issues/39918 I did some research and reported on the github issue. Summary: Th

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-11-04 Thread Giovanni Bechis
On Fri, Nov 04, 2022 at 12:51:17PM -0400, Stuart D Gathman wrote: > On Thu, 3 Nov 2022, Nils wrote: > > > The problem is probably Void Linux specific, since I don't have this > > problem on a OpenBSD installation. > > > P.S.: This is a cross-post of > > https://github.com/void-linux/void-package

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-12-10 Thread Nils
Stuart D Gathman schrieb am 04.11.2022 17:51 (GMT +01:00): > On Thu, 3 Nov 2022, Nils wrote: > >> The problem is probably Void Linux specific, since I don't have this >> problem on a OpenBSD installation. > >> P.S.: This is a cross-post of >> https://github.com/void-linux/void-packages/issues/39

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-12-10 Thread Thomas L.
On Sat, 10 Dec 2022 19:03:23 +0100 (CET) "Nils" wrote: > And why does this problem occur in Linux, but *not* in OpenBSD? > log_init calls tzset(3), which reads the timezone data early. not sure why this does not work on Linux.

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-12-12 Thread Nils
Thomas L. schrieb am 10.12.2022 19:53 (GMT +01:00): > On Sat, 10 Dec 2022 19:03:23 +0100 (CET) > "Nils" wrote: >> And why does this problem occur in Linux, but *not* in OpenBSD? >> > > log_init calls tzset(3), which reads the timezone data early. not sure > why this does not work on Linux. > >

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-12-12 Thread Thomas L.
On Mon, 12 Dec 2022 20:49:06 +0100 (CET) "Nils" wrote: > O.k., thanks. But has tzset() also effect on the forked processes, i. > e. is the timezone data then also available for the forked processes? afaik the processes are created via fork+exec to rerandomize the address space layout. so all proc