Postfix uses the RFC 5322 date/time format, you say. On the subject of RFC 5322 date/time format, I can find the following in the ‘date’ man page:

 -R, --rfc-email
              output date and time in RFC 5322 format.  Example: Mon, 14 Aug 2006 02:34:56 -0600

And when I enter the command ‘date -R’ on my computer, I get the following output:
~$ date -R
Sun, 15 Dec 2024 15:14:38 +0100

And the Date header of an email shows:

Date: Sun, 15 Dec 2024 07:57:12 -0500 (EST)

However, Postfix displays the American date notation, which is not a specification in RFC 5322. Is that correct? I'm asking this to understand this.

        Andreas

Am 15.12.2024 um 13:57 schrieb Wietse Venema via Postfix-users:
Andreas Kuhlen via Postfix-users:
Hello,

currently, some dates appear in American format. As can be seen at the
end of the line below:

2024-12-15T09:48:57.200203+01:00 mail postfix/anvil[919910]: statistics:
max cache size 1 at Dec 15 09:45:36
Postfix uses the RFC 5322 date-time format. If someone wants to
contribute code that works across open and closed-source operating
systems, then I will consider it (that's another way of sayong that
I am not interested in doing it myself, there are harder things that
need attention).

        Wietse


Is it possible to change this so that it is displayed as ?day month time??
Is this a question of the rsyslog settings?

I would be grateful for help with this.

Kind regards

Andreas

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to