Andreas Kuhlen via Postfix-users:
> 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.

The date-time format in message headers is defined in RFC 5322
(message formats), and cited in RFC 5321 (SNTP protocol). 

Protocols exist to make systems interoperable, instead of islands
with their own incompatible data formats.

The date-time format of anvil(8) time stamps is relevant only for
the system where they are logged, and thus the format cn be changed
without affecting interoperability.

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

Reply via email to