From owner-freebsd-questions Sat Nov 16 2:36:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C035A37B401 for ; Sat, 16 Nov 2002 02:36:56 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3066843E9C for ; Sat, 16 Nov 2002 02:36:55 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAGAarx2009818 for ; Sat, 16 Nov 2002 10:36:53 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAGAalxu009817 for freebsd-questions@FreeBSD.ORG; Sat, 16 Nov 2002 10:36:47 GMT Date: Sat, 16 Nov 2002 10:36:47 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail local time adjustment Message-ID: <20021116103647.GB9351@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ; 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