Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 10:36:47 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail local time adjustment
Message-ID:  <20021116103647.GB9351@happy-idiot-talk.infracaninophi>
In-Reply-To: <Pine.BSF.4.44.0211152004250.26545-100000@nixfusion.com>
References:  <Pine.BSF.4.44.0211152004250.26545-100000@nixfusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 15, 2002 at 08:18:54PM -0800, Casey Scott wrote:
 
> 	Does anyone know why sendmail does not adjust the received time on
> email to the local time? The receive times on emails from this server are
> sa they come from the remote server. for example:

Because RFC 822 and nowadays RFC 2822
(http://ftp.rfc-editor.org/in-notes/rfc2822.txt) says that the format
of a date-stamp in an e-mail message can contain any time zone
specification, and it specifies exactly what header lines will be
added to the message as it passes through a mail relay.  It certainly
does not specify that one mail relay may alter the header lines added
by another one.

> Received: from mail.novasavingsbank.com ([141.158.254.7])
>         by nixfusion.com (8.12.6/8.12.6) with ESMTP id gAFN466Q026243
>         for <casey@nixfusion.com>; Fri, 15 Nov 2002 15:04:07 -0800 (PST)
>         (envelope-from info@mail.novasavingsbank.com)
> Date: Fri, 15 Nov 2002 18:08:50 -0500
> Message-Id: <200211151808.AA138150156@mail.novasavingsbank.com>
> Mime-Version: 1.0
> 
> 
> -----
> 
> This message is reported in pine as arrving 3 hours before it did! All
> mail clients are effected. The server is set for PST.

Both of those timestamps are within a few minutes of each other.  The
fact that the sending mail client (which often generates the 'Date:'
header) appears to be running Eastern Standard Time while the MTA it
sends the message to is running PST is hardly earth shattering.

You might be horrified to see that this message apparently arrives 8
hours before it was sent.  This is a natural consequence of the
spherical shape of the planet.  If the date stamps in your e-mails are
unacceptable to you, perhaps one solution would be moving to a flat
Earth...  

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021116103647.GB9351>