On Fri, May 31, 2002 at 10:03:41AM +0200, Henning Brauer wrote:
> On Thu, May 30, 2002 at 05:27:03PM -0400, Ed Abrams wrote:
> > Suppose a user wants to know when his email was received, and that user is
> > using a web UI for reading email. Suppose further that the web UI reads the
> > Received date from the last header, the one that qmail inserts.
>
> wrong.
> The UI sould use the Date: header.
> Received: headers have no relevance for the enduser.
> before continueing this senseless discussion search the main qmail's list
> for this. It;s pretty well and ooooofffffteen explained why these headers
> are UTC.
>
And if you still need localtimes, there is a patch for stock qmail which
works also for qmail-ldap.
Just a side note: it does not matter if the timestamp is UTC or localtime
if you convert them you get the equal timestamps. If your mua has problems
with UTC then the mua is broken.
2nd side note: to get the recived time it is easier to parse the Maildir
filename.
e.g.: 1022832555.16150.diehard,S=3137:2,S
^^^^^^^^^^ ^^^ ^^^^^ ^^^^ ^^^^
timestamp pid host size flags
--
:wq Claudio